aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/omap3-n900.dts
diff options
context:
space:
mode:
authorSebastian Reichel <sre@debian.org>2013-10-22 18:49:30 -0400
committerBenoit Cousson <bcousson@baylibre.com>2013-10-23 04:08:08 -0400
commitac888a8895b1b4c4aa6c7df70ecc0056b1e96787 (patch)
tree524f9ddc46b7b3fbbb989149b3a31212e07be789 /arch/arm/boot/dts/omap3-n900.dts
parent620c516898f105a838c4f3bdd14742068d60e437 (diff)
ARM: dts: omap3-n900: Add pinctrl for i2c devices
Add pin muxing support for the Nokia N900 i2c controllers. Signed-off-by: Sebastian Reichel <sre@debian.org> Signed-off-by: Benoit Cousson <bcousson@baylibre.com>
Diffstat (limited to 'arch/arm/boot/dts/omap3-n900.dts')
-rw-r--r--arch/arm/boot/dts/omap3-n900.dts35
1 files changed, 35 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/omap3-n900.dts b/arch/arm/boot/dts/omap3-n900.dts
index e13b697f8bce..ad4edd95b5b1 100644
--- a/arch/arm/boot/dts/omap3-n900.dts
+++ b/arch/arm/boot/dts/omap3-n900.dts
@@ -28,7 +28,35 @@
28 28
29}; 29};
30 30
31&omap3_pmx_core {
32 pinctrl-names = "default";
33
34 i2c1_pins: pinmux_i2c1_pins {
35 pinctrl-single,pins = <
36 0x18a (PIN_INPUT_PULLUP | MUX_MODE0) /* i2c1_scl */
37 0x18c (PIN_INPUT_PULLUP | MUX_MODE0) /* i2c1_sda */
38 >;
39 };
40
41 i2c2_pins: pinmux_i2c2_pins {
42 pinctrl-single,pins = <
43 0x18e (PIN_INPUT_PULLUP | MUX_MODE0) /* i2c2_scl */
44 0x190 (PIN_INPUT_PULLUP | MUX_MODE0) /* i2c2_sda */
45 >;
46 };
47
48 i2c3_pins: pinmux_i2c3_pins {
49 pinctrl-single,pins = <
50 0x192 (PIN_INPUT_PULLUP | MUX_MODE0) /* i2c3_scl */
51 0x194 (PIN_INPUT_PULLUP | MUX_MODE0) /* i2c3_sda */
52 >;
53 };
54};
55
31&i2c1 { 56&i2c1 {
57 pinctrl-names = "default";
58 pinctrl-0 = <&i2c1_pins>;
59
32 clock-frequency = <2200000>; 60 clock-frequency = <2200000>;
33 61
34 twl: twl@48 { 62 twl: twl@48 {
@@ -39,6 +67,7 @@
39}; 67};
40 68
41#include "twl4030.dtsi" 69#include "twl4030.dtsi"
70#include "twl4030_omap3.dtsi"
42 71
43&twl_gpio { 72&twl_gpio {
44 ti,pullups = <0x0>; 73 ti,pullups = <0x0>;
@@ -46,10 +75,16 @@
46}; 75};
47 76
48&i2c2 { 77&i2c2 {
78 pinctrl-names = "default";
79 pinctrl-0 = <&i2c2_pins>;
80
49 clock-frequency = <400000>; 81 clock-frequency = <400000>;
50}; 82};
51 83
52&i2c3 { 84&i2c3 {
85 pinctrl-names = "default";
86 pinctrl-0 = <&i2c3_pins>;
87
53 clock-frequency = <100000>; 88 clock-frequency = <100000>;
54}; 89};
55 90