ramips: correct NVMEM MAC address node name and label for Bolt Arion
authorShiji Yang <yangshiji66@qq.com>
Sun, 8 Oct 2023 01:43:28 +0000 (09:43 +0800)
committerChristian Marangi <ansuelsmth@gmail.com>
Mon, 9 Oct 2023 09:15:51 +0000 (11:15 +0200)
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>
target/linux/ramips/dts/mt7621_bolt_arion.dts

index 7ba413932ea9fa9a7e01c71e330a4d1442435b07..feff4a66e4846700ff065360e08a8669c6a18435 100644 (file)
 };
 
 &gmac0 {
-       nvmem-cells = <&macaddr_factory_4000>;
+       nvmem-cells = <&macaddr_factory_28>;
        nvmem-cell-names = "mac-address";
        mac-address-increment = <3>;
 };
                wan: port@1 {
                        status = "okay";
                        label = "wan";
-                       nvmem-cells = <&macaddr_factory_4000>;
+                       nvmem-cells = <&macaddr_factory_28>;
                        nvmem-cell-names = "mac-address";
                };
 
        #address-cells = <1>;
        #size-cells = <1>;
 
-       macaddr_factory_4000: macaddr@4000 {
+       macaddr_factory_28: macaddr@28 {
                reg = <0x28 0x6>;
        };
 };