]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: freescale: imx8-apalis: Add ethernet alias
authorFrancesco Dolcini <francesco.dolcini@toradex.com>
Tue, 9 Dec 2025 08:57:46 +0000 (09:57 +0100)
committerShawn Guo <shawnguo@kernel.org>
Tue, 30 Dec 2025 02:59:32 +0000 (10:59 +0800)
Add alias for the apalis first ethernet interface, this ensures
consistent interface naming (e.g. `end0`) and this is used by the
firmware to correctly set the MAC address.

Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/imx8-apalis-v1.1.dtsi

index 9153dddfd3b848b9309a6427c2ed7dd269be14ac..6fc82b5eb58c1d6f11b20bd935f8af58f40120f9 100644 (file)
@@ -6,6 +6,10 @@
 #include <dt-bindings/pwm/pwm.h>
 
 / {
+       aliases {
+               ethernet0 = &fec1;
+       };
+
        chosen {
                stdout-path = &lpuart1;
        };