ramips: mt7621: nix mac-address-increment
[openwrt/staging/jow.git] / target / linux / ramips / dts / mt7621_gehua_ghl-r-001.dts
index 778b2f07981b017c395a2a8f50eef671aff5af7d..d224fd388d7fc725ca484152ddf39e5e6826e54b 100644 (file)
@@ -86,7 +86,9 @@
                                        };
 
                                        macaddr_factory_e000: macaddr@e000 {
+                                               compatible = "mac-base";
                                                reg = <0xe000 0x6>;
+                                               #nvmem-cell-cells = <1>;
                                        };
                                };
                        };
 };
 
 &gmac0 {
-       nvmem-cells = <&macaddr_factory_e000>;
+       nvmem-cells = <&macaddr_factory_e000 0>;
        nvmem-cell-names = "mac-address";
 };
 
        label = "wan";
        phy-handle = <&ethphy4>;
 
-       nvmem-cells = <&macaddr_factory_e000>;
+       nvmem-cells = <&macaddr_factory_e000 1>;
        nvmem-cell-names = "mac-address";
-       mac-address-increment = <1>;
 };
 
 &mdio {