From 0b0e3e22f8830c6f0224509f25eb0f55d36ba7b5 Mon Sep 17 00:00:00 2001 From: Daniel Golle Date: Mon, 6 May 2024 16:37:24 +0100 Subject: [PATCH] mediatek: bpi-r4: add ethernet aliases to DT Adding the aliases also for Linux 6.6 was forgotten and is required for U-Boot to hand down persistent MAC addresses to Linux. Fixes: 5709254690 ("mediatek: bpi-r4: store random MAC addresses for the BPi-R4") Signed-off-by: Daniel Golle --- .../arch/arm64/boot/dts/mediatek/mt7988a-bananapi-bpi-r4.dtsi | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/target/linux/mediatek/files-6.6/arch/arm64/boot/dts/mediatek/mt7988a-bananapi-bpi-r4.dtsi b/target/linux/mediatek/files-6.6/arch/arm64/boot/dts/mediatek/mt7988a-bananapi-bpi-r4.dtsi index 49d7edcd6b..ba19f69bbf 100644 --- a/target/linux/mediatek/files-6.6/arch/arm64/boot/dts/mediatek/mt7988a-bananapi-bpi-r4.dtsi +++ b/target/linux/mediatek/files-6.6/arch/arm64/boot/dts/mediatek/mt7988a-bananapi-bpi-r4.dtsi @@ -17,11 +17,13 @@ "mediatek,mt7988a"; aliases { - serial0 = &uart0; + ethernet0 = &gmac0; + ethernet1 = &gmac1; led-boot = &led_green; led-failsafe = &led_green; led-running = &led_green; led-upgrade = &led_green; + serial0 = &uart0; }; chosen {