Skip to content

Commit 21f3dbe

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 6f92b1e commit 21f3dbe

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
@@ -170,6 +170,13 @@
170170
status = "okay";
171171
};
172172

173+
i2c0: i2c@f8028000 {
174+
dmas = <0>, <0>;
175+
pinctrl-names = "default";
176+
pinctrl-0 = <&pinctrl_i2c0_default>;
177+
status = "okay";
178+
};
179+
173180
pwm0: pwm@f802c000 {
174181
pinctrl-names = "default";
175182
pinctrl-0 = <&pinctrl_mikrobus1_pwm &pinctrl_mikrobus2_pwm>;
@@ -323,6 +330,12 @@
323330
bias-disable;
324331
};
325332

333+
pinctrl_i2c0_default: i2c0_default {
334+
pinmux = <PIN_PD21__TWD0>,
335+
<PIN_PD22__TWCK0>;
336+
bias-disable;
337+
};
338+
326339
pinctrl_i2c1_default: i2c1_default {
327340
pinmux = <PIN_PD4__TWD1>,
328341
<PIN_PD5__TWCK1>;

0 commit comments

Comments
 (0)