ARM: dts: meson8b: odroidc1: use the MAC address stored in the eFuse
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Mon, 12 Aug 2019 17:50:04 +0000 (19:50 +0200)
committerKevin Hilman <khilman@baylibre.com>
Mon, 12 Aug 2019 20:45:38 +0000 (13:45 -0700)
commit6b14dd7267126931e9a95c68a442e8f2dabdc3c4
treefaac8476d864f583ae7af143a2ea42879bcf1073
parentdee51cd0d2e8af08c74e5bbb10673af1cf0ee4a3
ARM: dts: meson8b: odroidc1: use the MAC address stored in the eFuse

Odroid-C1 uses the MAC address stored in eFuse at offset 0x1b4 (which is
defined as a "standard" offset for all Meson8 and Meson8b boards, but
testing shows that MXQ doesn't have the eFuse values programmed and
EC-100 stores it's MAC address in eMMC).

Add the nvmem cell which points to the MAC address and asssign it to the
Ethernet controller as "mac-address".
As result of this the MAC address which is stored in the eFuse is now
assigned to the Ethernet controller and consistent across reboots.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
arch/arm/boot/dts/meson8b-odroidc1.dts