From: Ben Dooks Date: Wed, 12 Feb 2014 17:04:34 +0000 (+0000) Subject: ARM: shmobile: lager: add i2c1, i2c2 pins X-Git-Tag: v3.14.28+ltsi~124 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9affb5ea04b0391c94ad5f1167f1e76990c7d10f;p=platform%2Fkernel%2Flinux-stable.git ARM: shmobile: lager: add i2c1, i2c2 pins 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 [horms+renesas@verge.net.au: Added shmobile to patch title] Signed-off-by: Simon Horman (cherry picked from commit e1a2c4eb132018ce5b988c9ff5ba7a01e5494af5) Signed-off-by: Simon Horman --- diff --git a/arch/arm/boot/dts/r8a7790-lager.dts b/arch/arm/boot/dts/r8a7790-lager.dts index 7840b60596b0..c72372484548 100644 --- a/arch/arm/boot/dts/r8a7790-lager.dts +++ b/arch/arm/boot/dts/r8a7790-lager.dts @@ -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 { @@ -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 {