Recent backport patch
b5cb5f352d3133ac8384275be7d47264ad135e74 had missed changing the macaddr_factory address location.
This patch corrects the address location.
Fixes: b5cb5f352d31 ("ramips: fix WAN mac address allocation for Unielec 01 and 06 models")
Signed-off-by: David Bentham <db260179@gmail.com>
[Fix dts node name too]
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
nvmem-cell-names = "mac-address";
};
-&gmac1 {
- nvmem-cells = <&macaddr_factory_e000>;
+&wan {
+ nvmem-cells = <&macaddr_factory_e006>;
nvmem-cell-names = "mac-address";
};
nvmem-cell-names = "mac-address";
};
-&gmac1 {
- nvmem-cells = <&macaddr_factory_e000>;
+&wan {
+ nvmem-cells = <&macaddr_factory_e006>;
nvmem-cell-names = "mac-address";
};
nvmem-cell-names = "mac-address";
};
-&gmac1 {
- nvmem-cells = <&macaddr_factory_e000>;
+&wan {
+ nvmem-cells = <&macaddr_factory_e006>;
nvmem-cell-names = "mac-address";
};