diff mbox series

[4/5] ARM: dts: stm32: enable USB OTG HS on stm32mp157a-dk1

Message ID 20191121161253.25751-1-amelie.delaunay@st.com (mailing list archive)
State New, archived
Headers show
Series USB support on stm32mp157 boards | expand

Commit Message

Amelie Delaunay Nov. 21, 2019, 4:12 p.m. UTC
This patch enables USB OTG HS on stm32mp157a-dk1 in Peripheral mode.

Signed-off-by: Amelie Delaunay <amelie.delaunay@st.com>
---
 arch/arm/boot/dts/stm32mp157a-dk1.dts | 7 +++++++
 1 file changed, 7 insertions(+)
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/stm32mp157a-dk1.dts b/arch/arm/boot/dts/stm32mp157a-dk1.dts
index 7603f9456d56..caf00c8928dd 100644
--- a/arch/arm/boot/dts/stm32mp157a-dk1.dts
+++ b/arch/arm/boot/dts/stm32mp157a-dk1.dts
@@ -610,6 +610,13 @@ 
 	status = "okay";
 };
 
+&usbotg_hs {
+	dr_mode = "peripheral";
+	phys = <&usbphyc_port1 0>;
+	phy-names = "usb2-phy";
+	status = "okay";
+};
+
 &usbphyc {
 	status = "okay";
 };