diff options
author | H. Nikolaus Schaller <hns@goldelico.com> | 2020-02-28 17:00:53 +0100 |
---|---|---|
committer | Thomas Bogendoerfer <tsbogend@alpha.franken.de> | 2020-04-19 17:12:48 +0200 |
commit | 19c968222934835058e9ed3d515de744d8275213 (patch) | |
tree | d8f6dc412e453ae5a8afae7e0ee14c2e3e0affb1 /arch/mips/boot | |
parent | MIPS: DTS: JZ4780: define node for JZ4780 efuse (diff) | |
download | linux-19c968222934835058e9ed3d515de744d8275213.tar.xz linux-19c968222934835058e9ed3d515de744d8275213.zip |
MIPS: DTS: CI20: make DM9000 Ethernet controller use NVMEM to find the default MAC address
There is a unique MAC address programmed into the eFuses
of the JZ4780 chip in the CI20 factory. By using this
for initializing the DM9000 Ethernet controller, every
CI20 board has an individual - but stable - MAC address
and DHCP can assign stable IP addresses.
Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'arch/mips/boot')
-rw-r--r-- | arch/mips/boot/dts/ingenic/ci20.dts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/mips/boot/dts/ingenic/ci20.dts b/arch/mips/boot/dts/ingenic/ci20.dts index db0ca250bd1a..75f5bfbf2c37 100644 --- a/arch/mips/boot/dts/ingenic/ci20.dts +++ b/arch/mips/boot/dts/ingenic/ci20.dts @@ -386,6 +386,9 @@ interrupt-parent = <&gpe>; interrupts = <19 4>; + + nvmem-cells = <ð0_addr>; + nvmem-cell-names = "mac-address"; }; }; |