[OpenWrt-Devel] [PATCH] CC: ramips: backport rt3352 usbphy fix in dts-file

Сергей Василюгин vasilugin at yandex.ru
Mon Apr 11 09:48:11 EDT 2016


Backport of trunk patch. Fix kernel hang during loading ehci-hcd module.

SIgned-Off-By: Serge Vasilugin <vasilugin at yandex.ru>

diff --git a/target/linux/ramips/dts/rt3352.dtsi b/target/linux/ramips/dts/rt3352.dtsi
index 7dffddb..dacb047 100644
--- a/target/linux/ramips/dts/rt3352.dtsi
+++ b/target/linux/ramips/dts/rt3352.dtsi
@@ -222,8 +222,9 @@
 		interrupts = <17>;
 	};
 
-	usbphy {
+	usbphy: usbphy {
 		compatible = "ralink,rt3xxx-usbphy";
+		#phy-cells = <1>;
 
 		resets = <&rstctrl 22 &rstctrl 25>;
 		reset-names = "host", "device";
@@ -243,6 +244,9 @@
 		compatible = "ralink,rt3xxx-ehci", "ehci-platform";
 		reg = <0x101c0000 0x1000>;
 
+		phys = <&usbphy 1>;
+		phy-names = "usb";
+
 		interrupt-parent = <&intc>;
 		interrupts = <18>;
 
@@ -253,6 +257,9 @@
 		compatible = "ralink,rt3xxx-ohci", "ohci-platform";
 		reg = <0x101c1000 0x1000>;
 
+		phys = <&usbphy 1>;
+		phy-names = "usb";
+
 		interrupt-parent = <&intc>;
 		interrupts = <18>;
 

---
serge
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list