aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorDavid Bentham <db260179@gmail.com>2022-10-24 09:05:59 +0100
committerHauke Mehrtens <hauke@hauke-m.de>2022-10-30 23:28:19 +0100
commitfe58ee905755512da865aad4543da526a7adc2d4 (patch)
treea3c6ad13f88ad32bad77bac1e9057362549dde4c /target/linux
parent6c5313d77c47c0fcd409e2b513fd4a704e306b1e (diff)
downloadupstream-fe58ee905755512da865aad4543da526a7adc2d4.tar.gz
upstream-fe58ee905755512da865aad4543da526a7adc2d4.tar.bz2
upstream-fe58ee905755512da865aad4543da526a7adc2d4.zip
ramips: Correct Unielec 01 and 06 dts wan macaddr byte location
Recent backport patch b5cb5f352d3133ac8384275be7d47264ad135e74 had missed changing the macaddr_factory address location. This patch corrects the address location. Fixes: b5cb5f352d31 ("ramips: fix WAN mac address allocation for Unielec 01 and 06 models") Signed-off-by: David Bentham <db260179@gmail.com> [Fix dts node name too] Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/ramips/dts/mt7621_unielec_u7621-01-16m.dts4
-rw-r--r--target/linux/ramips/dts/mt7621_unielec_u7621-06-16m.dts4
-rw-r--r--target/linux/ramips/dts/mt7621_unielec_u7621-06-64m.dts4
3 files changed, 6 insertions, 6 deletions
diff --git a/target/linux/ramips/dts/mt7621_unielec_u7621-01-16m.dts b/target/linux/ramips/dts/mt7621_unielec_u7621-01-16m.dts
index aa03a37475..6e698f6e77 100644
--- a/target/linux/ramips/dts/mt7621_unielec_u7621-01-16m.dts
+++ b/target/linux/ramips/dts/mt7621_unielec_u7621-01-16m.dts
@@ -52,8 +52,8 @@
nvmem-cell-names = "mac-address";
};
-&gmac1 {
- nvmem-cells = <&macaddr_factory_e000>;
+&wan {
+ nvmem-cells = <&macaddr_factory_e006>;
nvmem-cell-names = "mac-address";
};
diff --git a/target/linux/ramips/dts/mt7621_unielec_u7621-06-16m.dts b/target/linux/ramips/dts/mt7621_unielec_u7621-06-16m.dts
index 81ee02ea14..268d5834b5 100644
--- a/target/linux/ramips/dts/mt7621_unielec_u7621-06-16m.dts
+++ b/target/linux/ramips/dts/mt7621_unielec_u7621-06-16m.dts
@@ -57,8 +57,8 @@
nvmem-cell-names = "mac-address";
};
-&gmac1 {
- nvmem-cells = <&macaddr_factory_e000>;
+&wan {
+ nvmem-cells = <&macaddr_factory_e006>;
nvmem-cell-names = "mac-address";
};
diff --git a/target/linux/ramips/dts/mt7621_unielec_u7621-06-64m.dts b/target/linux/ramips/dts/mt7621_unielec_u7621-06-64m.dts
index 53a1c800e3..3b66f860cd 100644
--- a/target/linux/ramips/dts/mt7621_unielec_u7621-06-64m.dts
+++ b/target/linux/ramips/dts/mt7621_unielec_u7621-06-64m.dts
@@ -58,8 +58,8 @@
nvmem-cell-names = "mac-address";
};
-&gmac1 {
- nvmem-cells = <&macaddr_factory_e000>;
+&wan {
+ nvmem-cells = <&macaddr_factory_e006>;
nvmem-cell-names = "mac-address";
};