treewide: convert mtd-mac-address-increment* to generic implementation
[openwrt/staging/wigyori.git] / target / linux / ath79 / dts / qca9558_devolo_dvl1200e.dts
index 4828a5e0f531462d3ee6b2faeff22932ac7ffebc..85617cc809997782d6b339b7c5902c8981f7fdb3 100644 (file)
@@ -1,10 +1,9 @@
 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
-/dts-v1/;
 
 #include "qca9558_devolo_dvl1xxx.dtsi"
 
 / {
-       compatible = "devolo,dvl1200e", "qca,qca9557";
+       compatible = "devolo,dvl1200e", "qca,qca9558";
        model = "devolo WiFi pro 1200e";
 
        aliases {
                compatible = "gpio-leds";
 
                led_status_blue: status_blue {
-                       label = "dvl1200e:blue:status";
+                       label = "blue:status";
                        gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
                        default-state = "on";
                };
 
                led_status_red: status_red {
-                       label = "dvl1200e:red:status";
+                       label = "red:status";
                        gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
                };
        };
        };
 };
 
+&eth0 {
+       pll-data = <0xae000000 0x80000101 0x80001313>;
+       phy-mode = "rgmii-rxid";
+};
+
+&gmac_config {
+       rxdv-delay = <3>;
+       rxd-delay = <3>;
+       txen-delay = <0>;
+       txd-delay = <0>;
+};
+
 &mdio1 {
        status = "okay";
+
+       phy1: ethernet-phy@1 {
+               reg = <1>;
+               at803x-override-sgmii-link-check;
+       };
 };
 
 &eth1 {
        status = "okay";
+
+       mtd-mac-address = <&art 0x00>;
+       mac-address-increment = <1>;
+
+       phy-handle = <&phy1>;
+       pll-data = <0x03000101 0x00000101 0x00001313>;
+
+       qca955x-sgmii-fixup;
 };