mediatek: filogic: prevent faulty mac address assignment
authorLeon M. Busch-George <leon@georgemail.eu>
Fri, 17 May 2024 18:10:25 +0000 (20:10 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 25 May 2024 10:41:26 +0000 (12:41 +0200)
commita55ab9e1343e85021253e9c55f67adf33ad68f09
tree8b18cf81a1f5a3121268d91cfdf430d42cc1236f
parente7661a808e87753f47cea02312c85389f323ddf7
mediatek: filogic: prevent faulty mac address assignment

The vendor U-Boot on the Cudy M3000 and the Yuncore AX835 assign random
mac addresses on boot and set the 'local-mac-address' property which
prevents Openwrt from assigning the correct address from evmem.

This patch removes the alias for ethernet0 so that U-Boot doesn't add the
property, removes the workaround from 02_network, and adds back the nvmem
definition for the M3000.

Signed-off-by: Leon M. Busch-George <leon@georgemail.eu>
target/linux/mediatek/dts/mt7981b-cudy-m3000-v1.dts
target/linux/mediatek/dts/mt7981b-yuncore-ax835.dts
target/linux/mediatek/filogic/base-files/etc/board.d/02_network