summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/stm32mp157c-ed1.dts
diff options
context:
space:
mode:
authorAmelie Delaunay <amelie.delaunay@st.com>2020-02-04 16:26:06 +0300
committerAlexandre Torgue <alexandre.torgue@st.com>2020-02-10 19:40:17 +0300
commitc5fae093511b4a5cf9f1e3a0e9e472424c85b521 (patch)
treea1a8cb9fefc7b9e58b43b962b4db2dcafeb907b3 /arch/arm/boot/dts/stm32mp157c-ed1.dts
parent9879e2165758933caa3b4a3803432e9a9d602961 (diff)
downloadlinux-c5fae093511b4a5cf9f1e3a0e9e472424c85b521.tar.xz
ARM: dts: stm32: enable USB OTG Dual Role on stm32mp157c-ev1
Now that st,stm32mp15-hsotg is used, dual role is supported. ID pin is managed to detect the current role. On stm32mp157c-ev1, Host mode requires a vbus-supply property. Charge pump for vbus is provided by PMIC VBUS_OTG. Signed-off-by: Amelie Delaunay <amelie.delaunay@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.dts4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/stm32mp157c-ed1.dts b/arch/arm/boot/dts/stm32mp157c-ed1.dts
index 1fc43251d697..c84f14b17371 100644
--- a/arch/arm/boot/dts/stm32mp157c-ed1.dts
+++ b/arch/arm/boot/dts/stm32mp157c-ed1.dts
@@ -355,6 +355,10 @@
status = "okay";
};
+&usbotg_hs {
+ vbus-supply = <&vbus_otg>;
+};
+
&usbphyc_port0 {
phy-supply = <&vdd_usb>;
vdda1v1-supply = <&reg11>;