]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
arm64: dts: broadcom: bcm2712: rpi-5: Add ethernet0 alias
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Sun, 2 Nov 2025 11:14:42 +0000 (13:14 +0200)
committerFlorian Fainelli <florian.fainelli@broadcom.com>
Wed, 5 Nov 2025 18:28:16 +0000 (10:28 -0800)
The RP1 ethernet controller DT node contains a local-mac-address
property to pass the MAC address from the boot loader to the kernel. The
boot loader does not fill the MAC address as the ethernet0 alias is
missing. Add it.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Andrea della Porta <andrea.porta@suse.com>
Link: https://lore.kernel.org/r/20251102111443.18206-1-laurent.pinchart@ideasonboard.com
Fixes: 43456fdfc014 ("arm64: dts: broadcom: Enable RP1 ethernet for Raspberry Pi 5")
Signed-off-by: Florian Fainelli <florian.fainelli@broadcom.com>
arch/arm64/boot/dts/broadcom/bcm2712-rpi-5-b.dts

index 09a849dd09b1a1f1ba6fcb3aa070c22fc19e5d32..3e0319fdb93f7b5fbad56b1ac5ea69f5e86fd174 100644 (file)
 
 #include "bcm2712-rpi-5-b-ovl-rp1.dts"
 
+/ {
+       aliases {
+               ethernet0 = &rp1_eth;
+       };
+};
+
 &pcie2 {
        #include "rp1-nexus.dtsi"
 };