CC: ramips: backport rt3352 usbphy fix in dts-file
authorJohn Crispin <blogic@openwrt.org>
Mon, 25 Apr 2016 20:08:41 +0000 (20:08 +0000)
committerJohn Crispin <blogic@openwrt.org>
Mon, 25 Apr 2016 20:08:41 +0000 (20:08 +0000)
Backport of trunk patch. Fix kernel hang during loading ehci-hcd module.

SIgned-Off-By: Serge Vasilugin <vasilugin@yandex.ru>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@49224 3c298f89-4303-0410-b956-a3cf2f4a3e73

target/linux/ramips/dts/rt3352.dtsi

index 7dffddb..dacb047 100644 (file)
                interrupts = <17>;
        };
 
-       usbphy {
+       usbphy: usbphy {
                compatible = "ralink,rt3xxx-usbphy";
+               #phy-cells = <1>;
 
                resets = <&rstctrl 22 &rstctrl 25>;
                reset-names = "host", "device";
                compatible = "ralink,rt3xxx-ehci", "ehci-platform";
                reg = <0x101c0000 0x1000>;
 
+               phys = <&usbphy 1>;
+               phy-names = "usb";
+
                interrupt-parent = <&intc>;
                interrupts = <18>;
 
                compatible = "ralink,rt3xxx-ohci", "ohci-platform";
                reg = <0x101c1000 0x1000>;
 
+               phys = <&usbphy 1>;
+               phy-names = "usb";
+
                interrupt-parent = <&intc>;
                interrupts = <18>;