From: Amelie Delaunay Date: Tue, 4 Feb 2020 13:26:04 +0000 (+0100) Subject: ARM: dts: stm32: add USB OTG full support on stm32mp151 X-Git-Tag: v5.15~4151^2~31^2~17 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=82ac8a81f985ad6a05c3f39aedb275eafbc40d3e;p=platform%2Fkernel%2Flinux-starfive.git ARM: dts: stm32: add USB OTG full support on stm32mp151 Using the st,stm32mp15-hsotg compatible allows to use USB OTG with Dual Role mode support. Signed-off-by: Amelie Delaunay Signed-off-by: Alexandre Torgue --- diff --git a/arch/arm/boot/dts/stm32mp151.dtsi b/arch/arm/boot/dts/stm32mp151.dtsi index e0ecc5e..12cbcda 100644 --- a/arch/arm/boot/dts/stm32mp151.dtsi +++ b/arch/arm/boot/dts/stm32mp151.dtsi @@ -1044,7 +1044,7 @@ }; usbotg_hs: usb-otg@49000000 { - compatible = "snps,dwc2"; + compatible = "st,stm32mp15-hsotg", "snps,dwc2"; reg = <0x49000000 0x10000>; clocks = <&rcc USBO_K>; clock-names = "otg"; @@ -1055,6 +1055,7 @@ 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"; };