ramips: rtxxxx: remove mac-address-increment

Deprecated and replaced upstream with mac-base.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev 2023-11-23 17:40:09 -08:00 committed by Christian Marangi
parent 5f479a4f34
commit b976fa5d2b
No known key found for this signature in database
GPG Key ID: AC001D09ADBFEAD7
3 changed files with 11 additions and 8 deletions

View File

@ -64,9 +64,8 @@
&ethernet { &ethernet {
status = "okay"; status = "okay";
nvmem-cells = <&macaddr_factory_8004>; nvmem-cells = <&macaddr_factory_8004 1>;
nvmem-cell-names = "mac-address"; nvmem-cell-names = "mac-address";
mac-address-increment = <1>;
port@0 { port@0 {
phy-handle = <&phy0>; phy-handle = <&phy0>;
@ -140,7 +139,9 @@
}; };
macaddr_factory_8004: macaddr@8004 { macaddr_factory_8004: macaddr@8004 {
compatible = "mac-base";
reg = <0x8004 0x6>; reg = <0x8004 0x6>;
#nvmem-cell-cells = <1>;
}; };
}; };
}; };

View File

@ -51,7 +51,9 @@
}; };
macaddr_factory_4: macaddr@4 { macaddr_factory_4: macaddr@4 {
compatible = "mac-base";
reg = <0x4 0x6>; reg = <0x4 0x6>;
#nvmem-cell-cells = <1>;
}; };
}; };
}; };
@ -109,7 +111,7 @@
}; };
&ethernet { &ethernet {
nvmem-cells = <&macaddr_factory_4>; nvmem-cells = <&macaddr_factory_4 0>;
nvmem-cell-names = "mac-address"; nvmem-cell-names = "mac-address";
port@0 { port@0 {
@ -129,7 +131,6 @@
&wmac { &wmac {
ralink,5ghz = <0>; ralink,5ghz = <0>;
nvmem-cells = <&eeprom_factory_0>, <&macaddr_factory_4>; nvmem-cells = <&eeprom_factory_0>, <&macaddr_factory_4 1>;
nvmem-cell-names = "eeprom", "mac-address"; nvmem-cell-names = "eeprom", "mac-address";
mac-address-increment = <1>;
}; };

View File

@ -51,7 +51,9 @@
}; };
macaddr_factory_4: macaddr@4 { macaddr_factory_4: macaddr@4 {
compatible = "mac-base";
reg = <0x4 0x6>; reg = <0x4 0x6>;
#nvmem-cell-cells = <1>;
}; };
}; };
}; };
@ -109,7 +111,7 @@
&ethernet { &ethernet {
status = "okay"; status = "okay";
nvmem-cells = <&macaddr_factory_4>; nvmem-cells = <&macaddr_factory_4 0>;
nvmem-cell-names = "mac-address"; nvmem-cell-names = "mac-address";
port@0 { port@0 {
@ -155,7 +157,6 @@
&wmac { &wmac {
ralink,5ghz = <0>; ralink,5ghz = <0>;
nvmem-cells = <&eeprom_factory_0>, <&macaddr_factory_4>; nvmem-cells = <&eeprom_factory_0>, <&macaddr_factory_4 3>;
nvmem-cell-names = "eeprom", "mac-address"; nvmem-cell-names = "eeprom", "mac-address";
mac-address-increment = <3>;
}; };