ath79: fix ethernet-phy label for dlink,dap-2660-a1
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>
Sun, 3 Jan 2021 12:55:50 +0000 (13:55 +0100)
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>
Sun, 3 Jan 2021 12:55:50 +0000 (13:55 +0100)
The phy label/node name should correspond to the reg property.

While at it, use more common decimal notation for reg property itself.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
target/linux/ath79/dts/qca9557_dlink_dap-2660-a1.dts

index 1a2974a6884b923f2910aa9a51bb1aa0c324cdc2..8ef07e42e8bc9180cad569ab24259a721b594d05 100644 (file)
@@ -63,8 +63,8 @@
 &mdio0 {
        status = "okay";
 
-       phy0: ethernet-phy@4 {
-               reg = <0x4>;
+       phy4: ethernet-phy@4 {
+               reg = <4>;
        };
 };
 
@@ -73,7 +73,7 @@
 
        pll-data = <0x82000000 0x80000101 0x80001313>;
 
-       phy-handle = <&phy0>;
+       phy-handle = <&phy4>;
        phy-mode = "rgmii-id";
 
        gmac-config {