Skip to content

Commit 99d9e65

Browse files
TonyHan11dkalowsk
authored andcommitted
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>
1 parent 685375f commit 99d9e65

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed

boards/microchip/sam/sama7g54_ek/sama7g54_ek.dts

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,37 @@
4949
};
5050
};
5151

52+
&flx8 {
53+
mchp,flexcom-mode = <SAM_FLEXCOM_MODE_TWI>;
54+
status = "okay";
55+
56+
i2c8: i2c8@600 {
57+
pinctrl-0 = <&pinctrl_i2c8_default>;
58+
pinctrl-names = "default";
59+
status = "okay";
60+
61+
eeprom0: eeprom0@52 {
62+
compatible = "atmel,24mac02e4", "atmel,at24";
63+
reg = <0x52>;
64+
address-width = <8>;
65+
pagesize = <16>;
66+
size = <256>;
67+
timeout = <5>;
68+
status = "okay";
69+
};
70+
71+
eeprom1: eeprom1@53 {
72+
compatible = "atmel,24mac02e4", "atmel,at24";
73+
reg = <0x53>;
74+
address-width = <8>;
75+
pagesize = <16>;
76+
size = <256>;
77+
timeout = <5>;
78+
status = "okay";
79+
};
80+
};
81+
};
82+
5283
&pinctrl {
5384
pinctrl_flx3_default: flx3_default {
5485
group1 {
@@ -57,6 +88,14 @@
5788
bias-pull-up;
5889
};
5990
};
91+
92+
pinctrl_i2c8_default: i2c8_default {
93+
group1 {
94+
pinmux = <PIN_PC14__FLEXCOM8_IO0>,
95+
<PIN_PC13__FLEXCOM8_IO1>;
96+
bias-disable;
97+
};
98+
};
6099
};
61100

62101
&pit64b0 {

0 commit comments

Comments
 (0)