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