Browse Source

boards: microchip: sam: add eeprom nodes to sama7g54_ek dts file

Add the nodes for on board EEPROM devices. Only the basic compatible
functions implemented. EUI-48 Node Address not added.

Signed-off-by: Tony Han <tony.han@microchip.com>
pull/92000/head
Tony Han 3 months ago committed by Dan Kalowsky
parent
commit
99d9e6531e
  1. 39
      boards/microchip/sam/sama7g54_ek/sama7g54_ek.dts

39
boards/microchip/sam/sama7g54_ek/sama7g54_ek.dts

@ -49,6 +49,37 @@
}; };
}; };
&flx8 {
mchp,flexcom-mode = <SAM_FLEXCOM_MODE_TWI>;
status = "okay";
i2c8: i2c8@600 {
pinctrl-0 = <&pinctrl_i2c8_default>;
pinctrl-names = "default";
status = "okay";
eeprom0: eeprom0@52 {
compatible = "atmel,24mac02e4", "atmel,at24";
reg = <0x52>;
address-width = <8>;
pagesize = <16>;
size = <256>;
timeout = <5>;
status = "okay";
};
eeprom1: eeprom1@53 {
compatible = "atmel,24mac02e4", "atmel,at24";
reg = <0x53>;
address-width = <8>;
pagesize = <16>;
size = <256>;
timeout = <5>;
status = "okay";
};
};
};
&pinctrl { &pinctrl {
pinctrl_flx3_default: flx3_default { pinctrl_flx3_default: flx3_default {
group1 { group1 {
@ -57,6 +88,14 @@
bias-pull-up; bias-pull-up;
}; };
}; };
pinctrl_i2c8_default: i2c8_default {
group1 {
pinmux = <PIN_PC14__FLEXCOM8_IO0>,
<PIN_PC13__FLEXCOM8_IO1>;
bias-disable;
};
};
}; };
&pit64b0 { &pit64b0 {

Loading…
Cancel
Save