ramips: Correct Unielec 01 and 06 dts wan macaddr byte location
authorDavid Bentham <db260179@gmail.com>
Mon, 24 Oct 2022 08:05:59 +0000 (09:05 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 30 Oct 2022 22:28:19 +0000 (23:28 +0100)
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>
target/linux/ramips/dts/mt7621_unielec_u7621-01-16m.dts
target/linux/ramips/dts/mt7621_unielec_u7621-06-16m.dts
target/linux/ramips/dts/mt7621_unielec_u7621-06-64m.dts

index aa03a374754dadbc2435a5df58e131c527701704..6e698f6e77dd162e14511c26be22796d7338fd89 100644 (file)
@@ -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";
 };
 
index 81ee02ea143c20a3ec3daa9b8063a1ead6a4fc90..268d5834b50953810f820e8f8ac159987c3af9a6 100644 (file)
@@ -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";
 };
 
index 53a1c800e36545e4b03dd838f95037b94e80d77e..3b66f860cd7419c29e40924cb322d227d3699edb 100644 (file)
@@ -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";
 };