diff options
author | Arnd Bergmann <arnd@arndb.de> | 2013-06-20 09:23:41 -0400 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2013-06-20 09:23:41 -0400 |
commit | dc61cd9ecb918f593972962b97cf6079ab9d1daf (patch) | |
tree | cbe1e1d7fc2e231da2db3969f7004d995514f8ea /arch/arm/boot/dts/sun5i-a13.dtsi | |
parent | ed2ca6ee4bfd060c079fd05d0eb8862da02dd248 (diff) | |
parent | d0f2677be5b49a1c1de59fe94faa96b7808be95f (diff) |
Merge tag 'sunxi-dt-for-3.11-2' of git://github.com/mripard/linux into next/dt
From Maxime Ripard:
Allwinner SoCs DT additions for 3.11, part 2
Mostly adds support for the i2c controllers and the Allwinner A10S SoC.
* tag 'sunxi-dt-for-3.11-2' of git://github.com/mripard/linux:
ARM: sunxi: Add Olimex A10s-Olinuxino-micro device tree
ARM: sunxi: dt: Add Allwinner A10s DTSI
ARM: sun4i: cubieboard: Enable the i2c controllers
ARM: sun5i: olinuxino: Enable the i2c controllers
ARM: sun5i: dt: Add i2c muxing options
ARM: sun4i: dt: Add i2c muxing options
ARM: sunxi: dt: Add i2c controller nodes to the DTSI
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/boot/dts/sun5i-a13.dtsi')
-rw-r--r-- | arch/arm/boot/dts/sun5i-a13.dtsi | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sun5i-a13.dtsi b/arch/arm/boot/dts/sun5i-a13.dtsi index 027cb24438f8..7363211daf84 100644 --- a/arch/arm/boot/dts/sun5i-a13.dtsi +++ b/arch/arm/boot/dts/sun5i-a13.dtsi | |||
@@ -188,6 +188,27 @@ | |||
188 | allwinner,drive = <0>; | 188 | allwinner,drive = <0>; |
189 | allwinner,pull = <0>; | 189 | allwinner,pull = <0>; |
190 | }; | 190 | }; |
191 | |||
192 | i2c0_pins_a: i2c0@0 { | ||
193 | allwinner,pins = "PB0", "PB1"; | ||
194 | allwinner,function = "i2c0"; | ||
195 | allwinner,drive = <0>; | ||
196 | allwinner,pull = <0>; | ||
197 | }; | ||
198 | |||
199 | i2c1_pins_a: i2c1@0 { | ||
200 | allwinner,pins = "PB15", "PB16"; | ||
201 | allwinner,function = "i2c1"; | ||
202 | allwinner,drive = <0>; | ||
203 | allwinner,pull = <0>; | ||
204 | }; | ||
205 | |||
206 | i2c2_pins_a: i2c2@0 { | ||
207 | allwinner,pins = "PB17", "PB18"; | ||
208 | allwinner,function = "i2c2"; | ||
209 | allwinner,drive = <0>; | ||
210 | allwinner,pull = <0>; | ||
211 | }; | ||
191 | }; | 212 | }; |
192 | 213 | ||
193 | timer@01c20c00 { | 214 | timer@01c20c00 { |
@@ -221,5 +242,32 @@ | |||
221 | clocks = <&apb1_gates 19>; | 242 | clocks = <&apb1_gates 19>; |
222 | status = "disabled"; | 243 | status = "disabled"; |
223 | }; | 244 | }; |
245 | |||
246 | i2c0: i2c@01c2ac00 { | ||
247 | compatible = "allwinner,sun4i-i2c"; | ||
248 | reg = <0x01c2ac00 0x400>; | ||
249 | interrupts = <7>; | ||
250 | clocks = <&apb1_gates 0>; | ||
251 | clock-frequency = <100000>; | ||
252 | status = "disabled"; | ||
253 | }; | ||
254 | |||
255 | i2c1: i2c@01c2b000 { | ||
256 | compatible = "allwinner,sun4i-i2c"; | ||
257 | reg = <0x01c2b000 0x400>; | ||
258 | interrupts = <8>; | ||
259 | clocks = <&apb1_gates 1>; | ||
260 | clock-frequency = <100000>; | ||
261 | status = "disabled"; | ||
262 | }; | ||
263 | |||
264 | i2c2: i2c@01c2b400 { | ||
265 | compatible = "allwinner,sun4i-i2c"; | ||
266 | reg = <0x01c2b400 0x400>; | ||
267 | interrupts = <9>; | ||
268 | clocks = <&apb1_gates 2>; | ||
269 | clock-frequency = <100000>; | ||
270 | status = "disabled"; | ||
271 | }; | ||
224 | }; | 272 | }; |
225 | }; | 273 | }; |