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)
committerRafał Miłecki <rafal@milecki.pl>
Mon, 15 Jul 2024 14:13:59 +0000 (16:13 +0200)
commitd3552ccb178a1a19a52927146220e05e2312cd72
tree3e51fc05fe945631a6ecac269bfdfd5d0bc22958
parent74df6ce9db7d4ba7a547a1144801a0fe452ff828
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>
(cherry picked from commit a55ab9e1343e85021253e9c55f67adf33ad68f09)
target/linux/mediatek/dts/mt7981b-cudy-m3000-v1.dts
target/linux/mediatek/filogic/base-files/etc/board.d/02_network