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 aeb6d21a3becacd7eb414da1fcbb1556ceb9e2cc..4b28a6e31175b5c1f5a0eb678fcc74124b96f32f 100644 (file)
@@ -48,6 +48,7 @@
 / {
        aliases {
                serial0 = &uart_AO;
+               ethernet0 = &ethmac;
        };
 
        chosen {
index 011e8e08e429b077a837a5679bfa1f221032c5e2..2ce7258a147bbe596009681e5b4ad1f1be9b7ca5 100644 (file)
@@ -52,6 +52,7 @@
 
        aliases {
                serial0 = &uart_AO;
+               ethernet0 = &ethmac;
        };
 
        chosen {
index 818954b1d57f800f98f8150d68e232d31c4f65c6..855dd9ae07160c82ee157976dae9846b57c58f11 100644 (file)
@@ -54,6 +54,7 @@
 
        aliases {
                serial0 = &uart_AO;
+               ethernet0 = &ethmac;
        };
 
        chosen {
index ee4ada61c59cf583ae87b0ff85ba9a87788ad002..73a030a5ecf330c76d39c219388aaced17549206 100644 (file)
@@ -53,6 +53,7 @@
 
        aliases {
                serial0 = &uart_AO;
+               ethernet0 = &ethmac;
        };
 
        chosen {
index 932158a778ef8c2da8b4a92486f267e914600ff6..c6f7b51e2ec8ff34e5a2e8cbc0d512f6e09b5468 100644 (file)
@@ -47,6 +47,7 @@
 / {
        aliases {
                serial0 = &uart_AO;
+               ethernet0 = &ethmac;
        };
 
        chosen {
index 1fe8e24cf675ce63347c4bb9d5a331f76b4f60a2..383f9de734c10603c539c1969b377e9511cbb9d7 100644 (file)
@@ -47,6 +47,7 @@
 
        aliases {
                serial0 = &uart_AO;
+               ethernet0 = &ethmac;
        };
 
        chosen {
index e82582574160c6bf87160379529878d57ddd533e..386fab4d1c8f3b83d408a2fb0ae894b5dc740963 100644 (file)
@@ -16,6 +16,7 @@
 
        aliases {
                serial0 = &uart_AO;
+               ethernet0 = &ethmac;
        };
 
        chosen {
index 71a6e1ce7ad58d7827b90daff97724c9307ed770..94cddf59646ae16a0422b67c188937d258389463 100644 (file)
@@ -29,6 +29,7 @@
 
        aliases {
                serial2 = &uart_AO_B;
+               ethernet0 = &ethmac;
        };
 
        gpio-keys-polled {
index 271f1427918089481687f5e3f5f0b296111caa62..6b05c0e577248bfa0d6820016dff87451807f81a 100644 (file)
@@ -52,6 +52,7 @@
 
        aliases {
                serial0 = &uart_AO;
+               ethernet0 = &ethmac;
        };
 
        chosen {
index 7005068346a092fba518df030a8e5072af2a0fa6..9cde3d2eef972d423adbded2024f5e4fd76a07b6 100644 (file)
@@ -17,6 +17,7 @@
        aliases {
                serial0 = &uart_AO;
                serial1 = &uart_A;
+               ethernet0 = &ethmac;
        };
 
        chosen {
index e7a228f6cc7e731b0becae3d61ec8d36b429bb45..15cdd938f6a21e1f30b7861596a5b542772c6b60 100644 (file)
@@ -54,6 +54,7 @@
 
        aliases {
                serial0 = &uart_AO;
+               ethernet0 = &ethmac;
        };
 
        chosen {
index a5e9b955d5ed30c2c6c673a09b9b78304d004197..67fadea68e0758623db223d73bd9f3027ba02007 100644 (file)
@@ -58,6 +58,7 @@
 
        aliases {
                serial0 = &uart_AO;
+               ethernet0 = &ethmac;
        };
 
        chosen {