ARM: dts: turris-omnia: Add ethernet aliases
authorPali Rohár <pali@kernel.org>
Wed, 27 Jul 2022 13:09:26 +0000 (15:09 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 31 Dec 2022 12:13:59 +0000 (13:13 +0100)
[ Upstream commit f1f3e530c59a7e8c5f06172f4c28b945a6b4bfb8 ]

This allows bootloader to correctly pass MAC addresses used by bootloader
to individual interfaces into kernel device tree.

Signed-off-by: Pali Rohár <pali@kernel.org>
Fixes: 26ca8b52d6e1 ("ARM: dts: add support for Turris Omnia")
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm/boot/dts/armada-385-turris-omnia.dts

index 01b0dfd..86e8a46 100644 (file)
                stdout-path = &uart0;
        };
 
+       aliases {
+               ethernet0 = &eth0;
+               ethernet1 = &eth1;
+               ethernet2 = &eth2;
+       };
+
        memory {
                device_type = "memory";
                reg = <0x00000000 0x40000000>; /* 1024 MB */