Skip to content

Commit

Permalink
ARM: dts: at91: sama5d27_som1_ek: enable i2c0
Browse files Browse the repository at this point in the history
Enable i2c0 controller.

Signed-off-by: Ludovic Desroches <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexandre Belloni <[email protected]>
  • Loading branch information
ldesroches authored and alexandrebelloni committed Apr 13, 2020
1 parent d08f4a5 commit d0815bc
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions arch/arm/boot/dts/at91-sama5d27_som1_ek.dts
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,13 @@
status = "okay";
};

i2c0: i2c@f8028000 {
dmas = <0>, <0>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_i2c0_default>;
status = "okay";
};

pwm0: pwm@f802c000 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_mikrobus1_pwm &pinctrl_mikrobus2_pwm>;
Expand Down Expand Up @@ -281,6 +288,12 @@
bias-disable;
};

pinctrl_i2c0_default: i2c0_default {
pinmux = <PIN_PD21__TWD0>,
<PIN_PD22__TWCK0>;
bias-disable;
};

pinctrl_i2c1_default: i2c1_default {
pinmux = <PIN_PD4__TWD1>,
<PIN_PD5__TWCK1>;
Expand Down

0 comments on commit d0815bc

Please sign in to comment.