ARM: dts: stm32: select otg mode for usbotg_hs on stm32746g_eval
authorAmelie Delaunay <amelie.delaunay@st.com>
Thu, 15 Feb 2018 15:54:00 +0000 (16:54 +0100)
committerAlexandre Torgue <alexandre.torgue@st.com>
Tue, 27 Feb 2018 14:20:51 +0000 (15:20 +0100)
Configure USB OTG HS in OTG (DRD) mode on STM32746G_eval.
The USB connector used will determine the role of USB OTG controller.

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

index b2d4b8c..e3f5a83 100644 (file)
 };
 
 &usbotg_hs {
-       dr_mode = "host";
+       dr_mode = "otg";
        phys = <&usbotg_hs_phy>;
        phy-names = "usb2-phy";
        pinctrl-0 = <&usbotg_hs_pins_a>;