summaryrefslogtreecommitdiffstats
path: root/target/linux/ramips
diff options
context:
space:
mode:
authorShiji Yang <yangshiji66@qq.com>2023-10-08 09:43:28 +0800
committerChristian Marangi <ansuelsmth@gmail.com>2023-10-09 11:15:51 +0200
commit230d5de707e4a31603ccb0a7e2b32df45127b38d (patch)
tree293041f56bf184a12235d6bf42dd80264ddf046b /target/linux/ramips
parent22b0c36ae7e39dc7ae7211ab038c22fb3d8158b0 (diff)
downloadopenwrt-230d5de707e4a31603ccb0a7e2b32df45127b38d.tar.gz
openwrt-230d5de707e4a31603ccb0a7e2b32df45127b38d.tar.bz2
openwrt-230d5de707e4a31603ccb0a7e2b32df45127b38d.zip
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>
Diffstat (limited to 'target/linux/ramips')
-rw-r--r--target/linux/ramips/dts/mt7621_bolt_arion.dts6
1 files 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 7ba413932e..feff4a66e4 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>;
};
};