aboutsummaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/bitmain/bm1880-sophon-edge.dts
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm64/boot/dts/bitmain/bm1880-sophon-edge.dts')
-rw-r--r--arch/arm64/boot/dts/bitmain/bm1880-sophon-edge.dts51
1 files changed, 51 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/bitmain/bm1880-sophon-edge.dts b/arch/arm64/boot/dts/bitmain/bm1880-sophon-edge.dts
index 22baf7a7a216..1a9f1c734be8 100644
--- a/arch/arm64/boot/dts/bitmain/bm1880-sophon-edge.dts
+++ b/arch/arm64/boot/dts/bitmain/bm1880-sophon-edge.dts
@@ -26,9 +26,39 @@
device_type = "memory";
reg = <0x1 0x00000000 0x0 0x40000000>; // 1GB
};
+
+ reg_1p8v: regulator-1p8v {
+ compatible = "regulator-fixed";
+ regulator-name = "fixed-1.8V";
+ regulator-min-microvolt = <1800000>;
+ regulator-max-microvolt = <1800000>;
+ regulator-always-on;
+ };
+
+ reg_3p3v: regulator-3p3v {
+ compatible = "regulator-fixed";
+ regulator-name = "fixed-3.3V";
+ regulator-min-microvolt = <3300000>;
+ regulator-max-microvolt = <3300000>;
+ regulator-always-on;
+ };
};
&pinctrl {
+ pinctrl_emmc_default: pinctrl-emmc-default {
+ pinmux {
+ groups = "emmc_grp";
+ function = "emmc";
+ };
+ };
+
+ pinctrl_sdio_default: pinctrl-sdio-default {
+ pinmux {
+ groups = "sdio_grp";
+ function = "sdio";
+ };
+ };
+
pinctrl_uart0_default: pinctrl-uart0-default {
pinmux {
groups = "uart0_grp";
@@ -51,6 +81,27 @@
};
};
+&emmc {
+ status = "okay";
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_emmc_default>;
+ non-removable;
+ no-sdio;
+ no-sd;
+ vmmc-supply = <&reg_3p3v>;
+ vqmmc-supply = <&reg_1p8v>;
+};
+
+&sd {
+ status = "okay";
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_sdio_default>;
+ no-sdio;
+ no-mmc;
+ vmmc-supply = <&reg_3p3v>;
+ vqmmc-supply = <&reg_3p3v>;
+};
+
&uart0 {
status = "okay";
// clocks = <&uart_clk>;