From: David Bentham Date: Mon, 24 Oct 2022 08:05:59 +0000 (+0100) Subject: ramips: Correct Unielec 01 and 06 dts wan macaddr byte location X-Git-Tag: v22.03.3~197 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fe58ee905755512da865aad4543da526a7adc2d4;p=thirdparty%2Fopenwrt.git 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 [Fix dts node name too] Signed-off-by: Hauke Mehrtens --- 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 aa03a374754..6e698f6e77d 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 81ee02ea143..268d5834b50 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 53a1c800e36..3b66f860cd7 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"; };