ARM: dts: meson: add the gadget mode properties to the USB0 controller
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Mon, 4 May 2020 19:51:05 +0000 (21:51 +0200)
committerKevin Hilman <khilman@baylibre.com>
Tue, 19 May 2020 23:11:15 +0000 (16:11 -0700)
Testing with a USB RNDIS connection and iperf3 gives the following
results:
- From the host computer to the device at ~250Mbit/s
- From the device to the host computer at ~76Mbit/s

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Link: https://lore.kernel.org/r/20200504195105.2909711-1-martin.blumenstingl@googlemail.com
arch/arm/boot/dts/meson.dtsi

index 5d19830..ae89dea 100644 (file)
                        interrupts = <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
                        phys = <&usb0_phy>;
                        phy-names = "usb2-phy";
+                       g-rx-fifo-size = <512>;
+                       g-np-tx-fifo-size = <500>;
+                       g-tx-fifo-size = <256 192 128 128 128>;
                        dr_mode = "host";
                        status = "disabled";
                };