arm64: dts: uniphier: Add ethernet aliases
authorKunihiko Hayashi <hayashi.kunihiko@socionext.com>
Fri, 3 Apr 2020 01:43:06 +0000 (10:43 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Mon, 4 May 2020 00:24:00 +0000 (09:24 +0900)
Add 'aliases' properties for ethernet device.

U-Boot performs a fix-up of the MAC address and will overwrite the values
from the Linux devicetree for aliased ethernet device. The MAC address can
be inherited from U-Boot by adding aliases of ethernet devices.

Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
arch/arm64/boot/dts/socionext/uniphier-ld11-global.dts
arch/arm64/boot/dts/socionext/uniphier-ld11-ref.dts
arch/arm64/boot/dts/socionext/uniphier-ld20-global.dts
arch/arm64/boot/dts/socionext/uniphier-ld20-ref.dts
arch/arm64/boot/dts/socionext/uniphier-pxs3-ref.dts

index f72f048a0c9d056cf714f0ef2b1f7c18e9051467..816ac25fa1eb195a0262c82221e0eff6aaf77c32 100644 (file)
@@ -30,6 +30,7 @@
                i2c3 = &i2c3;
                i2c4 = &i2c4;
                i2c5 = &i2c5;
+               ethernet0 = &eth;
        };
 
        memory@80000000 {
index b8f62734844809a08e15917a5ee738a8403a9c7b..693171f82ff12590ebc2081d17707a0ddaa0bf65 100644 (file)
@@ -29,6 +29,7 @@
                i2c3 = &i2c3;
                i2c4 = &i2c4;
                i2c5 = &i2c5;
+               ethernet0 = &eth;
        };
 
        memory@80000000 {
index 9ca692ed1b2bd5775c9b89b258a2c3391bde9546..2c000082667c47c78a5f60a3e7c49cd1cc06f335 100644 (file)
@@ -30,6 +30,7 @@
                i2c3 = &i2c3;
                i2c4 = &i2c4;
                i2c5 = &i2c5;
+               ethernet0 = &eth;
        };
 
        memory@80000000 {
index 406244a5c8e8527647972b6233d81af86fc975a3..eeb976e7892d5a6c8a4dd16642378c9e7220fd50 100644 (file)
@@ -29,6 +29,7 @@
                i2c3 = &i2c3;
                i2c4 = &i2c4;
                i2c5 = &i2c5;
+               ethernet0 = &eth;
        };
 
        memory@80000000 {
index 4d00ff9548e1815a10dfbade6d1de72900e8ee0f..dc39a73dc7811e04149e3a3546dfc6bf89776de2 100644 (file)
@@ -29,6 +29,8 @@
                i2c6 = &i2c6;
                spi0 = &spi0;
                spi1 = &spi1;
+               ethernet0 = &eth0;
+               ethernet1 = &eth1;
        };
 
        memory@80000000 {