File tree Expand file tree Collapse file tree
arch/arm/boot/dts/microchip Expand file tree Collapse file tree Original file line number Diff line number Diff line change 403403 i2c-digital-filter;
404404 i2c-digital-filter-width-ns = <35>;
405405 status = "okay";
406+
407+ eeprom0: eeprom0@52 {
408+ compatible = "atmel,24mac02e4";
409+ #address-cells = <1>;
410+ #size-cells = <0>;
411+ reg = <0x52>;
412+ pagesize = <16>;
413+ size = <256>;
414+ status = "okay";
415+
416+ eeprom0_eui48: eui48@fa {
417+ reg = <0xfa 0x6>;
418+ };
419+ };
420+
421+ eeprom1: eeprom1@53 {
422+ compatible = "atmel,24mac02e4";
423+ #address-cells = <1>;
424+ #size-cells = <0>;
425+ reg = <0x53>;
426+ pagesize = <16>;
427+ size = <256>;
428+ status = "okay";
429+
430+ eeprom1_eui48: eui48@fa {
431+ reg = <0xfa 0x6>;
432+ };
433+ };
406434 };
407435};
408436
442470 phy-mode = "rgmii-id";
443471 status = "okay";
444472
473+ nvmem-cells = <&eeprom0_eui48>;
474+ nvmem-cell-names = "mac-address";
475+
445476 ethernet-phy@7 {
446477 reg = <0x7>;
447478 interrupt-parent = <&pioA>;
459490 phy-mode = "rmii";
460491 status = "okay"; /* Conflict with pdmc0. */
461492
493+ nvmem-cells = <&eeprom1_eui48>;
494+ nvmem-cell-names = "mac-address";
495+
462496 ethernet-phy@0 {
463497 reg = <0x0>;
464498 interrupt-parent = <&pioA>;
You can’t perform that action at this time.
0 commit comments