* [PATCH] ARM: dts: stm32: Add nvmem-cells to ethernet nodes for constant mac-addresses
@ 2025-03-28 17:14 Uwe Kleine-König
2025-04-24 15:06 ` Uwe Kleine-König
0 siblings, 1 reply; 4+ messages in thread
From: Uwe Kleine-König @ 2025-03-28 17:14 UTC (permalink / raw)
To: Maxime Coquelin, Alexandre Torgue
Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, devicetree,
linux-stm32, linux-arm-kernel, Ahmad Fatoum
The efuse device tree description already has the two labels pointing to
the efuse nodes that specify the mac-addresses to be used. Wire them up
to the ethernet nodes. This is enough to make barebox pick the right
mac-addresses and pass them to Linux.
Suggested-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@baylibre.com>
---
arch/arm/boot/dts/st/stm32mp131.dtsi | 2 ++
arch/arm/boot/dts/st/stm32mp133.dtsi | 2 ++
2 files changed, 4 insertions(+)
diff --git a/arch/arm/boot/dts/st/stm32mp131.dtsi b/arch/arm/boot/dts/st/stm32mp131.dtsi
index 8512a6e46b33..9175ed77d769 100644
--- a/arch/arm/boot/dts/st/stm32mp131.dtsi
+++ b/arch/arm/boot/dts/st/stm32mp131.dtsi
@@ -1609,6 +1609,8 @@ ethernet1: ethernet@5800a000 {
snps,axi-config = <&stmmac_axi_config_1>;
snps,tso;
access-controllers = <&etzpc 48>;
+ nvmem-cells = <ðernet_mac1_address>;
+ nvmem-cell-names = "mac-address";
status = "disabled";
stmmac_axi_config_1: stmmac-axi-config {
diff --git a/arch/arm/boot/dts/st/stm32mp133.dtsi b/arch/arm/boot/dts/st/stm32mp133.dtsi
index 73e470019ce4..708c0af50bc4 100644
--- a/arch/arm/boot/dts/st/stm32mp133.dtsi
+++ b/arch/arm/boot/dts/st/stm32mp133.dtsi
@@ -91,6 +91,8 @@ ethernet2: ethernet@5800e000 {
snps,axi-config = <&stmmac_axi_config_2>;
snps,tso;
access-controllers = <&etzpc 49>;
+ nvmem-cells = <ðernet_mac2_address>;
+ nvmem-cell-names = "mac-address";
status = "disabled";
stmmac_axi_config_2: stmmac-axi-config {
base-commit: e21edb1638e82460f126a6e49bcdd958d452929c
--
2.47.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] ARM: dts: stm32: Add nvmem-cells to ethernet nodes for constant mac-addresses
2025-03-28 17:14 [PATCH] ARM: dts: stm32: Add nvmem-cells to ethernet nodes for constant mac-addresses Uwe Kleine-König
@ 2025-04-24 15:06 ` Uwe Kleine-König
2025-05-16 9:50 ` Uwe Kleine-König
0 siblings, 1 reply; 4+ messages in thread
From: Uwe Kleine-König @ 2025-04-24 15:06 UTC (permalink / raw)
To: Maxime Coquelin, Alexandre Torgue
Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, devicetree,
linux-stm32, linux-arm-kernel, Ahmad Fatoum
[-- Attachment #1: Type: text/plain, Size: 538 bytes --]
Hello,
On Fri, Mar 28, 2025 at 06:14:05PM +0100, Uwe Kleine-König wrote:
> The efuse device tree description already has the two labels pointing to
> the efuse nodes that specify the mac-addresses to be used. Wire them up
> to the ethernet nodes. This is enough to make barebox pick the right
> mac-addresses and pass them to Linux.
>
> Suggested-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@baylibre.com>
I wonder if this patch is on someone's radar?!
Best regards
Uwe
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] ARM: dts: stm32: Add nvmem-cells to ethernet nodes for constant mac-addresses
2025-04-24 15:06 ` Uwe Kleine-König
@ 2025-05-16 9:50 ` Uwe Kleine-König
2025-05-19 11:57 ` Alexandre TORGUE
0 siblings, 1 reply; 4+ messages in thread
From: Uwe Kleine-König @ 2025-05-16 9:50 UTC (permalink / raw)
To: Maxime Coquelin, Alexandre Torgue
Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, devicetree,
linux-stm32, linux-arm-kernel, Ahmad Fatoum
[-- Attachment #1: Type: text/plain, Size: 733 bytes --]
Hello,
On Thu, Apr 24, 2025 at 05:07:00PM +0200, Uwe Kleine-König wrote:
> On Fri, Mar 28, 2025 at 06:14:05PM +0100, Uwe Kleine-König wrote:
> > The efuse device tree description already has the two labels pointing to
> > the efuse nodes that specify the mac-addresses to be used. Wire them up
> > to the ethernet nodes. This is enough to make barebox pick the right
> > mac-addresses and pass them to Linux.
> >
> > Suggested-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
> > Signed-off-by: Uwe Kleine-König <u.kleine-koenig@baylibre.com>
>
> I wonder if this patch is on someone's radar?!
I still wonder. Is this just due to -ENOTIME for the maintainers, or are
there doubts about this patch?
Best regards
Uwe
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] ARM: dts: stm32: Add nvmem-cells to ethernet nodes for constant mac-addresses
2025-05-16 9:50 ` Uwe Kleine-König
@ 2025-05-19 11:57 ` Alexandre TORGUE
0 siblings, 0 replies; 4+ messages in thread
From: Alexandre TORGUE @ 2025-05-19 11:57 UTC (permalink / raw)
To: Uwe Kleine-König, Maxime Coquelin
Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, devicetree,
linux-stm32, linux-arm-kernel, Ahmad Fatoum
Hi Uwe
On 5/16/25 11:50, Uwe Kleine-König wrote:
> Hello,
>
> On Thu, Apr 24, 2025 at 05:07:00PM +0200, Uwe Kleine-König wrote:
>> On Fri, Mar 28, 2025 at 06:14:05PM +0100, Uwe Kleine-König wrote:
>>> The efuse device tree description already has the two labels pointing to
>>> the efuse nodes that specify the mac-addresses to be used. Wire them up
>>> to the ethernet nodes. This is enough to make barebox pick the right
>>> mac-addresses and pass them to Linux.
>>>
>>> Suggested-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
>>> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@baylibre.com>
>>
>> I wonder if this patch is on someone's radar?!
>
> I still wonder. Is this just due to -ENOTIME for the maintainers, or are
> there doubts about this patch?
No doubt just my fault as this patch went off my radar. Sorry.
Applied on stm32-next.
Thanks
Alex
>
> Best regards
> Uwe
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2025-05-19 12:04 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-28 17:14 [PATCH] ARM: dts: stm32: Add nvmem-cells to ethernet nodes for constant mac-addresses Uwe Kleine-König
2025-04-24 15:06 ` Uwe Kleine-König
2025-05-16 9:50 ` Uwe Kleine-König
2025-05-19 11:57 ` Alexandre TORGUE
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).