On TP-Link TL-WR740N/TL-WR741ND v4 LAN MAC address (eth1 in DTS) is main
device MAC address, so do not increment it. WAN MAC is LAN MAC + 1.
Signed-off-by: Will Moss <willormos@gmail.com>
(cherry picked from commit
288b0004bfa981e3dbb8678ee3289509c3930217)
};
};
-ð0 {
+ð0 { /* WAN interface, initialized last as eth1 */
status = "okay";
nvmem-cells = <&macaddr_uboot_1fc00>;
};
};
-ð1 {
+ð1 { /* LAN interface, initialized first as eth0 */
status = "okay";
nvmem-cells = <&macaddr_uboot_1fc00>;
nvmem-cell-names = "mac-address";
- mac-address-increment = <(-1)>;
};
&wmac {