Skip to content

Commit 3211159

Browse files
committed
ARM: dts: at91-sama5d27_som1_ek: enable i2c0
Signed-off-by: Ludovic Desroches <ludovic.desroches@microchip.com>
1 parent 2a66318 commit 3211159

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

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

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,13 @@
169169
status = "okay";
170170
};
171171

172+
i2c0: i2c@f8028000 {
173+
dmas = <0>, <0>;
174+
pinctrl-names = "default";
175+
pinctrl-0 = <&pinctrl_i2c0_default>;
176+
status = "okay";
177+
};
178+
172179
pwm0: pwm@f802c000 {
173180
status = "okay";
174181
};
@@ -361,6 +368,12 @@
361368
bias-disable;
362369
};
363370

371+
pinctrl_i2c0_default: i2c0_default {
372+
pinmux = <PIN_PD21__TWD0>,
373+
<PIN_PD22__TWCK0>;
374+
bias-disable;
375+
};
376+
364377
pinctrl_i2c1_default: i2c1_default {
365378
pinmux = <PIN_PD4__TWD1>,
366379
<PIN_PD5__TWCK1>;

0 commit comments

Comments
 (0)