]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: dts: rockchip: set correct dwc2 params for cortex-a9 socs
authorHeiko Stuebner <heiko@sntech.de>
Sun, 2 Aug 2015 20:29:33 +0000 (22:29 +0200)
committerHeiko Stuebner <heiko@sntech.de>
Sat, 8 Aug 2015 10:25:32 +0000 (12:25 +0200)
According to the manual, the fifo sizes are the same as on later socs
like the rk3288 and this also fixes an error about "insufficient fifo
memory", as it seems the values read from the ip are wrong.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm/boot/dts/rk3xxx.dtsi

index a2ae9f32464d5e6b154636002c6cca87b2bf6614..c571ac87a4ff6ff6f177ccaf23c8e61fc6f0ce38 100644 (file)
                interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
                clocks = <&cru HCLK_OTG0>;
                clock-names = "otg";
+               dr_mode = "otg";
+               g-np-tx-fifo-size = <16>;
+               g-rx-fifo-size = <275>;
+               g-tx-fifo-size = <256 128 128 64 64 32>;
+               g-use-dma;
                status = "disabled";
        };
 
                interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
                clocks = <&cru HCLK_OTG1>;
                clock-names = "otg";
+               dr_mode = "host";
                status = "disabled";
        };