summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/stm32746g-eval.dts
diff options
context:
space:
mode:
authorPatrice Chotard <patrice.chotard@st.com>2018-03-01 11:53:00 +0100
committerAlexandre Torgue <alexandre.torgue@st.com>2018-03-05 09:03:08 +0100
commit70093fe230a563fa67a69109de18b3e6f53a092d (patch)
treeecb8565c724f639625c630fe596f08c48bf25b65 /arch/arm/boot/dts/stm32746g-eval.dts
parentARM: dts: stm32: Enable sdio1 for stm32f746-disco (diff)
downloadlinux-70093fe230a563fa67a69109de18b3e6f53a092d.tar.xz
linux-70093fe230a563fa67a69109de18b3e6f53a092d.zip
ARM: dts: stm32: Enable sdio1 for stm32f746-eval
Adds SDIO related DT nodes for stm32f746-eval board. broken-cd property is needed as card detect signal is connected to a GPIO expander which is not yet supported in kernel linux. Signed-off-by: Patrice Chotard <patrice.chotard@st.com> Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
Diffstat (limited to 'arch/arm/boot/dts/stm32746g-eval.dts')
-rw-r--r--arch/arm/boot/dts/stm32746g-eval.dts17
1 files changed, 17 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/stm32746g-eval.dts b/arch/arm/boot/dts/stm32746g-eval.dts
index e3f5a8320d3a..8c081eaf20fe 100644
--- a/arch/arm/boot/dts/stm32746g-eval.dts
+++ b/arch/arm/boot/dts/stm32746g-eval.dts
@@ -91,6 +91,13 @@
clocks = <&rcc 0 STM32F7_AHB1_CLOCK(OTGHSULPI)>;
clock-names = "main_clk";
};
+
+ mmc_vcard: mmc_vcard {
+ compatible = "regulator-fixed";
+ regulator-name = "mmc_vcard";
+ regulator-min-microvolt = <3300000>;
+ regulator-max-microvolt = <3300000>;
+ };
};
&clk_hse {
@@ -113,6 +120,16 @@
status = "okay";
};
+&sdio1 {
+ status = "okay";
+ vmmc-supply = <&mmc_vcard>;
+ broken-cd;
+ pinctrl-names = "default", "opendrain";
+ pinctrl-0 = <&sdio_pins_a>;
+ pinctrl-1 = <&sdio_pins_od_a>;
+ bus-width = <4>;
+};
+
&usart1 {
pinctrl-0 = <&usart1_pins_a>;
pinctrl-names = "default";