This patch adds dwc2 reset property for rk3288 dwc2 usb
controller to fix FIFO setting bug

Signed-off-by: Yunzhi Li <l...@rock-chips.com>

---

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

diff --git a/arch/arm/boot/dts/rk3288.dtsi b/arch/arm/boot/dts/rk3288.dtsi
index 22316d0..440aa42 100644
--- a/arch/arm/boot/dts/rk3288.dtsi
+++ b/arch/arm/boot/dts/rk3288.dtsi
@@ -473,6 +473,10 @@
                dr_mode = "host";
                phys = <&usbphy2>;
                phy-names = "usb2-phy";
+               resets = <&cru SRST_USBHOST1_AHB>,
+                        <&cru SRST_USBHOST1_PHY>,
+                        <&cru SRST_USBHOST1_CON>;
+               reset-names = "ahb", "phy", "con";
                status = "disabled";
        };
 
@@ -490,6 +494,10 @@
                g-use-dma;
                phys = <&usbphy0>;
                phy-names = "usb2-phy";
+               resets = <&cru SRST_USBOTG_AHB>,
+                        <&cru SRST_USBOTG_PHY>,
+                        <&cru SRST_USBOTG_CON>;
+               reset-names = "ahb", "phy", "con";
                status = "disabled";
        };
 
-- 
2.0.0


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to