[openwrt/openwrt] ramips: rt3050: fix wrong compatible

LEDE Commits lede-commits at lists.infradead.org
Sun Dec 22 02:35:27 PST 2024


robimarko pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/21b3fff01c3c2c45d0a172fb6d5e8c274e7cb2d6

commit 21b3fff01c3c2c45d0a172fb6d5e8c274e7cb2d6
Author: Rosen Penev <rosenp at gmail.com>
AuthorDate: Mon Dec 2 16:50:22 2024 -0800

    ramips: rt3050: fix wrong compatible
    
    In the process of upstreaming the local phy driver back in 2017, it
    seems rt3050.dtsi was left out when updating the compatible string.
    
    Add device reset as the driver needs it.
    
    Signed-off-by: Rosen Penev <rosenp at gmail.com>
    Link: https://github.com/openwrt/openwrt/pull/17257
    Signed-off-by: Robert Marko <robimarko at gmail.com>
---
 target/linux/ramips/dts/rt3050.dtsi | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/target/linux/ramips/dts/rt3050.dtsi b/target/linux/ramips/dts/rt3050.dtsi
index 8a2304f7b9..fd52e51936 100644
--- a/target/linux/ramips/dts/rt3050.dtsi
+++ b/target/linux/ramips/dts/rt3050.dtsi
@@ -296,12 +296,12 @@
 	};
 
 	usbphy: usbphy {
-		compatible = "ralink,rt3050-usbphy";
+		compatible = "ralink,rt3352-usbphy";
 		#phy-cells = <0>;
 
 		ralink,sysctl = <&sysc>;
-		resets = <&sysc 22>;
-		reset-names = "host";
+		resets = <&sysc 22>, <&sysc 25>;
+		reset-names = "host", "device";
 	};
 
 	ethernet: ethernet at 10100000 {




More information about the lede-commits mailing list