mediatek: bpi-r4: add ethernet aliases to DT
authorDaniel Golle <daniel@makrotopia.org>
Mon, 6 May 2024 15:37:24 +0000 (16:37 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Mon, 6 May 2024 15:38:44 +0000 (16:38 +0100)
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 <daniel@makrotopia.org>
target/linux/mediatek/files-6.6/arch/arm64/boot/dts/mediatek/mt7988a-bananapi-bpi-r4.dtsi

index 49d7edcd6bd78b58ef73c301ac0827f2f3cdfc3b..ba19f69bbf07f5453b231ba076d16222c57642cc 100644 (file)
                     "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 {