Skip to content

Commit be36251

Browse files
ldesrochescristibirsan
authored andcommitted
ARM: dts: at91-sama5d27_som1_ek: enable i2c0
Signed-off-by: Ludovic Desroches <ludovic.desroches@microchip.com> Signed-off-by: Cristian Birsan <cristian.birsan@microchip.com>
1 parent 74ef07f commit be36251

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

arch/arm/boot/dts/at91-sama5d27_som1_ek.dts

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,13 @@
114114
status = "okay";
115115
};
116116

117+
i2c0: i2c@f8028000 {
118+
dmas = <0>, <0>;
119+
pinctrl-names = "default";
120+
pinctrl-0 = <&pinctrl_i2c0_default>;
121+
status = "okay";
122+
};
123+
117124
pwm0: pwm@f802c000 {
118125
pinctrl-names = "default";
119126
pinctrl-0 = <&pinctrl_mikrobus1_pwm &pinctrl_mikrobus2_pwm>;
@@ -274,6 +281,12 @@
274281
bias-disable;
275282
};
276283

284+
pinctrl_i2c0_default: i2c0_default {
285+
pinmux = <PIN_PD21__TWD0>,
286+
<PIN_PD22__TWCK0>;
287+
bias-disable;
288+
};
289+
277290
pinctrl_i2c1_default: i2c1_default {
278291
pinmux = <PIN_PD4__TWD1>,
279292
<PIN_PD5__TWCK1>;

0 commit comments

Comments
 (0)