ramips/mt7621: mikrotik: don't use mtd-mac-address in DTS
authorThibaut VARÈNE <hacks@slashdirt.org>
Mon, 20 Apr 2020 12:35:57 +0000 (14:35 +0200)
committerKoen Vandeputte <koen.vandeputte@ncentric.com>
Fri, 8 May 2020 13:17:18 +0000 (15:17 +0200)
commit5e50515fa6b3e2ddfd7ffb478b2111dc589dfd4e
treedd99f834a399d7d361dfbe927678c237288fb4ce
parent9242d691ec847e20b68a2dcfca3ae3a7f6674be2
ramips/mt7621: mikrotik: don't use mtd-mac-address in DTS

As evidenced here[1] the device MAC address can be stored at a random
offset in the hard_config partition. Rely on sysfs to update the MAC
address correctly.

Adjust config so that WAN is base MAC and LAN is base MAC +1 to better
match label and vendor OS.

[1] https://github.com/openwrt/openwrt/pull/2850#issuecomment-610809021

Signed-off-by: Thibaut VARÈNE <hacks@slashdirt.org>
target/linux/ramips/dts/mt7621_mikrotik_routerboard-750gr3.dts
target/linux/ramips/dts/mt7621_mikrotik_routerboard-m11g.dts
target/linux/ramips/dts/mt7621_mikrotik_routerboard-m33g.dts
target/linux/ramips/mt7621/base-files/etc/board.d/02_network