Skip to content

Commit

Permalink
ARM: shmobile: lager: add i2c1, i2c2 pins
Browse files Browse the repository at this point in the history
Add pinctrl definitions for i2c1 and i2c2 busses on the Lager board
to ensure these are setup correctly at initialisation time. The i2c0
and i2c3 busses are connected to single function pins.

Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
[horms+renesas@verge.net.au: Added shmobile to patch title]
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
  • Loading branch information
Ben Dooks authored and Simon Horman committed Jun 17, 2014
1 parent e489c2a commit e1a2c4e
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions arch/arm/boot/dts/r8a7790-lager.dts
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,16 @@
states = <3300000 1
1800000 0>;
};

i2c1_pins: i2c1 {
renesas,groups = "i2c1";
renesas,function = "i2c1";
};

i2c2_pins: i2c2 {
renesas,groups = "i2c2";
renesas,function = "i2c2";
};
};

&extal_clk {
Expand Down Expand Up @@ -349,10 +359,14 @@

&i2c1 {
status = "ok";
pinctrl-0 = <&i2c1_pins>;
pinctrl-names = "default";
};

&i2c2 {
status = "ok";
pinctrl-0 = <&i2c2_pins>;
pinctrl-names = "default";
};

&i2c3 {
Expand Down

0 comments on commit e1a2c4e

Please sign in to comment.