arm64: dts: marvell: espressobin: add ethernet alias
authorTomasz Maciej Nowak <tmn505@gmail.com>
Thu, 27 Feb 2020 16:52:32 +0000 (17:52 +0100)
committerGregory CLEMENT <gregory.clement@bootlin.com>
Fri, 13 Mar 2020 20:29:41 +0000 (21:29 +0100)
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@gmail.com>
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
arch/arm64/boot/dts/marvell/armada-3720-espressobin.dtsi

index 53b8ac5..e5262da 100644 (file)
 #include "armada-372x.dtsi"
 
 / {
+       aliases {
+               ethernet0 = &eth0;
+               serial0 = &uart0;
+               serial1 = &uart1;
+       };
+
        chosen {
                stdout-path = "serial0:115200n8";
        };