Commit 19c96822 authored by H. Nikolaus Schaller's avatar H. Nikolaus Schaller Committed by Thomas Bogendoerfer

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: default avatarH. Nikolaus Schaller <hns@goldelico.com>
Signed-off-by: default avatarThomas Bogendoerfer <tsbogend@alpha.franken.de>
parent 190607f2
...@@ -386,6 +386,9 @@ dm9000@6 { ...@@ -386,6 +386,9 @@ dm9000@6 {
interrupt-parent = <&gpe>; interrupt-parent = <&gpe>;
interrupts = <19 4>; interrupts = <19 4>;
nvmem-cells = <&eth0_addr>;
nvmem-cell-names = "mac-address";
}; };
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment