]> git.itanic.dy.fi Git - linux-stable/commitdiff
ARM: dts: turris-omnia: Add ethernet aliases
authorPali Rohár <pali@kernel.org>
Wed, 27 Jul 2022 13:09:26 +0000 (15:09 +0200)
committerGregory CLEMENT <gregory.clement@bootlin.com>
Sun, 27 Nov 2022 23:57:07 +0000 (00:57 +0100)
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>
arch/arm/boot/dts/armada-385-turris-omnia.dts

index 72ac807cae259cc3ded771120ad72677bcd1de84..f2aaaed69ae9e26250d44099f1e402f8452779a0 100644 (file)
@@ -23,6 +23,12 @@ chosen {
                stdout-path = &uart0;
        };
 
+       aliases {
+               ethernet0 = &eth0;
+               ethernet1 = &eth1;
+               ethernet2 = &eth2;
+       };
+
        memory {
                device_type = "memory";
                reg = <0x00000000 0x40000000>; /* 1024 MB */