octeon: remove mac-address-increment
[openwrt/staging/jow.git] / target / linux / octeon / files / arch / mips / boot / dts / cavium-octeon / cn7130_ubnt_edgerouter-6p.dts
index c1a41cbf705da78e1dc35da63370eece995ae879..270e2a32648c15f30ff317c95a411a0c1fd13bb1 100644 (file)
@@ -32,7 +32,7 @@
                        status = "okay";
                        phy-mode = "sgmii";
                        phy-handle = <&phy4>;
-                       nvmem-cells = <&macaddr_eeprom_0>;
+                       nvmem-cells = <&macaddr_eeprom_0 0>;
                        nvmem-cell-names = "mac-address";
                };
        };
@@ -45,9 +45,8 @@
                        status = "okay";
                        phy-mode = "sgmii";
                        phy-handle = <&phy8>;
-                       nvmem-cells = <&macaddr_eeprom_0>;
+                       nvmem-cells = <&macaddr_eeprom_0 4>;
                        nvmem-cell-names = "mac-address";
-                       mac-address-increment = <(4)>;
                };
 
                ethernet@1 {
                        status = "okay";
                        phy-mode = "sgmii";
                        phy-handle = <&phy9>;
-                       nvmem-cells = <&macaddr_eeprom_0>;
+                       nvmem-cells = <&macaddr_eeprom_0 5>;
                        nvmem-cell-names = "mac-address";
-                       mac-address-increment = <(5)>;
                };
        };
 };
 
-&eeprom {
-       compatible = "nvmem-cells";
-       #address-cells = <1>;
-       #size-cells = <1>;
-
-       macaddr_eeprom_0: macaddr@0 {
-               reg = <0x0 0x6>;
-       };
-};