From: Daniel Golle Date: Mon, 6 May 2024 15:37:24 +0000 (+0100) Subject: mediatek: bpi-r4: add ethernet aliases to DT X-Git-Tag: v24.10.0-rc1~1960 X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=0b0e3e22f8830c6f0224509f25eb0f55d36ba7b5;p=openwrt%2Fopenwrt.git 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 --- 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 {