ramips: mt7628: use mac-base
[openwrt/staging/hauke.git] / target / linux / ramips / dts / mt7628an_tplink_re305-v3.dts
index d0d0701231e9bdd0d0b323cf6a1920c94f976d5c..d37febfbc87d00e662b170331fc382f74ebc705c 100644 (file)
@@ -43,7 +43,9 @@
                                        #size-cells = <1>;
 
                                        macaddr_config_2008: macaddr@2008 {
+                                               compatible = "mac-base";
                                                reg = <0x2008 0x6>;
+                                               #nvmem-cell-cells = <1>;
                                        };
                                };
                        };
 };
 
 &wlan5g {
-       nvmem-cells = <&eeprom_radio_8000>, <&macaddr_config_2008>;
+       nvmem-cells = <&eeprom_radio_8000>, <&macaddr_config_2008 (-2)>;
        nvmem-cell-names = "eeprom", "mac-address";
-       mac-address-increment = <(-2)>;
 };
 
 &wmac {
-       nvmem-cells = <&eeprom_radio_0>, <&macaddr_config_2008>;
+       nvmem-cells = <&eeprom_radio_0>, <&macaddr_config_2008 (-1)>;
        nvmem-cell-names = "eeprom", "mac-address";
-       mac-address-increment = <(-1)>;
 };
 
 &ethernet {
-       nvmem-cells = <&macaddr_config_2008>;
+       nvmem-cells = <&macaddr_config_2008 0>;
        nvmem-cell-names = "mac-address";
 };