From 230d5de707e4a31603ccb0a7e2b32df45127b38d Mon Sep 17 00:00:00 2001 From: Shiji Yang Date: Sun, 8 Oct 2023 09:43:28 +0800 Subject: [PATCH] ramips: correct NVMEM MAC address node name and label for Bolt Arion The node name&label should match the address in the 'reg' property, so it's better to change the incorrect offset to the 0x28. Signed-off-by: Shiji Yang --- target/linux/ramips/dts/mt7621_bolt_arion.dts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/target/linux/ramips/dts/mt7621_bolt_arion.dts b/target/linux/ramips/dts/mt7621_bolt_arion.dts index 7ba413932ea9..feff4a66e484 100644 --- a/target/linux/ramips/dts/mt7621_bolt_arion.dts +++ b/target/linux/ramips/dts/mt7621_bolt_arion.dts @@ -137,7 +137,7 @@ }; &gmac0 { - nvmem-cells = <&macaddr_factory_4000>; + nvmem-cells = <&macaddr_factory_28>; nvmem-cell-names = "mac-address"; mac-address-increment = <3>; }; @@ -152,7 +152,7 @@ wan: port@1 { status = "okay"; label = "wan"; - nvmem-cells = <&macaddr_factory_4000>; + nvmem-cells = <&macaddr_factory_28>; nvmem-cell-names = "mac-address"; }; @@ -179,7 +179,7 @@ #address-cells = <1>; #size-cells = <1>; - macaddr_factory_4000: macaddr@4000 { + macaddr_factory_28: macaddr@28 { reg = <0x28 0x6>; }; }; -- 2.30.2