]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: dts: stm32: Enable SDIO controller on stm32429i-eval board
authorPatrice Chotard <patrice.chotard@st.com>
Thu, 18 Jan 2018 14:34:00 +0000 (15:34 +0100)
committerAlexandre Torgue <alexandre.torgue@st.com>
Tue, 27 Feb 2018 09:36:43 +0000 (10:36 +0100)
This patch adds SDIO related DT nodes for stm32429i-eval board.

Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
arch/arm/boot/dts/stm32429i-eval.dts

index 293ecb95722715d6ec4dc36da07496134f51a631..7eb786a2d624763627e40e87673f7f0e5c79790d 100644 (file)
@@ -144,6 +144,13 @@ panel_in_rgb: endpoint {
                        };
                };
        };
+
+       mmc_vcard: mmc_vcard {
+               compatible = "regulator-fixed";
+               regulator-name = "mmc_vcard";
+               regulator-min-microvolt = <3300000>;
+               regulator-max-microvolt = <3300000>;
+       };
 };
 
 &adc {
@@ -254,6 +261,18 @@ &rtc {
        status = "okay";
 };
 
+&sdio {
+       status = "okay";
+       vmmc-supply = <&mmc_vcard>;
+       cd-gpios = <&stmpegpio 15 GPIO_ACTIVE_HIGH>;
+       cd-inverted;
+       pinctrl-names = "default", "opendrain";
+       pinctrl-0 = <&sdio_pins>;
+       pinctrl-1 = <&sdio_pins_od>;
+       bus-width = <4>;
+       max-frequency = <12500000>;
+};
+
 &timers1 {
        status = "okay";