lantiq: remove mac-address-increment
[openwrt/staging/hauke.git] / target / linux / lantiq / files / arch / mips / boot / dts / lantiq / danube_arcadyan_arv452cqw.dts
index bc04677d46d99b35834fec3513ace44e38d65222..4825eb2952eae9465cb0a596ce841e5248cc26de 100644 (file)
 */
 &gsw {
        phy-mode = "rmii";
-       mtd-mac-address = <&boardconfig 0x16>;
+       nvmem-cells = <&macaddr_boardconfig_16>;
+       nvmem-cell-names = "mac-address";
 };
 
 &localbus {
                                label = "boardconfig";
                                reg = <0x3f0000 0x10000>;
                                read-only;
+
+                               nvmem-layout {
+                                       compatible = "fixed-layout";
+                                       #address-cells = <1>;
+                                       #size-cells = <1>;
+
+                                       macaddr_boardconfig_16: macaddr@16 {
+                                               reg = <0x16 0x6>;
+                                       };
+                               };
                        };
                };
        };