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

From: Amelie Delaunay
Date: Thu Nov 21 2019 - 11:13:09 EST


This patch enables USB OTG HS on stm32mp157a-dk1 in Peripheral mode.

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

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";
};
--
2.17.1