Commit 47258d75 authored by Adam Wujek's avatar Adam Wujek Committed by Adam Wujek

sw/petalinux/dtb: use MAC from eeprom for eth0

Signed-off-by: 's avatarAdam Wujek <dev_public@wujek.eu>
parent 8622e357
......@@ -12,6 +12,13 @@
#clock-cells = <0>;
clock-frequency = <25000000>;
};
chosen {
xlnx,eeprom = &mac_eeprom;
};
amba_pl@0 {
i2c2: i2c@a0000000 {
};
};
};
&gem0 {
......@@ -92,3 +99,20 @@
};
};
};
&i2c2 {
#address-cells = <1>;
#size-cells = <0>;
wr_eeprom: eeprom@50 {
compatible = "atmel,24c64";
reg = <0x50>;
// read-only;
};
mac_eeprom: eeprom@51 {
compatible = "atmel,24c02";
reg = <0x51>;
read-only;
/* MAC is at the offset 0xfa */
};
};
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