ath79: ar: convert to mac-base
[openwrt/openwrt.git] / target / linux / ath79 / dts / ar9331_onion_omega.dts
index f1bb5cbd74c29820db74f5931c7dfa252b798ee6..81fab872b5cc661873c64f39ffd1ecaa0c0691ff 100644 (file)
@@ -72,9 +72,8 @@
 &eth1 {
        status = "okay";
 
-       nvmem-cells = <&macaddr_uboot_1fc00>;
+       nvmem-cells = <&macaddr_uboot_1fc00 (-1)>;
        nvmem-cell-names = "mac-address";
-       mac-address-increment = <(-1)>;
 
        gmac-config {
                device = <&gmac>;
                                        #size-cells = <1>;
 
                                        macaddr_uboot_1fc00: macaddr@1fc00 {
+                                               compatible = "mac-base";
                                                reg = <0x1fc00 0x6>;
+                                               #nvmem-cell-cells = <1>;
                                        };
                                };
                        };
 
        mtd-cal-data = <&art 0x1000>;
 
-       nvmem-cells = <&macaddr_uboot_1fc00>;
+       nvmem-cells = <&macaddr_uboot_1fc00 0>;
        nvmem-cell-names = "mac-address";
 };