Skip to content

Commit ec32bd9

Browse files
committed
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 <[email protected]>
1 parent 1351715 commit ec32bd9

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

arch/arm/boot/dts/rk3xxx.dtsi

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,11 @@
172172
interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
173173
clocks = <&cru HCLK_OTG0>;
174174
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;
175180
status = "disabled";
176181
};
177182

@@ -181,6 +186,7 @@
181186
interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
182187
clocks = <&cru HCLK_OTG1>;
183188
clock-names = "otg";
189+
dr_mode = "host";
184190
status = "disabled";
185191
};
186192

0 commit comments

Comments
 (0)