summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/stm32mp157a-dk1.dts
diff options
context:
space:
mode:
authorLudovic Barre <ludovic.barre@st.com>2019-03-01 09:47:00 +0100
committerAlexandre Torgue <alexandre.torgue@st.com>2019-04-11 11:22:01 +0200
commit8f6e0919b7c21400c60693b31e659eb3f6e5179d (patch)
tree63ae43d69b294ce6b63a2809daf157fab6b4b29b /arch/arm/boot/dts/stm32mp157a-dk1.dts
parentARM: dts: stm32: add sdmmc1 support on stm32mp157c ed1 board (diff)
downloadlinux-8f6e0919b7c21400c60693b31e659eb3f6e5179d.tar.xz
linux-8f6e0919b7c21400c60693b31e659eb3f6e5179d.zip
ARM: dts: stm32: add sdmmc1 support on stm32mp157a dk1 board
This patch adds sdmmc1 support on stm32mp157a dk1 board. Signed-off-by: Ludovic Barre <ludovic.barre@st.com> Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
Diffstat (limited to 'arch/arm/boot/dts/stm32mp157a-dk1.dts')
-rw-r--r--arch/arm/boot/dts/stm32mp157a-dk1.dts20
1 files changed, 20 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/stm32mp157a-dk1.dts b/arch/arm/boot/dts/stm32mp157a-dk1.dts
index 873a80ef2b71..e774a34ec4fd 100644
--- a/arch/arm/boot/dts/stm32mp157a-dk1.dts
+++ b/arch/arm/boot/dts/stm32mp157a-dk1.dts
@@ -36,6 +36,14 @@
default-state = "off";
};
};
+
+ v3v3: regulator-3v3 {
+ compatible = "regulator-fixed";
+ regulator-name = "v3v3";
+ regulator-min-microvolt = <3300000>;
+ regulator-max-microvolt = <3300000>;
+ regulator-always-on;
+ };
};
&ethernet0 {
@@ -70,6 +78,18 @@
status = "okay";
};
+&sdmmc1 {
+ pinctrl-names = "default", "opendrain", "sleep";
+ pinctrl-0 = <&sdmmc1_b4_pins_a>;
+ pinctrl-1 = <&sdmmc1_b4_od_pins_a>;
+ pinctrl-2 = <&sdmmc1_b4_sleep_pins_a>;
+ broken-cd;
+ st,neg-edge;
+ bus-width = <4>;
+ vmmc-supply = <&v3v3>;
+ status = "okay";
+};
+
&uart4 {
pinctrl-names = "default";
pinctrl-0 = <&uart4_pins_a>;