ARM: dts: stm32: add USB OTG full support on stm32mp151
authorAmelie Delaunay <amelie.delaunay@st.com>
Tue, 4 Feb 2020 13:26:04 +0000 (14:26 +0100)
committerAlexandre Torgue <alexandre.torgue@st.com>
Mon, 10 Feb 2020 16:40:17 +0000 (17:40 +0100)
Using the st,stm32mp15-hsotg compatible allows to use USB OTG with Dual Role
mode support.

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

index e0ecc5e..12cbcda 100644 (file)
                };
 
                usbotg_hs: usb-otg@49000000 {
-                       compatible = "snps,dwc2";
+                       compatible = "st,stm32mp15-hsotg", "snps,dwc2";
                        reg = <0x49000000 0x10000>;
                        clocks = <&rcc USBO_K>;
                        clock-names = "otg";
                        g-np-tx-fifo-size = <32>;
                        g-tx-fifo-size = <128 128 64 64 64 64 32 32>;
                        dr_mode = "otg";
+                       usb33d-supply = <&usb33>;
                        status = "disabled";
                };