]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ARM: shmobile: lager: add i2c1, i2c2 pins
authorBen Dooks <ben.dooks@codethink.co.uk>
Wed, 12 Feb 2014 17:04:34 +0000 (17:04 +0000)
committerSimon Horman <horms+renesas@verge.net.au>
Tue, 17 Jun 2014 10:58:22 +0000 (19:58 +0900)
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>
arch/arm/boot/dts/r8a7790-lager.dts

index bd92dcf1ee9b634bb274f66b494a4fb3d3ea0295..3297b86a52b75f70237b9c8e92919672d9e914fd 100644 (file)
                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 {
 
 &i2c1  {
        status = "ok";
+       pinctrl-0 = <&i2c1_pins>;
+       pinctrl-names = "default";
 };
 
 &i2c2  {
        status = "ok";
+       pinctrl-0 = <&i2c2_pins>;
+       pinctrl-names = "default";
 };
 
 &i2c3  {