ramips: fix MAC address setup for Xiaomi MiWiFi Nano
authorSungbo Eo <mans0n@gorani.run>
Sun, 22 Dec 2019 15:36:11 +0000 (00:36 +0900)
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>
Sun, 22 Dec 2019 16:53:13 +0000 (17:53 +0100)
commitea5cf7c0dd98db62de1b368096f903177636b6e7
treecbf45a1fced3ba93742fbeb469fa119262a4e912
parent74e9f95c79dc574c2407ed798f37c9a4c989e55d
ramips: fix MAC address setup for Xiaomi MiWiFi Nano

MAC addresses are stored in factory partition at:
0x0004: WiFi 2.4GHz (label_mac +1)
0x0028: LAN, WAN (label_mac)

Signed-off-by: Sungbo Eo <mans0n@gorani.run>
target/linux/ramips/dts/mt7628an_xiaomi_miwifi-nano.dts
target/linux/ramips/mt76x8/base-files/etc/board.d/02_network