ath79: qca: remove mac-address-increment
[openwrt/openwrt.git] / target / linux / ath79 / dts / qca9531_glinet_gl-ar750.dts
index 80623085f085f6d4cfd005e634c15e52598ddd8f..1c6dcee8bf857829fd4cb0d46e20471580b6c85e 100644 (file)
                                label = "art";
                                reg = <0x050000 0x010000>;
                                read-only;
+
+                               nvmem-layout {
+                                       compatible = "fixed-layout";
+                                       #address-cells = <1>;
+                                       #size-cells = <1>;
+
+                                       macaddr_art_0: macaddr@0 {
+                                               compatible = "mac-base";
+                                               reg = <0x0 0x6>;
+                                               #nvmem-cell-cells = <1>;
+                                       };
+                               };
                        };
 
                        partition@60000 {
 
        phy-handle = <&swphy4>;
 
-       mtd-mac-address = <&art 0x0>;
+       nvmem-cells = <&macaddr_art_0 0>;
+       nvmem-cell-names = "mac-address";
 };
 
 &eth1 {
-       mtd-mac-address = <&art 0x0>;
-       mac-address-increment = <1>;
+       nvmem-cells = <&macaddr_art_0 1>;
+       nvmem-cell-names = "mac-address";
 };
 
 &wmac {