]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
arm64: dts: mediatek: mt7988a-bpi-r4: add aliases for ethernet
authorFrank Wunderlich <frank-w@public-files.de>
Wed, 9 Jul 2025 11:09:47 +0000 (13:09 +0200)
committerMatthias Brugger <matthias.bgg@gmail.com>
Tue, 9 Sep 2025 12:52:30 +0000 (14:52 +0200)
Add aliases for gmacs to allow bootloader setting mac-adresses.

Signed-off-by: Frank Wunderlich <frank-w@public-files.de>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20250709111147.11843-12-linux@fw-web.de
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
arch/arm64/boot/dts/mediatek/mt7988a-bananapi-bpi-r4.dtsi

index 5fd222df440d81f33ceffd501a746b75b956b04d..6a62da34a51e527e9cc3750555464195c7f9d2a2 100644 (file)
@@ -9,6 +9,12 @@
 #include "mt7988a.dtsi"
 
 / {
+       aliases {
+               ethernet0 = &gmac0;
+               ethernet1 = &gmac1;
+               ethernet2 = &gmac2;
+       };
+
        chosen {
                stdout-path = "serial0:115200n8";
        };