diff options
author | Javier Martinez Canillas <javier.martinez@collabora.co.uk> | 2013-11-26 18:03:37 -0500 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2013-11-26 18:03:37 -0500 |
commit | d526daebfd88706b52573325920dac33d14a5f6c (patch) | |
tree | ecfb0fe25de6f25589b02df6ba1ca47596b52420 /arch/arm | |
parent | 9aa36dfd3d9a1c9e305e53f5c0915036c3941a3f (diff) |
ARM: dts: omap3-igep0020: Add pinmux setup for i2c devices
Add pin muxing support for IGEP boards i2c controllers.
Signed-off-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/boot/dts/omap3-igep.dtsi | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/omap3-igep.dtsi b/arch/arm/boot/dts/omap3-igep.dtsi index e4c87693b100..165aaf7591ba 100644 --- a/arch/arm/boot/dts/omap3-igep.dtsi +++ b/arch/arm/boot/dts/omap3-igep.dtsi | |||
@@ -113,10 +113,33 @@ | |||
113 | >; | 113 | >; |
114 | }; | 114 | }; |
115 | 115 | ||
116 | i2c1_pins: pinmux_i2c1_pins { | ||
117 | pinctrl-single,pins = < | ||
118 | 0x18a (PIN_INPUT | MUX_MODE0) /* i2c1_scl.i2c1_scl */ | ||
119 | 0x18c (PIN_INPUT | MUX_MODE0) /* i2c1_sda.i2c1_sda */ | ||
120 | >; | ||
121 | }; | ||
122 | |||
123 | i2c2_pins: pinmux_i2c2_pins { | ||
124 | pinctrl-single,pins = < | ||
125 | 0x18e (PIN_INPUT | MUX_MODE0) /* i2c2_scl.i2c2_scl */ | ||
126 | 0x190 (PIN_INPUT | MUX_MODE0) /* i2c2_sda.i2c2_sda */ | ||
127 | >; | ||
128 | }; | ||
129 | |||
130 | i2c3_pins: pinmux_i2c3_pins { | ||
131 | pinctrl-single,pins = < | ||
132 | 0x192 (PIN_INPUT | MUX_MODE0) /* i2c3_scl.i2c3_scl */ | ||
133 | 0x194 (PIN_INPUT | MUX_MODE0) /* i2c3_sda.i2c3_sda */ | ||
134 | >; | ||
135 | }; | ||
136 | |||
116 | leds_pins: pinmux_leds_pins { }; | 137 | leds_pins: pinmux_leds_pins { }; |
117 | }; | 138 | }; |
118 | 139 | ||
119 | &i2c1 { | 140 | &i2c1 { |
141 | pinctrl-names = "default"; | ||
142 | pinctrl-0 = <&i2c1_pins>; | ||
120 | clock-frequency = <2600000>; | 143 | clock-frequency = <2600000>; |
121 | 144 | ||
122 | twl: twl@48 { | 145 | twl: twl@48 { |
@@ -136,9 +159,16 @@ | |||
136 | #include "twl4030_omap3.dtsi" | 159 | #include "twl4030_omap3.dtsi" |
137 | 160 | ||
138 | &i2c2 { | 161 | &i2c2 { |
162 | pinctrl-names = "default"; | ||
163 | pinctrl-0 = <&i2c2_pins>; | ||
139 | clock-frequency = <400000>; | 164 | clock-frequency = <400000>; |
140 | }; | 165 | }; |
141 | 166 | ||
167 | &i2c3 { | ||
168 | pinctrl-names = "default"; | ||
169 | pinctrl-0 = <&i2c3_pins>; | ||
170 | }; | ||
171 | |||
142 | &mcbsp2 { | 172 | &mcbsp2 { |
143 | pinctrl-names = "default"; | 173 | pinctrl-names = "default"; |
144 | pinctrl-0 = <&mcbsp2_pins>; | 174 | pinctrl-0 = <&mcbsp2_pins>; |