Re: [PATCH] arm64: dts: marvell: espressobin: add ethernet alias

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wednesday 05 August 2020 11:43:33 Pali Rohár wrote:
> From: Tomasz Maciej Nowak <tmn505@xxxxxxxxx>
> 
> commit 5253cb8c00a6f4356760efb38bca0e0393aa06de upstream.
> 
> The maker of this board and its variants, stores MAC address in U-Boot
> environment. Add alias for bootloader to recognise, to which ethernet
> node inject the factory MAC address.
> 
> Signed-off-by: Tomasz Maciej Nowak <tmn505@xxxxxxxxx>
> Signed-off-by: Gregory CLEMENT <gregory.clement@xxxxxxxxxxx>
> [pali: Backported to 5.4 and older versions]
> Signed-off-by: Pali Rohár <pali@xxxxxxxxxx>

Hello! I should have been more explicit, that this patch is backport for
stable releases: 5.4 4.19 4.14

> ---
>  arch/arm64/boot/dts/marvell/armada-3720-espressobin.dts | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/marvell/armada-3720-espressobin.dts b/arch/arm64/boot/dts/marvell/armada-3720-espressobin.dts
> index fbcf03f86c96..05dc58c13fa4 100644
> --- a/arch/arm64/boot/dts/marvell/armada-3720-espressobin.dts
> +++ b/arch/arm64/boot/dts/marvell/armada-3720-espressobin.dts
> @@ -19,6 +19,12 @@
>  	model = "Globalscale Marvell ESPRESSOBin Board";
>  	compatible = "globalscale,espressobin", "marvell,armada3720", "marvell,armada3710";
>  
> +	aliases {
> +		ethernet0 = &eth0;
> +		serial0 = &uart0;
> +		serial1 = &uart1;
> +	};
> +
>  	chosen {
>  		stdout-path = "serial0:115200n8";
>  	};
> -- 
> 2.20.1
> 



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux