summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/stm32mp157c-ev1.dts
diff options
context:
space:
mode:
authorYann Gautier <yann.gautier@st.com>2019-11-15 11:44:51 +0100
committerAlexandre Torgue <alexandre.torgue@st.com>2019-12-09 09:19:15 +0100
commit7e5d83981911f66fd0e6c110ea6a21a4f771b924 (patch)
tree0cafa51ef3994dbb972053cd3fb588bd750eecd3 /arch/arm/boot/dts/stm32mp157c-ev1.dts
parentARM: dts: stm32: enable sdmmc2 node for stm32mp157c-ed1 board (diff)
downloadlinux-7e5d83981911f66fd0e6c110ea6a21a4f771b924.tar.xz
linux-7e5d83981911f66fd0e6c110ea6a21a4f771b924.zip
ARM: dts: stm32: add sdmmc3 node for STM32MP1 boards
On STM32MP1 EVAL and DISCOVERY boards, the SDMMC3 internal peripheral can be used through the GPIO extension connector. The sdmmc3 node is then added in the boards DT files, and the required pins are also added. The node status is disabled as there is no device connected by default. Signed-off-by: Ludovic Barre <ludovic.barre@st.com> Signed-off-by: Yann Gautier <yann.gautier@st.com>
Diffstat (limited to 'arch/arm/boot/dts/stm32mp157c-ev1.dts')
-rw-r--r--arch/arm/boot/dts/stm32mp157c-ev1.dts12
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/stm32mp157c-ev1.dts b/arch/arm/boot/dts/stm32mp157c-ev1.dts
index a27db4e3f1ce..2010f6292a77 100644
--- a/arch/arm/boot/dts/stm32mp157c-ev1.dts
+++ b/arch/arm/boot/dts/stm32mp157c-ev1.dts
@@ -283,6 +283,18 @@
};
};
+&sdmmc3 {
+ pinctrl-names = "default", "opendrain", "sleep";
+ pinctrl-0 = <&sdmmc3_b4_pins_a>;
+ pinctrl-1 = <&sdmmc3_b4_od_pins_a>;
+ pinctrl-2 = <&sdmmc3_b4_sleep_pins_a>;
+ broken-cd;
+ st,neg-edge;
+ bus-width = <4>;
+ vmmc-supply = <&v3v3>;
+ status = "disabled";
+};
+
&spi1 {
pinctrl-names = "default";
pinctrl-0 = <&spi1_pins_a>;