ramips: rt3050: fix wrong compatible
authorRosen Penev <rosenp@gmail.com>
Tue, 3 Dec 2024 00:50:22 +0000 (16:50 -0800)
committerRobert Marko <robimarko@gmail.com>
Sun, 22 Dec 2024 10:35:23 +0000 (11:35 +0100)
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@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/17257
Signed-off-by: Robert Marko <robimarko@gmail.com>
target/linux/ramips/dts/rt3050.dtsi

index 8a2304f7b969cf05002385374c4dc40b35ace993..fd52e519360764bde6adb49d3a4795be0b309899 100644 (file)
        };
 
        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@10100000 {