ARM64: dts: meson s905x: accept MAC addr from u-boot environment
authorJorge Ramirez-Ortiz <jramirez@baylibre.com>
Wed, 17 Jan 2018 10:55:43 +0000 (11:55 +0100)
committerKevin Hilman <khilman@baylibre.com>
Mon, 12 Feb 2018 22:15:10 +0000 (14:15 -0800)
commitf7c36209c46c4d162202b65eed2e66962ad8c3c1
tree7b1efa7c75008ece408c8f031b4923a22925a954
parent3e5925c622d7debf429b36d47d8904af4d387fc6
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>
arch/arm64/boot/dts/amlogic/meson-gxl-s905x-libretech-cc.dts