Commit 5be54db8 authored by Vladimir Barinov's avatar Vladimir Barinov Committed by Simon Horman

arm64: dts: m3ulcb: enable SDHI0

This supports SDHI0 on M3ULCB board SD card slot
Signed-off-by: default avatarVladimir Barinov <vladimir.barinov@cogentembedded.com>
Signed-off-by: default avatarSimon Horman <horms+renesas@verge.net.au>
parent 31e12cb6
...@@ -54,6 +54,30 @@ key-1 { ...@@ -54,6 +54,30 @@ key-1 {
gpios = <&gpio6 11 GPIO_ACTIVE_LOW>; gpios = <&gpio6 11 GPIO_ACTIVE_LOW>;
}; };
}; };
vcc_sdhi0: regulator-vcc-sdhi0 {
compatible = "regulator-fixed";
regulator-name = "SDHI0 Vcc";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
gpio = <&gpio5 2 GPIO_ACTIVE_HIGH>;
enable-active-high;
};
vccq_sdhi0: regulator-vccq-sdhi0 {
compatible = "regulator-gpio";
regulator-name = "SDHI0 VccQ";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <3300000>;
gpios = <&gpio5 1 GPIO_ACTIVE_HIGH>;
gpios-states = <1>;
states = <3300000 1
1800000 0>;
};
}; };
&extal_clk { &extal_clk {
...@@ -77,6 +101,31 @@ scif_clk_pins: scif_clk { ...@@ -77,6 +101,31 @@ scif_clk_pins: scif_clk {
groups = "scif_clk_a"; groups = "scif_clk_a";
function = "scif_clk"; function = "scif_clk";
}; };
sdhi0_pins: sd0 {
groups = "sdhi0_data4", "sdhi0_ctrl";
function = "sdhi0";
power-source = <3300>;
};
sdhi0_pins_uhs: sd0_uhs {
groups = "sdhi0_data4", "sdhi0_ctrl";
function = "sdhi0";
power-source = <1800>;
};
};
&sdhi0 {
pinctrl-0 = <&sdhi0_pins>;
pinctrl-1 = <&sdhi0_pins_uhs>;
pinctrl-names = "default", "state_uhs";
vmmc-supply = <&vcc_sdhi0>;
vqmmc-supply = <&vccq_sdhi0>;
cd-gpios = <&gpio3 12 GPIO_ACTIVE_LOW>;
bus-width = <4>;
sd-uhs-sdr50;
status = "okay";
}; };
&scif2 { &scif2 {
......
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