mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Bastien Curutchet <bastien.curutchet@bootlin.com>
To: Aaro Koskinen <aaro.koskinen@iki.fi>,
	 Andreas Kemnade <andreas@kemnade.info>,
	Kevin Hilman <khilman@baylibre.com>,
	 Roger Quadros <rogerq@kernel.org>,
	Tony Lindgren <tony@atomide.com>,  Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	 Conor Dooley <conor+dt@kernel.org>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>,
	 Thomas Richard <thomas.richard@bootlin.com>,
	linux-omap@vger.kernel.org,  devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org,
	 Bastien Curutchet <bastien.curutchet@bootlin.com>
Subject: [PATCH] ARM: dts: ti: var-som-om44: add local-mac-address property
Date: Wed, 04 Nov 2026 16:23:01 +0100	[thread overview]
Message-ID: <20261104-omap4-dtsi-v1-1-8d987f953fe7@bootlin.com> (raw)

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>


             reply	other threads:[~2026-11-04 15:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-04 15:23 Bastien Curutchet [this message]
2026-11-09 23:48 ` Kevin Hilman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261104-omap4-dtsi-v1-1-8d987f953fe7@bootlin.com \
    --to=bastien.curutchet@bootlin.com \
    --cc=aaro.koskinen@iki.fi \
    --cc=andreas@kemnade.info \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=khilman@baylibre.com \
    --cc=krzk+dt@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=robh@kernel.org \
    --cc=rogerq@kernel.org \
    --cc=thomas.petazzoni@bootlin.com \
    --cc=thomas.richard@bootlin.com \
    --cc=tony@atomide.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®