treewide: convert mtd-mac-address-increment* to generic implementation
[openwrt/staging/chunkeey.git] / target / linux / ath79 / dts / ar9344_winchannel_wb2000.dts
index 4ee3ace8290b12fe4c08554647892477cd89065f..87bbd206b2ce05cb1d7c95bb315ea4d8c1ae18cb 100644 (file)
@@ -1,11 +1,10 @@
 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
-/dts-v1/;
+
+#include "ar9344.dtsi"
 
 #include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/input/input.h>
 
-#include "ar9344.dtsi"
-
 / {
        model = "Winchannel WB2000";
        compatible = "winchannel,wb2000", "qca,ar9344";
                compatible = "gpio-leds";
 
                wlan2g {
-                       label = "wb2000:green:2g";
+                       label = "green:2g";
                        gpios = <&gpio 20 GPIO_ACTIVE_HIGH>;
                        linux,default-trigger = "phy0tpt";
                };
 
                usb {
-                       label = "wb2000:green:usb";
+                       label = "green:usb";
                        gpios = <&gpio 21 GPIO_ACTIVE_HIGH>;
                        trigger-sources = <&hub_port1>, <&hub_port2>;
                        linux,default-trigger = "usbport";
                };
 
                led_system: system {
-                       label = "wb2000:green:system";
+                       label = "green:system";
                        gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
                        default-state = "on";
                };
@@ -72,7 +71,7 @@
                compatible = "gpio-leds";
 
                wlan {
-                       label = "wb2000:green:5g";
+                       label = "green:5g";
                        gpios = <&ath9k 6 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "phy1tpt";
                };
        clock-frequency = <40000000>;
 };
 
-&uart {
-       status = "okay";
-};
-
 &spi {
-       num-cs = <1>;
-
        status = "okay";
 
        flash@0 {
                reg = <0x0000 0 0 0 0>;
                qca,no-eeprom;
                mtd-mac-address = <&addr 0x0>;
-               mtd-mac-address-increment = <0x10>;
+               mac-address-increment = <0x10>;
                #gpio-cells = <2>;
                gpio-controller;
        };
        pll-data = <0xe000000 0x04000101 0x04001313>;
 
        mtd-mac-address = <&addr 0x0>;
-       mtd-mac-address-increment = <0x21>;
+       mac-address-increment = <0x21>;
 
        phy-mode = "rgmii-rxid";
        phy-handle = <&phy4>;