Commit fd51baee authored by Vladimir Barinov's avatar Vladimir Barinov Committed by Simon Horman

arm64: dts: m3ulcb: enable SDHI2

This supports SDHI2 for M3ULCB onboard eMMC
Signed-off-by: default avatarVladimir Barinov <vladimir.barinov@cogentembedded.com>
Signed-off-by: default avatarSimon Horman <horms+renesas@verge.net.au>
parent 5be54db8
...@@ -55,6 +55,24 @@ key-1 { ...@@ -55,6 +55,24 @@ key-1 {
}; };
}; };
reg_1p8v: regulator0 {
compatible = "regulator-fixed";
regulator-name = "fixed-1.8V";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
regulator-boot-on;
regulator-always-on;
};
reg_3p3v: regulator1 {
compatible = "regulator-fixed";
regulator-name = "fixed-3.3V";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
regulator-boot-on;
regulator-always-on;
};
vcc_sdhi0: regulator-vcc-sdhi0 { vcc_sdhi0: regulator-vcc-sdhi0 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
...@@ -113,6 +131,18 @@ sdhi0_pins_uhs: sd0_uhs { ...@@ -113,6 +131,18 @@ sdhi0_pins_uhs: sd0_uhs {
function = "sdhi0"; function = "sdhi0";
power-source = <1800>; power-source = <1800>;
}; };
sdhi2_pins: sd2 {
groups = "sdhi2_data8", "sdhi2_ctrl";
function = "sdhi2";
power-source = <3300>;
};
sdhi2_pins_uhs: sd2_uhs {
groups = "sdhi2_data8", "sdhi2_ctrl";
function = "sdhi2";
power-source = <1800>;
};
}; };
&sdhi0 { &sdhi0 {
...@@ -128,6 +158,19 @@ &sdhi0 { ...@@ -128,6 +158,19 @@ &sdhi0 {
status = "okay"; status = "okay";
}; };
&sdhi2 {
/* used for on-board 8bit eMMC */
pinctrl-0 = <&sdhi2_pins>;
pinctrl-1 = <&sdhi2_pins_uhs>;
pinctrl-names = "default", "state_uhs";
vmmc-supply = <&reg_3p3v>;
vqmmc-supply = <&reg_1p8v>;
bus-width = <8>;
non-removable;
status = "okay";
};
&scif2 { &scif2 {
pinctrl-0 = <&scif2_pins>; pinctrl-0 = <&scif2_pins>;
pinctrl-names = "default"; pinctrl-names = "default";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment