2022-01-18 02:56:09

by Pali Rohár

[permalink] [raw]
Subject: [PATCH] arm64: dts: armada-3720-turris-mox: Add missing ethernet0 alias

U-Boot uses ethernet* aliases for setting MAC addresses. Therefore define
also alias for ethernet0.

Fixes: 7109d817db2e ("arm64: dts: marvell: add DTS for Turris Mox")
Signed-off-by: Pali Rohár <[email protected]>
---
arch/arm64/boot/dts/marvell/armada-3720-turris-mox.dts | 1 +
1 file changed, 1 insertion(+)

diff --git a/arch/arm64/boot/dts/marvell/armada-3720-turris-mox.dts b/arch/arm64/boot/dts/marvell/armada-3720-turris-mox.dts
index 23e1b07c060a..6581092c2c90 100644
--- a/arch/arm64/boot/dts/marvell/armada-3720-turris-mox.dts
+++ b/arch/arm64/boot/dts/marvell/armada-3720-turris-mox.dts
@@ -18,6 +18,7 @@

aliases {
spi0 = &spi0;
+ ethernet0 = &eth0;
ethernet1 = &eth1;
mmc0 = &sdhci0;
mmc1 = &sdhci1;
--
2.20.1


2022-01-22 00:43:48

by Gregory CLEMENT

[permalink] [raw]
Subject: Re: [PATCH] arm64: dts: armada-3720-turris-mox: Add missing ethernet0 alias

Pali Rohár <[email protected]> writes:

> U-Boot uses ethernet* aliases for setting MAC addresses. Therefore define
> also alias for ethernet0.
>
> Fixes: 7109d817db2e ("arm64: dts: marvell: add DTS for Turris Mox")
> Signed-off-by: Pali Rohár <[email protected]>

Applied on mvebu/fixes

Thanks,

Gregory


> ---
> arch/arm64/boot/dts/marvell/armada-3720-turris-mox.dts | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/arch/arm64/boot/dts/marvell/armada-3720-turris-mox.dts b/arch/arm64/boot/dts/marvell/armada-3720-turris-mox.dts
> index 23e1b07c060a..6581092c2c90 100644
> --- a/arch/arm64/boot/dts/marvell/armada-3720-turris-mox.dts
> +++ b/arch/arm64/boot/dts/marvell/armada-3720-turris-mox.dts
> @@ -18,6 +18,7 @@
>
> aliases {
> spi0 = &spi0;
> + ethernet0 = &eth0;
> ethernet1 = &eth1;
> mmc0 = &sdhci0;
> mmc1 = &sdhci1;
> --
> 2.20.1
>

--
Gregory Clement, Bootlin
Embedded Linux and Kernel engineering
http://bootlin.com