ARM: dts: rockchip: set correct dwc2 params for cortex-a9 socs

A patch from »ARM: dts: rockchip: set correct dwc2 params for cortex-a9 socs« in state Mainline for linux-kernel

From: Heiko Stuebner <heiko@...> Date: Sun, 2 Aug 2015 22:29:33 +0200

Commit-Message

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@...>

Patch-Comment

arch/arm/boot/dts/rk3xxx.dtsi | 6 ++++++ 1 file changed, 6 insertions(+)

Statistics

  • 6 lines added
  • 0 lines removed

Changes

------------------------ arch/arm/boot/dts/rk3xxx.dtsi -------------------------
index a2ae9f3..c571ac8 100644
@@ -172,6 +172,11 @@
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";
};
@@ -181,6 +186,7 @@
interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&cru HCLK_OTG1>;
clock-names = "otg";
+ dr_mode = "host";
status = "disabled";
};
 
 

Recent Patches

About Us

Sed lacus. Donec lectus. Nullam pretium nibh ut turpis. Nam bibendum. In nulla tortor, elementum vel, tempor at, varius non, purus. Mauris vitae nisl nec metus placerat consectetuer.

Read More...