summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/r8a7790-lager.dts
diff options
context:
space:
mode:
authorBen Dooks2014-02-12 18:04:34 +0100
committerSimon Horman2014-06-17 12:58:22 +0200
commite1a2c4eb132018ce5b988c9ff5ba7a01e5494af5 (patch)
treef12b3223362313bb668213d5ee87cd5bacec3220 /arch/arm/boot/dts/r8a7790-lager.dts
parentARM: shmobile: lager: enable i2c devices (diff)
downloadkernel-qcow2-linux-e1a2c4eb132018ce5b988c9ff5ba7a01e5494af5.tar.gz
kernel-qcow2-linux-e1a2c4eb132018ce5b988c9ff5ba7a01e5494af5.tar.xz
kernel-qcow2-linux-e1a2c4eb132018ce5b988c9ff5ba7a01e5494af5.zip
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 <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>
Diffstat (limited to 'arch/arm/boot/dts/r8a7790-lager.dts')
-rw-r--r--arch/arm/boot/dts/r8a7790-lager.dts14
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/r8a7790-lager.dts b/arch/arm/boot/dts/r8a7790-lager.dts
index bd92dcf1ee9b..3297b86a52b7 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 {