ath79: add support for Teltonika RUT955 H7V3C0
[openwrt/staging/wigyori.git] / target / linux / ath79 / dts / qca9558_tplink_rex5x.dtsi
index c593cc434f0b904e393e5eea900aff4ce4885e28..2dde5585cd3ceb2cce031d28069960b9b3c6f0c2 100644 (file)
@@ -1,10 +1,9 @@
 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
-/dts-v1/;
 
 #include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/input/input.h>
 
-#include "qca9557.dtsi"
+#include "qca955x.dtsi"
 
 / {
        chosen {
@@ -17,6 +16,7 @@
                led-running = &led_power;
                led-upgrade = &led_power;
                mdio-gpio0 = &mdio2;
+               label-mac-device = &eth0;
        };
 
        leds {
@@ -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)>;