mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] ARM: dts: ti: var-som-om44: add local-mac-address property
@ 2026-11-04 15:23 Bastien Curutchet
  2026-11-09 23:48 ` Kevin Hilman
  0 siblings, 1 reply; 2+ messages in thread
From: Bastien Curutchet @ 2026-11-04 15:23 UTC (permalink / raw)
  To: Aaro Koskinen, Andreas Kemnade, Kevin Hilman, Roger Quadros,
	Tony Lindgren, Rob Herring, Krzysztof Kozlowski, Conor Dooley
  Cc: Thomas Petazzoni, Thomas Richard, linux-omap, devicetree,
	linux-kernel, Bastien Curutchet

Commit d8f1b27c9f12 ("ARM: dts: ti: var-som-om44: Add USB Ethernet
controller node") added the Ethernet node to allow the bootloader to
patch the device-tree to set the MAC address.

U-Boot has an already-existing helper that does that but it needs the
local-mac-address property to be already in the device-tree and an
'ethernet' alias for the Ethernet node.

Add the alias and the local-mac-address property to allow the use of
this already existing helper in U-Boot.

Signed-off-by: Bastien Curutchet <bastien.curutchet@bootlin.com>
---
On U-Boot side, the support for this has entered the main branch with
commit f5df14cb949 ("omap4-var-som: forward MAC address to Linux")
---
 arch/arm/boot/dts/ti/omap/omap4-var-som-om44.dtsi | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/arch/arm/boot/dts/ti/omap/omap4-var-som-om44.dtsi b/arch/arm/boot/dts/ti/omap/omap4-var-som-om44.dtsi
index 9e04aa70f982..6c615dd71491 100644
--- a/arch/arm/boot/dts/ti/omap/omap4-var-som-om44.dtsi
+++ b/arch/arm/boot/dts/ti/omap/omap4-var-som-om44.dtsi
@@ -10,6 +10,10 @@ / {
 	model = "Variscite VAR-SOM-OM44";
 	compatible = "variscite,var-som-om44", "ti,omap4460", "ti,omap4";
 
+	aliases {
+		ethernet = &ethernet;
+	};
+
 	memory@80000000 {
 		device_type = "memory";
 		reg = <0x80000000 0x40000000>; /* 1 GB */
@@ -334,6 +338,8 @@ usbhub: hub@1 {
 		ethernet: ethernet@3 {
 			compatible = "usb424,7500";
 			reg = <3>;
+
+			local-mac-address = [00 00 00 00 00 00];
 		};
 	};
 };

---
base-commit: 6628e7d4c6b25c8d18f1345e3a20d21829aae7e4
change-id: 20261102-omap4-dtsi-16d41c491c81

Best regards,
-- 
Bastien Curutchet <bastien.curutchet@bootlin.com>


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

end of thread, other threads:[~2026-11-09 23:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-04 15:23 [PATCH] ARM: dts: ti: var-som-om44: add local-mac-address property Bastien Curutchet
2026-11-09 23:48 ` Kevin Hilman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®