summaryrefslogtreecommitdiffstats
path: root/arch/arm64/boot/dts/amlogic/meson-gxl-s905x-libretech-cc.dts
diff options
context:
space:
mode:
authorJorge Ramirez-Ortiz2018-01-17 11:55:43 +0100
committerKevin Hilman2018-02-12 23:15:10 +0100
commitf7c36209c46c4d162202b65eed2e66962ad8c3c1 (patch)
tree7b1efa7c75008ece408c8f031b4923a22925a954 /arch/arm64/boot/dts/amlogic/meson-gxl-s905x-libretech-cc.dts
parentARM64: dts: meson-axg: enable the UART_A controller (diff)
downloadkernel-qcow2-linux-f7c36209c46c4d162202b65eed2e66962ad8c3c1.tar.gz
kernel-qcow2-linux-f7c36209c46c4d162202b65eed2e66962ad8c3c1.tar.xz
kernel-qcow2-linux-f7c36209c46c4d162202b65eed2e66962ad8c3c1.zip
ARM64: dts: meson s905x: accept MAC addr from u-boot environment
With the adequate configuration settings, u-boot will loop through the list of aliases looking for "ethernetX". By adding an ethernet alias, u-boot can fixup the local-mac-address property in the kernel's device tree using a value held in its environment variable ethaddr. Tested-by: Jorge Ramirez-Ortiz <jramirez@baylibre.com> Signed-off-by: Jorge Ramirez-Ortiz <jramirez@baylibre.com> Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Diffstat (limited to 'arch/arm64/boot/dts/amlogic/meson-gxl-s905x-libretech-cc.dts')
-rw-r--r--arch/arm64/boot/dts/amlogic/meson-gxl-s905x-libretech-cc.dts1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/amlogic/meson-gxl-s905x-libretech-cc.dts b/arch/arm64/boot/dts/amlogic/meson-gxl-s905x-libretech-cc.dts
index 9671f1e3c74a..a011d51fec24 100644
--- a/arch/arm64/boot/dts/amlogic/meson-gxl-s905x-libretech-cc.dts
+++ b/arch/arm64/boot/dts/amlogic/meson-gxl-s905x-libretech-cc.dts
@@ -18,6 +18,7 @@
aliases {
serial0 = &uart_AO;
+ ethernet0 = &ethmac;
};
chosen {