summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrice Chotard <patrice.chotard@st.com>2018-01-18 17:34:00 +0300
committerAlexandre Torgue <alexandre.torgue@st.com>2018-02-27 12:36:43 +0300
commite84984f8a44196d5bd51e0c5d6162a311c8dfe72 (patch)
tree91df4699cbcf6aa9060ac2eb859b8a719a219599
parent64348d9f939fed776b5f0ae76b76169701ec51c9 (diff)
downloadlinux-e84984f8a44196d5bd51e0c5d6162a311c8dfe72.tar.xz
ARM: dts: stm32: Enable SDIO controller on stm32429i-eval board
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>
-rw-r--r--arch/arm/boot/dts/stm32429i-eval.dts19
1 files changed, 19 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/stm32429i-eval.dts b/arch/arm/boot/dts/stm32429i-eval.dts
index 293ecb957227..7eb786a2d624 100644
--- a/arch/arm/boot/dts/stm32429i-eval.dts
+++ b/arch/arm/boot/dts/stm32429i-eval.dts
@@ -144,6 +144,13 @@
};
};
};
+
+ mmc_vcard: mmc_vcard {
+ compatible = "regulator-fixed";
+ regulator-name = "mmc_vcard";
+ regulator-min-microvolt = <3300000>;
+ regulator-max-microvolt = <3300000>;
+ };
};
&adc {
@@ -254,6 +261,18 @@
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";