mpc85xx: remove mac-address-increment
[openwrt/staging/hauke.git] / target / linux / mpc85xx / files / arch / powerpc / boot / dts / hiveap-330.dts
index a807403a07a43f5f26b2b47b886788d137680303..f74aca58c0d17fbba5d846dfb8eb7a3a9bbeee66 100644 (file)
                                        label = "hw-info";
                                        read-only;
 
-                                       compatible = "nvmem-cells";
-                                       #address-cells = <1>;
-                                       #size-cells = <1>;
-
-                                       macaddr_hwinfo_0: macaddr@0 {
-                                               reg = <0x0 0x6>;
+                                       nvmem-layout {
+                                               compatible = "fixed-layout";
+                                               #address-cells = <1>;
+                                               #size-cells = <1>;
+
+                                               macaddr_hwinfo_0: macaddr@0 {
+                                                       compatible = "mac-base";
+                                                       reg = <0x0 0x6>;
+                                                       #nvmem-cell-cells = <1>;
+                                               };
                                        };
                                };
 
                        status = "okay";
                        phy-handle = <&phy0>;
                        phy-connection-type = "rgmii-id";
-                       nvmem-cells = <&macaddr_hwinfo_0>;
+                       nvmem-cells = <&macaddr_hwinfo_0 0>;
                        nvmem-cell-names = "mac-address";
                };
 
                        status = "okay";
                        phy-handle = <&phy1>;
                        phy-connection-type = "rgmii-id";
-                       nvmem-cells = <&macaddr_hwinfo_0>;
+                       nvmem-cells = <&macaddr_hwinfo_0 1>;
                        nvmem-cell-names = "mac-address";
-                       mac-address-increment = <1>;
                };
 
                gpio0: gpio-controller@fc00 {