ipq806x: Fix nighthawk R7800/XR450/XR500 wan MAC
authorHannu Nyman <hannu.nyman@iki.fi>
Wed, 6 Dec 2023 12:49:42 +0000 (14:49 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Wed, 6 Dec 2023 21:43:34 +0000 (22:43 +0100)
Correct the NVMEM mac-base field usage to read the wan MAC
correctly from flash.

Reference to discussion at https://github.com/openwrt/openwrt/pull/13952#issuecomment-1842749122

Fixes: d264d3a60 ("ipq806x: remove mac-address-increment")
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8065-nighthawk.dtsi

index 4662e2843cb00e8c73c69eaa9af4bb1497f12636..902df23501e72c47fc9a98ecf6f98eaeda695927 100644 (file)
        pinctrl-0 = <&rgmii2_pins>;
        pinctrl-names = "default";
 
-       nvmem-cells = <&macaddr_art_6>;
+       nvmem-cells = <&macaddr_art_6 0>;
        nvmem-cell-names = "mac-address";
 
        fixed-link {