aboutsummaryrefslogtreecommitdiff
path: root/target/linux/ramips
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2023-11-23 17:40:09 -0800
committerChristian Marangi <ansuelsmth@gmail.com>2023-11-25 23:39:52 +0100
commitb976fa5d2b57174665d06de79264148d30842ddc (patch)
tree6ffdd3800a8f0c22bab28b7e034cb16058607622 /target/linux/ramips
parent5f479a4f343019bc9511ba841042d42d045f3fbf (diff)
ramips: rtxxxx: remove mac-address-increment
Deprecated and replaced upstream with mac-base. Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'target/linux/ramips')
-rw-r--r--target/linux/ramips/dts/rt3883_sitecom_wlr-6000.dts5
-rw-r--r--target/linux/ramips/dts/rt3883_trendnet_tew-691gr.dts7
-rw-r--r--target/linux/ramips/dts/rt3883_trendnet_tew-692gr.dts7
3 files changed, 11 insertions, 8 deletions
diff --git a/target/linux/ramips/dts/rt3883_sitecom_wlr-6000.dts b/target/linux/ramips/dts/rt3883_sitecom_wlr-6000.dts
index 4b4297a568..17f3c10bc9 100644
--- a/target/linux/ramips/dts/rt3883_sitecom_wlr-6000.dts
+++ b/target/linux/ramips/dts/rt3883_sitecom_wlr-6000.dts
@@ -64,9 +64,8 @@
&ethernet {
status = "okay";
- nvmem-cells = <&macaddr_factory_8004>;
+ nvmem-cells = <&macaddr_factory_8004 1>;
nvmem-cell-names = "mac-address";
- mac-address-increment = <1>;
port@0 {
phy-handle = <&phy0>;
@@ -140,7 +139,9 @@
};
macaddr_factory_8004: macaddr@8004 {
+ compatible = "mac-base";
reg = <0x8004 0x6>;
+ #nvmem-cell-cells = <1>;
};
};
};
diff --git a/target/linux/ramips/dts/rt3883_trendnet_tew-691gr.dts b/target/linux/ramips/dts/rt3883_trendnet_tew-691gr.dts
index 4cd356e7a1..f23dc1cb03 100644
--- a/target/linux/ramips/dts/rt3883_trendnet_tew-691gr.dts
+++ b/target/linux/ramips/dts/rt3883_trendnet_tew-691gr.dts
@@ -51,7 +51,9 @@
};
macaddr_factory_4: macaddr@4 {
+ compatible = "mac-base";
reg = <0x4 0x6>;
+ #nvmem-cell-cells = <1>;
};
};
};
@@ -109,7 +111,7 @@
};
&ethernet {
- nvmem-cells = <&macaddr_factory_4>;
+ nvmem-cells = <&macaddr_factory_4 0>;
nvmem-cell-names = "mac-address";
port@0 {
@@ -129,7 +131,6 @@
&wmac {
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";
- mac-address-increment = <1>;
};
diff --git a/target/linux/ramips/dts/rt3883_trendnet_tew-692gr.dts b/target/linux/ramips/dts/rt3883_trendnet_tew-692gr.dts
index 84fb9affd2..ee2ca91af7 100644
--- a/target/linux/ramips/dts/rt3883_trendnet_tew-692gr.dts
+++ b/target/linux/ramips/dts/rt3883_trendnet_tew-692gr.dts
@@ -51,7 +51,9 @@
};
macaddr_factory_4: macaddr@4 {
+ compatible = "mac-base";
reg = <0x4 0x6>;
+ #nvmem-cell-cells = <1>;
};
};
};
@@ -109,7 +111,7 @@
&ethernet {
status = "okay";
- nvmem-cells = <&macaddr_factory_4>;
+ nvmem-cells = <&macaddr_factory_4 0>;
nvmem-cell-names = "mac-address";
port@0 {
@@ -155,7 +157,6 @@
&wmac {
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";
- mac-address-increment = <3>;
};