aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/am335x-evmsk.dts
diff options
context:
space:
mode:
authorVaibhav Hiremath <hvaibhav@ti.com>2013-03-26 04:44:01 -0400
committerBenoit Cousson <benoit.cousson@linaro.org>2013-06-18 19:53:34 -0400
commit3f8664457ca4f654b836e6f434ae94e1be23c88e (patch)
tree1b2ac0da8a508d5c84be959c4ecd787338509f69 /arch/arm/boot/dts/am335x-evmsk.dts
parent3ab65f2bca8259cebb80bfe6aebecc80dc0f3742 (diff)
ARM: dts: AM33XX: Add default pinctrl binding for I2C device
Add pin control binding for I2C device nodes in all board specific DT files (as per current usage), EVM: Both i2c0 and i2c1 EVM-SK and Bone: Only i2c0 Signed-off-by: Vaibhav Hiremath <hvaibhav@ti.com> Acked-by: Matt Porter <mporter@ti.com> Signed-off-by: Benoit Cousson <benoit.cousson@linaro.org>
Diffstat (limited to 'arch/arm/boot/dts/am335x-evmsk.dts')
-rw-r--r--arch/arm/boot/dts/am335x-evmsk.dts10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/am335x-evmsk.dts b/arch/arm/boot/dts/am335x-evmsk.dts
index f67c360844f4..15a305224bba 100644
--- a/arch/arm/boot/dts/am335x-evmsk.dts
+++ b/arch/arm/boot/dts/am335x-evmsk.dts
@@ -51,6 +51,13 @@
51 0x9c 0x27 /* gpmc_ben0_cle.gpio2_5, INPUT | MODE7 */ 51 0x9c 0x27 /* gpmc_ben0_cle.gpio2_5, INPUT | MODE7 */
52 >; 52 >;
53 }; 53 };
54
55 i2c0_pins: pinmux_i2c0_pins {
56 pinctrl-single,pins = <
57 0x188 0x30 /* i2c0_sda.i2c0_sda PULLUP | INPUTENABLE | MODE0 */
58 0x18c 0x30 /* i2c0_scl.i2c0_scl PULLUP | INPUTENABLE | MODE0 */
59 >;
60 };
54 }; 61 };
55 62
56 ocp { 63 ocp {
@@ -59,6 +66,9 @@
59 }; 66 };
60 67
61 i2c0: i2c@44e0b000 { 68 i2c0: i2c@44e0b000 {
69 pinctrl-names = "default";
70 pinctrl-0 = <&i2c0_pins>;
71
62 status = "okay"; 72 status = "okay";
63 clock-frequency = <400000>; 73 clock-frequency = <400000>;
64 74