linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2] arm64: dts: broadcom: bcm2712: rpi-5: Add ethernet0 alias
@ 2025-11-02 11:14 Laurent Pinchart
  2025-11-02 15:35 ` Andrew Lunn
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Laurent Pinchart @ 2025-11-02 11:14 UTC (permalink / raw)
  To: Broadcom internal kernel review list, Florian Fainelli
  Cc: Andrea della Porta, Andrew Lunn, Conor Dooley, Dave Stevenson,
	Ivan T. Ivanov, Krzysztof Kozlowski, Phil Elwell, Rob Herring,
	Stanimir Varbanov, devicetree, linux-arm-kernel, linux-rpi-kernel

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>
---
Changes since v1:

- Moved the alias to bcm2712-rpi-5-b.dts
---
 arch/arm64/boot/dts/broadcom/bcm2712-rpi-5-b.dts | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/arch/arm64/boot/dts/broadcom/bcm2712-rpi-5-b.dts b/arch/arm64/boot/dts/broadcom/bcm2712-rpi-5-b.dts
index 09a849dd09b1..3e0319fdb93f 100644
--- a/arch/arm64/boot/dts/broadcom/bcm2712-rpi-5-b.dts
+++ b/arch/arm64/boot/dts/broadcom/bcm2712-rpi-5-b.dts
@@ -18,6 +18,12 @@
 
 #include "bcm2712-rpi-5-b-ovl-rp1.dts"
 
+/ {
+	aliases {
+		ethernet0 = &rp1_eth;
+	};
+};
+
 &pcie2 {
 	#include "rp1-nexus.dtsi"
 };

base-commit: dcb6fa37fd7bc9c3d2b066329b0d27dedf8becaa
-- 
Regards,

Laurent Pinchart



^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2025-12-12 10:23 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-02 11:14 [PATCH v2] arm64: dts: broadcom: bcm2712: rpi-5: Add ethernet0 alias Laurent Pinchart
2025-11-02 15:35 ` Andrew Lunn
2025-11-02 15:48   ` Laurent Pinchart
2025-11-02 16:16     ` Florian Fainelli
2025-11-03  9:29 ` Andrea della Porta
2025-11-03 16:57 ` Florian Fainelli
2025-12-11 18:42 ` Rob Herring
2025-12-12  2:37   ` Laurent Pinchart
2025-12-12 10:25     ` Andrea della Porta

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).