Skip to content

Commit d4ceb48

Browse files
ldesrochescristibirsan
authored andcommitted
ARM: dts: at91: at91-sama5d27_som1: add eeprom device
There is an EEPROM on at91-sama5d27_som1 connected to i2c0. i2c0 node has to be moved from at91-sama5d27_som1_ek to at91-sama5d27_som1. Signed-off-by: Ludovic Desroches <ludovic.desroches@microchip.com>
1 parent 63a116a commit d4ceb48

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

arch/arm/boot/dts/at91-sama5d27_som1.dtsi

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,25 @@
8080
};
8181
};
8282

83+
i2c0: i2c@f8028000 {
84+
dmas = <0>, <0>;
85+
pinctrl-names = "default";
86+
pinctrl-0 = <&pinctrl_i2c0_default>;
87+
status = "okay";
88+
89+
at24@50 {
90+
compatible = "24c02";
91+
reg = <0x50>;
92+
pagesize = <8>;
93+
};
94+
};
95+
8396
pinctrl@fc038000 {
97+
pinctrl_i2c0_default: i2c0_default {
98+
pinmux = <PIN_PD21__TWD0>,
99+
<PIN_PD22__TWCK0>;
100+
bias-disable;
101+
};
84102

85103
pinctrl_qspi1_default: qspi1_default {
86104
sck_cs {

0 commit comments

Comments
 (0)