2024-03-28 06:58:27

by claudiu beznea

[permalink] [raw]
Subject: [PATCH] arm64: dts: renesas: rzg3s-smarc-som: Fix ethernet aliases

From: Claudiu Beznea <[email protected]>

Fix typo in ethernet aliases. U-Boot uses ethernetX (X={0, 1, ..., N})
aliases to update the DTB of Linux with MAC addresses. The ethernetX or
ethX aliases are not used in Linux by ravb_driver.

Fixes: 932ff0c802c6 ("arm64: dts: renesas: rzg3s-smarc-som: Enable the Ethernet interfaces")
Suggested-by: Biju Das <[email protected]>
Signed-off-by: Claudiu Beznea <[email protected]>
---
arch/arm64/boot/dts/renesas/rzg3s-smarc-som.dtsi | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm64/boot/dts/renesas/rzg3s-smarc-som.dtsi b/arch/arm64/boot/dts/renesas/rzg3s-smarc-som.dtsi
index acac4666ae59..1f87150a2e0a 100644
--- a/arch/arm64/boot/dts/renesas/rzg3s-smarc-som.dtsi
+++ b/arch/arm64/boot/dts/renesas/rzg3s-smarc-som.dtsi
@@ -36,8 +36,8 @@ aliases {
#if SW_CONFIG3 == SW_OFF
mmc2 = &sdhi2;
#else
- eth0 = &eth0;
- eth1 = &eth1;
+ ethernet0 = &eth0;
+ ethernet1 = &eth1;
#endif
};

--
2.39.2



2024-04-08 10:25:25

by Geert Uytterhoeven

[permalink] [raw]
Subject: Re: [PATCH] arm64: dts: renesas: rzg3s-smarc-som: Fix ethernet aliases

On Thu, Mar 28, 2024 at 7:57 AM Claudiu <[email protected]> wrote:
> From: Claudiu Beznea <[email protected]>
>
> Fix typo in ethernet aliases. U-Boot uses ethernetX (X={0, 1, ..., N})
> aliases to update the DTB of Linux with MAC addresses. The ethernetX or
> ethX aliases are not used in Linux by ravb_driver.
>
> Fixes: 932ff0c802c6 ("arm64: dts: renesas: rzg3s-smarc-som: Enable the Ethernet interfaces")
> Suggested-by: Biju Das <[email protected]>
> Signed-off-by: Claudiu Beznea <[email protected]>

Reviewed-by: Geert Uytterhoeven <[email protected]>
i.e. will queue in renesas-devel for v6.10.

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68korg

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds