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 <yangshiji66@qq.com>
(cherry picked from commit 230d5de707)
This commit is contained in:
Shiji Yang 2023-10-08 09:43:28 +08:00 committed by Tianling Shen
parent e6ebac860b
commit f3b7fb09cc
No known key found for this signature in database
GPG Key ID: 6850B6345C862176

View File

@ -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>;
};
};