ARM: dts: stm32: add gadget fifo sizes to usbotg_hs on stm32f746
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)
USB OTG HS on STM32F746 can also be used as Peripheral (gadget), so
this patch adds DWC2 gadget mode fifo sizes bindings.

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

index 07c2965..90d8f56 100644 (file)
                        interrupts = <77>;
                        clocks = <&rcc 0 STM32F7_AHB1_CLOCK(OTGHS)>;
                        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";
                };