ARM: dts: stm32: add USB OTG HS and FS support for STM32H743 SoC
authorAmelie Delaunay <amelie.delaunay@st.com>
Tue, 27 Feb 2018 14:36:56 +0000 (15:36 +0100)
committerAlexandre Torgue <alexandre.torgue@st.com>
Tue, 27 Feb 2018 14:37:32 +0000 (15:37 +0100)
This patch adds support for USB OTG HS and FS on STM32H743 SoC:
-USB OTG HS controller is the same than the one used on STM32F7 SoCs.
-USB OTG FS controller is the same than the one used on STM32F4 SoCs.

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

index 38d7cb8..68fc12f 100644 (file)
                        };
                };
 
+               usbotg_hs: usb@40040000 {
+                       compatible = "st,stm32f7-hsotg";
+                       reg = <0x40040000 0x40000>;
+                       interrupts = <77>;
+                       clocks = <&rcc USB1OTG_CK>;
+                       clock-names = "otg";
+                       g-rx-fifo-size = <256>;
+                       g-np-tx-fifo-size = <32>;
+                       g-tx-fifo-size = <128 128 64 64 64 64 32 32>;
+                       status = "disabled";
+               };
+
+               usbotg_fs: usb@40080000 {
+                       compatible = "st,stm32f4x9-fsotg";
+                       reg = <0x40080000 0x40000>;
+                       interrupts = <101>;
+                       clocks = <&rcc USB2OTG_CK>;
+                       clock-names = "otg";
+                       status = "disabled";
+               };
+
                mdma1: dma@52000000 {
                        compatible = "st,stm32h7-mdma";
                        reg = <0x52000000 0x1000>;