diff options
author | Wenyou Yang <wenyou.yang@microchip.com> | 2017-09-01 16:26:18 +0800 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-09-11 16:23:08 -0400 |
commit | fafa440342a50191504c1da7515ed6e28c933396 (patch) | |
tree | eb6b392ae659113551720c5734905941c2e75533 /arch/arm/dts/at91-sama5d4_xplained.dts | |
parent | 34e2819d31bb3512e723ae775b8e3eab8cff29ad (diff) |
board: sama5d4_xplained: Set mac address from eeprom
Add the code to set the ethernet mac address from eeprom by using
the common code from the common folder.
Signed-off-by: Wenyou Yang <wenyou.yang@microchip.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/arm/dts/at91-sama5d4_xplained.dts')
-rw-r--r-- | arch/arm/dts/at91-sama5d4_xplained.dts | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/dts/at91-sama5d4_xplained.dts b/arch/arm/dts/at91-sama5d4_xplained.dts index ca6aff28e58..0592b31b917 100644 --- a/arch/arm/dts/at91-sama5d4_xplained.dts +++ b/arch/arm/dts/at91-sama5d4_xplained.dts @@ -88,6 +88,11 @@ i2c0: i2c@f8014000 { status = "okay"; + + i2c_eeprom: i2c_eeprom@5c { + compatible = "atmel,24mac402"; + reg = <0x5c>; + }; }; macb0: ethernet@f8020000 { |