ath79: harmonize ethernet-phy naming scheme
[openwrt/staging/stintel.git] / target / linux / ath79 / dts / qca9558_tplink_rex5x.dtsi
index 17e172d5471f8a03870b529ff23d58904a263b01..8827990eb57b191ab410a1864458803c18ed32db 100644 (file)
@@ -93,7 +93,7 @@
                #address-cells = <1>;
                #size-cells = <0>;
 
-               phy0: ethernet-phy@4 {
+               phy4: ethernet-phy@4 {
                        reg = <4>;
                        reset-gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
                };
 
 &eth0 {
        status = "okay";
-       mtd-mac-address = <&info 0x8>;
+
+       phy-handle = <&phy4>;
        pll-data = <0xa6000000 0x00000101 0x00001616>;
-       phy-handle = <&phy0>;
+
+       mtd-mac-address = <&info 0x8>;
 };
 
 &wmac {
        status = "okay";
+
        mtd-cal-data = <&art 0x1000>;
        mtd-mac-address = <&info 0x8>;
        mtd-mac-address-increment = <(-1)>;