Commit eed3da2c authored by Sergei Shtylyov's avatar Sergei Shtylyov Committed by Simon Horman

ARM: dts: blanche: add SDHI0 support

Define the Blanche board dependent part of the SDHI0 (connected to the
micro-SD slot) device node along with  the necessary voltage regulator.
Signed-off-by: default avatarSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: default avatarSimon Horman <horms+renesas@verge.net.au>
parent 1c7f349a
...@@ -103,6 +103,17 @@ key-b { ...@@ -103,6 +103,17 @@ key-b {
gpios = <&gpio11 2 GPIO_ACTIVE_LOW>; gpios = <&gpio11 2 GPIO_ACTIVE_LOW>;
}; };
}; };
vcc_sdhi0: regulator-vcc-sdhi0 {
compatible = "regulator-fixed";
regulator-name = "SDHI0 Vcc";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
gpio = <&gpio11 12 GPIO_ACTIVE_HIGH>;
enable-active-high;
};
}; };
&extal_clk { &extal_clk {
...@@ -139,6 +150,11 @@ can0_pins: can0 { ...@@ -139,6 +150,11 @@ can0_pins: can0 {
groups = "can0_data", "can_clk"; groups = "can0_data", "can_clk";
function = "can0"; function = "can0";
}; };
sdhi0_pins: sdhi0 {
groups = "sdhi0_data4", "sdhi0_ctrl";
function = "sdhi0";
};
}; };
&scif0 { &scif0 {
...@@ -161,3 +177,12 @@ &can0 { ...@@ -161,3 +177,12 @@ &can0 {
status = "okay"; status = "okay";
}; };
&sdhi0 {
pinctrl-0 = <&sdhi0_pins>;
pinctrl-names = "default";
vmmc-supply = <&vcc_sdhi0>;
cd-gpios = <&gpio11 11 GPIO_ACTIVE_LOW>;
status = "okay";
};
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