mediatek: filogic: prevent faulty mac address assignment
authorOndřej Niesner <ondra.niesner@seznam.cz>
Sat, 7 Dec 2024 16:55:29 +0000 (17:55 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Mon, 9 Dec 2024 22:57:12 +0000 (23:57 +0100)
commita498a84393a80de9f828b8465906761896ca4940
tree0f54bb3e115ae0979215b209d160a5e1c5c700be
parent59dd9cddf9e72d1f9b4ff7e01ae32d2fa99259d9
mediatek: filogic: prevent faulty mac address assignment

The vendor U-Boot on the Cudy WR3000 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.

Related to: a55ab9e1343e ("mediatek: filogic: prevent faulty mac address assignment")
Fixes: https://github.com/openwrt/openwrt/issues/15587
Signed-off-by: Ondřej Niesner <ondra.niesner@seznam.cz>
Link: https://github.com/openwrt/openwrt/pull/17201
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
target/linux/mediatek/dts/mt7981b-cudy-wr3000-v1.dts