aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHeiko Stuebner <heiko@sntech.de>2015-08-02 16:29:33 -0400
committerHeiko Stuebner <heiko@sntech.de>2015-08-08 06:25:32 -0400
commitec32bd9fcadc26d8a184c9a09ec3fe29e097c175 (patch)
treeffdcc9ba1af25e11d6b7ca127f4111d13a6bb860
parent13517157d16f98564b91658940ccd720724da62f (diff)
ARM: dts: rockchip: set correct dwc2 params for cortex-a9 socs
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>
-rw-r--r--arch/arm/boot/dts/rk3xxx.dtsi6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/rk3xxx.dtsi b/arch/arm/boot/dts/rk3xxx.dtsi
index a2ae9f32464d..c571ac87a4ff 100644
--- a/arch/arm/boot/dts/rk3xxx.dtsi
+++ b/arch/arm/boot/dts/rk3xxx.dtsi
@@ -172,6 +172,11 @@
172 interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>; 172 interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
173 clocks = <&cru HCLK_OTG0>; 173 clocks = <&cru HCLK_OTG0>;
174 clock-names = "otg"; 174 clock-names = "otg";
175 dr_mode = "otg";
176 g-np-tx-fifo-size = <16>;
177 g-rx-fifo-size = <275>;
178 g-tx-fifo-size = <256 128 128 64 64 32>;
179 g-use-dma;
175 status = "disabled"; 180 status = "disabled";
176 }; 181 };
177 182
@@ -181,6 +186,7 @@
181 interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>; 186 interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
182 clocks = <&cru HCLK_OTG1>; 187 clocks = <&cru HCLK_OTG1>;
183 clock-names = "otg"; 188 clock-names = "otg";
189 dr_mode = "host";
184 status = "disabled"; 190 status = "disabled";
185 }; 191 };
186 192