ARM64: dts: meson: accept MAC addr from u-boot environment
authorJorge Ramirez-Ortiz <jramirez@baylibre.com>
Wed, 17 Jan 2018 10:56:27 +0000 (11:56 +0100)
committerKevin Hilman <khilman@baylibre.com>
Mon, 12 Feb 2018 22:15:10 +0000 (14:15 -0800)
Extend configuring the MAC address from u-boot to all meson boards.

I didn't test this changeset but having checked libretech's u-boot
tree I believe it should just work.

Signed-off-by: Jorge Ramirez-Ortiz <jramirez@baylibre.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
12 files changed:
arch/arm64/boot/dts/amlogic/meson-gx-p23x-q20x.dtsi
arch/arm64/boot/dts/amlogic/meson-gxbb-nanopi-k2.dts
arch/arm64/boot/dts/amlogic/meson-gxbb-nexbox-a95x.dts
arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts
arch/arm64/boot/dts/amlogic/meson-gxbb-p20x.dtsi
arch/arm64/boot/dts/amlogic/meson-gxbb-vega-s95.dtsi
arch/arm64/boot/dts/amlogic/meson-gxl-s905x-hwacom-amazetv.dts
arch/arm64/boot/dts/amlogic/meson-gxl-s905x-khadas-vim.dts
arch/arm64/boot/dts/amlogic/meson-gxl-s905x-nexbox-a95x.dts
arch/arm64/boot/dts/amlogic/meson-gxl-s905x-p212.dtsi
arch/arm64/boot/dts/amlogic/meson-gxm-nexbox-a1.dts
arch/arm64/boot/dts/amlogic/meson-gxm-rbox-pro.dts

index aeb6d21..4b28a6e 100644 (file)
@@ -48,6 +48,7 @@
 / {
        aliases {
                serial0 = &uart_AO;
+               ethernet0 = &ethmac;
        };
 
        chosen {
index 011e8e0..2ce7258 100644 (file)
@@ -52,6 +52,7 @@
 
        aliases {
                serial0 = &uart_AO;
+               ethernet0 = &ethmac;
        };
 
        chosen {
index 818954b..855dd9a 100644 (file)
@@ -54,6 +54,7 @@
 
        aliases {
                serial0 = &uart_AO;
+               ethernet0 = &ethmac;
        };
 
        chosen {
index ee4ada6..73a030a 100644 (file)
@@ -53,6 +53,7 @@
 
        aliases {
                serial0 = &uart_AO;
+               ethernet0 = &ethmac;
        };
 
        chosen {
index 932158a..c6f7b51 100644 (file)
@@ -47,6 +47,7 @@
 / {
        aliases {
                serial0 = &uart_AO;
+               ethernet0 = &ethmac;
        };
 
        chosen {
index 1fe8e24..383f9de 100644 (file)
@@ -47,6 +47,7 @@
 
        aliases {
                serial0 = &uart_AO;
+               ethernet0 = &ethmac;
        };
 
        chosen {
index e825825..386fab4 100644 (file)
@@ -16,6 +16,7 @@
 
        aliases {
                serial0 = &uart_AO;
+               ethernet0 = &ethmac;
        };
 
        chosen {
index 71a6e1c..94cddf5 100644 (file)
@@ -29,6 +29,7 @@
 
        aliases {
                serial2 = &uart_AO_B;
+               ethernet0 = &ethmac;
        };
 
        gpio-keys-polled {
index 271f142..6b05c0e 100644 (file)
@@ -52,6 +52,7 @@
 
        aliases {
                serial0 = &uart_AO;
+               ethernet0 = &ethmac;
        };
 
        chosen {
index 7005068..9cde3d2 100644 (file)
@@ -17,6 +17,7 @@
        aliases {
                serial0 = &uart_AO;
                serial1 = &uart_A;
+               ethernet0 = &ethmac;
        };
 
        chosen {
index e7a228f..15cdd93 100644 (file)
@@ -54,6 +54,7 @@
 
        aliases {
                serial0 = &uart_AO;
+               ethernet0 = &ethmac;
        };
 
        chosen {
index a5e9b95..67fadea 100644 (file)
@@ -58,6 +58,7 @@
 
        aliases {
                serial0 = &uart_AO;
+               ethernet0 = &ethmac;
        };
 
        chosen {