ath79: fix MAC address assignment for TP-Link ar7241 devices
authorWill Moss <willormos@gmail.com>
Wed, 3 Aug 2022 11:37:47 +0000 (11:37 +0000)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 12 Nov 2022 20:55:11 +0000 (21:55 +0100)
commitd25e1a3bde68dadaa480e3c9ee7cc767e03a4170
treedc868cd589a0c1920d819db8f8987c1ed94c051f
parent7fa635131099b247db2199d046cc11c0dc2d16d7
ath79: fix MAC address assignment for TP-Link ar7241 devices

On TP-Link ar7241 devices LAN and WAN interfaces are swapped. Keeping
that in mind fix MAC address assignment as used in vendor firmware:
LAN MAC - main MAC stored in u-boot and printed on label
WAN MAC - LAN MAC + 1

Signed-off-by: Will Moss <willormos@gmail.com>
(cherry picked from commit 5a1af6ed621d4547d8bf486d0d3e4de5443b9b58)
target/linux/ath79/dts/ar7241_tplink.dtsi