mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-21 22:47:56 +00:00
octeon: remove mac-address-increment
It's deprecated. Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
parent
59a66d3c9b
commit
733a99d824
@ -14,7 +14,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";
|
||||
};
|
||||
};
|
||||
|
@ -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 {
|
||||
@ -55,9 +54,8 @@
|
||||
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)>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
@ -117,16 +117,20 @@
|
||||
};
|
||||
|
||||
partition@400000 {
|
||||
compatible = "nvmem-cells";
|
||||
reg = <0x400000 0x10000>;
|
||||
label = "eeprom";
|
||||
read-only;
|
||||
reg = <0x400000 0x10000>;
|
||||
|
||||
nvmem-layout {
|
||||
compatible = "fixed-layout";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
macaddr_eeprom_0: macaddr@0 {
|
||||
compatible = "mac-base";
|
||||
reg = <0x0 0x6>;
|
||||
#nvmem-cell-cells = <1>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
@ -194,9 +198,8 @@
|
||||
status = "okay";
|
||||
phy-mode = "sgmii";
|
||||
phy-handle = <&phy5>;
|
||||
nvmem-cells = <&macaddr_eeprom_0>;
|
||||
nvmem-cells = <&macaddr_eeprom_0 1>;
|
||||
nvmem-cell-names = "mac-address";
|
||||
mac-address-increment = <(1)>;
|
||||
};
|
||||
|
||||
ethernet@2 {
|
||||
@ -204,9 +207,8 @@
|
||||
status = "okay";
|
||||
phy-mode = "sgmii";
|
||||
phy-handle = <&phy6>;
|
||||
nvmem-cells = <&macaddr_eeprom_0>;
|
||||
nvmem-cells = <&macaddr_eeprom_0 2>;
|
||||
nvmem-cell-names = "mac-address";
|
||||
mac-address-increment = <(2)>;
|
||||
};
|
||||
|
||||
ethernet@3 {
|
||||
@ -214,10 +216,8 @@
|
||||
status = "okay";
|
||||
phy-mode = "sgmii";
|
||||
phy-handle = <&phy7>;
|
||||
nvmem-cells = <&macaddr_eeprom_0>;
|
||||
nvmem-cells = <&macaddr_eeprom_0 3>;
|
||||
nvmem-cell-names = "mac-address";
|
||||
mac-address-increment = <(3)>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user