summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmelie Delaunay <amelie.delaunay@st.com>2020-02-04 14:26:04 +0100
committerAlexandre Torgue <alexandre.torgue@st.com>2020-02-10 17:40:17 +0100
commit82ac8a81f985ad6a05c3f39aedb275eafbc40d3e (patch)
treed96c484b15cf176f175dc41d3101a8f110eec345
parentARM: dts: stm32: remove useless properties in stm32mp157a-avenger96 stmpic node (diff)
downloadlinux-82ac8a81f985ad6a05c3f39aedb275eafbc40d3e.tar.xz
linux-82ac8a81f985ad6a05c3f39aedb275eafbc40d3e.zip
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 <amelie.delaunay@st.com> Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
-rw-r--r--arch/arm/boot/dts/stm32mp151.dtsi3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/stm32mp151.dtsi b/arch/arm/boot/dts/stm32mp151.dtsi
index e0ecc5ee7d83..12cbcdaa3bca 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";
};