mediatek: use mac-base
[openwrt/staging/hauke.git] / target / linux / mediatek / dts / mt7629-iptime-a6004mx.dts
index 20aeac6e14185e62ac822ffb0bcfae417322adae..5b1b3083a066589e535fb507bdc6c3f113e0a33a 100644 (file)
@@ -97,9 +97,8 @@
                compatible = "mediatek,eth-mac";
                reg = <0>;
                phy-mode = "2500base-x";
-               nvmem-cells = <&macaddr_factory_4>;
+               nvmem-cells = <&macaddr_factory_4 3>;
                nvmem-cell-names = "mac-address";
-               mac-address-increment = <3>;
 
                fixed-link {
                        speed = <2500>;
                reg = <1>;
                phy-mode = "gmii";
                phy-handle = <&phy0>;
-               nvmem-cells = <&macaddr_factory_4>;
+               nvmem-cells = <&macaddr_factory_4 1>;
                nvmem-cell-names = "mac-address";
-               mac-address-increment = <1>;
        };
 
        mdio: mdio-bus {
                                        #size-cells = <1>;
 
                                        macaddr_factory_4: macaddr@4 {
+                                               compatible = "mac-base";
                                                reg = <0x4 0x6>;
+                                               #nvmem-cell-cells = <1>;
                                        };
                                };
                        };