ath79: update WA/XC devices UBNT_VERSION to 8.7.4
[openwrt/staging/wigyori.git] / target / linux / ath79 / dts / ar9344_engenius_ecb600.dts
index 53456d40939cb90c0a02fa8b913b32232681911b..1b75d887f298aec722041214c176bb665ce45450 100644 (file)
@@ -1,5 +1,7 @@
 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
 
+#include <dt-bindings/leds/common.h>
+
 #include "ar9344_senao_ap-dual.dtsi"
 
 / {
@@ -10,7 +12,8 @@
                compatible = "gpio-leds";
 
                led_power: power {
-                       label = "amber:power";
+                       function = LED_FUNCTION_POWER;
+                       color = <LED_COLOR_ID_AMBER>;
                        gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
                        default-state = "on";
                };
 };
 
 &eth0 {
-       nvmem-cells = <&macaddr_art_0>;
+       nvmem-cells = <&macaddr_art_0 0>;
        nvmem-cell-names = "mac-address";
 };
 
 &pcie {
-       wifi@0,0,0 {
-               nvmem-cells = <&macaddr_art_0>, <&calibration_art_5000>;
+       wifi@0,0 {
+               nvmem-cells = <&macaddr_art_0 (-2)>, <&calibration_art_5000>;
                nvmem-cell-names = "mac-address", "calibration";
-               mac-address-increment = <(-2)>;
        };
 };
 
 &wmac {
-       nvmem-cells = <&macaddr_art_0>, <&calibration_art_1000>;
+       nvmem-cells = <&macaddr_art_0 (-1)>, <&calibration_art_1000>;
        nvmem-cell-names = "mac-address", "calibration";
-       mac-address-increment = <(-1)>;
 };
 
 &art {
@@ -49,7 +50,9 @@
                #size-cells = <1>;
 
                macaddr_art_0: macaddr@0 {
+                       compatible = "mac-base";
                        reg = <0x0 0x6>;
+                       #nvmem-cell-cells = <1>;
                };
 
                calibration_art_1000: calibration@1000 {