ARM: dts: stm32: enable USB OTG HS on stm32mp157c-ev1
authorAmelie Delaunay <amelie.delaunay@st.com>
Thu, 17 May 2018 15:47:00 +0000 (17:47 +0200)
committerAlexandre Torgue <alexandre.torgue@st.com>
Fri, 13 Jul 2018 11:57:00 +0000 (13:57 +0200)
This patch enables USB OTG HS on stm32mp157c-ev1 in Peripheral mode.

Signed-off-by: Amelie Delaunay <amelie.delaunay@st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
arch/arm/boot/dts/stm32mp157c-ev1.dts

index 0381cdd..6cad8f1 100644 (file)
        status = "okay";
 };
 
+&usbotg_hs {
+       dr_mode = "peripheral";
+       phys = <&usbphyc_port1 0>;
+       phy-names = "usb2-phy";
+       status = "okay";
+};
+
 &usbphyc {
        status = "okay";
 };