summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/stm32mp157c-ed1.dts
diff options
context:
space:
mode:
authorYann Gautier <yann.gautier@st.com>2019-11-06 13:09:37 +0300
committerAlexandre Torgue <alexandre.torgue@st.com>2019-12-09 11:19:15 +0300
commit0382bf82fe7aa050c5b3e1857e5095f76dc3ab5a (patch)
tree1d2c9fd8d59272b67effc8fbe144af9e2ff18db1 /arch/arm/boot/dts/stm32mp157c-ed1.dts
parent64e11cb783d120d0a76cf89dbe4471ba98db0d8a (diff)
downloadlinux-0382bf82fe7aa050c5b3e1857e5095f76dc3ab5a.tar.xz
ARM: dts: stm32: enable sdmmc2 node for stm32mp157c-ed1 board
On STM32MP157C-ED1, the eMMC is connected on instance 2 of SDMMC peripheral. The sdmmc2 node is then added in the board DT file, as well as the pins nodes in the pinctrl file. Signed-off-by: Ludovic Barre <ludovic.barre@st.com> Signed-off-by: Yann Gautier <yann.gautier@st.com> Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
Diffstat (limited to 'arch/arm/boot/dts/stm32mp157c-ed1.dts')
-rw-r--r--arch/arm/boot/dts/stm32mp157c-ed1.dts16
1 files changed, 16 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/stm32mp157c-ed1.dts b/arch/arm/boot/dts/stm32mp157c-ed1.dts
index b8cc0fb0ec48..207146c98154 100644
--- a/arch/arm/boot/dts/stm32mp157c-ed1.dts
+++ b/arch/arm/boot/dts/stm32mp157c-ed1.dts
@@ -305,6 +305,22 @@
status = "okay";
};
+&sdmmc2 {
+ pinctrl-names = "default", "opendrain", "sleep";
+ pinctrl-0 = <&sdmmc2_b4_pins_a &sdmmc2_d47_pins_a>;
+ pinctrl-1 = <&sdmmc2_b4_od_pins_a &sdmmc2_d47_pins_a>;
+ pinctrl-2 = <&sdmmc2_b4_sleep_pins_a &sdmmc2_d47_sleep_pins_a>;
+ non-removable;
+ no-sd;
+ no-sdio;
+ st,neg-edge;
+ bus-width = <8>;
+ vmmc-supply = <&v3v3>;
+ vqmmc-supply = <&v3v3>;
+ mmc-ddr-3_3v;
+ status = "okay";
+};
+
&timers6 {
status = "okay";
/* spare dmas for other usage */