From 4a5158bd2a733a2967d6967701e0e97eed80dfda Mon Sep 17 00:00:00 2001 From: John Crispin Date: Wed, 20 Apr 2016 17:19:00 +0000 Subject: [PATCH] ramips: rt3352 usbphy fix in dts-file Add missing rt3352 usb phy. Fix ticket #20499. Signed-Off-By:Serge Vasilugin SVN-Revision: 49204 --- target/linux/ramips/dts/rt3352.dtsi | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/target/linux/ramips/dts/rt3352.dtsi b/target/linux/ramips/dts/rt3352.dtsi index cfa0db67c05..0932b52406c 100644 --- a/target/linux/ramips/dts/rt3352.dtsi +++ b/target/linux/ramips/dts/rt3352.dtsi @@ -252,8 +252,9 @@ interrupts = <17>; }; - usbphy { + usbphy: usbphy { compatible = "ralink,rt3352-usbphy"; + #phy-cells = <1>; resets = <&rstctrl 22 &rstctrl 25>; reset-names = "host", "device"; @@ -273,6 +274,9 @@ compatible = "generic-ehci"; reg = <0x101c0000 0x1000>; + phys = <&usbphy 1>; + phy-names = "usb"; + interrupt-parent = <&intc>; interrupts = <18>; @@ -283,6 +287,9 @@ compatible = "generic-ohci"; reg = <0x101c1000 0x1000>; + phys = <&usbphy 1>; + phy-names = "usb"; + interrupt-parent = <&intc>; interrupts = <18>;