diff options
author | Maxime Ripard <maxime.ripard@free-electrons.com> | 2013-08-31 17:07:24 -0400 |
---|---|---|
committer | Maxime Ripard <maxime.ripard@free-electrons.com> | 2013-09-18 12:35:37 -0400 |
commit | 428abbb8b89173e5ca2750cd407d1125b231caf2 (patch) | |
tree | a4197f53bc3bac461feffab2b7329b14011e9b36 /arch/arm/boot/dts/sun7i-a20.dtsi | |
parent | 2bad969f782e6da1ab35ebd2897212387e797fa7 (diff) |
ARM: sun7i: Enable the I2C controllers
The Allwinner A20 shares the same I2C controller than the one that could
be found on earlier SoCs from Allwinner. There is only a few more of
these controllers. Add all of them in the DTSI.
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'arch/arm/boot/dts/sun7i-a20.dtsi')
-rw-r--r-- | arch/arm/boot/dts/sun7i-a20.dtsi | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sun7i-a20.dtsi b/arch/arm/boot/dts/sun7i-a20.dtsi index 282c775ee11e..a6829efb8ccf 100644 --- a/arch/arm/boot/dts/sun7i-a20.dtsi +++ b/arch/arm/boot/dts/sun7i-a20.dtsi | |||
@@ -329,6 +329,51 @@ | |||
329 | status = "disabled"; | 329 | status = "disabled"; |
330 | }; | 330 | }; |
331 | 331 | ||
332 | i2c0: i2c@01c2ac00 { | ||
333 | compatible = "allwinner,sun4i-i2c"; | ||
334 | reg = <0x01c2ac00 0x400>; | ||
335 | interrupts = <0 7 1>; | ||
336 | clocks = <&apb1_gates 0>; | ||
337 | clock-frequency = <100000>; | ||
338 | status = "disabled"; | ||
339 | }; | ||
340 | |||
341 | i2c1: i2c@01c2b000 { | ||
342 | compatible = "allwinner,sun4i-i2c"; | ||
343 | reg = <0x01c2b000 0x400>; | ||
344 | interrupts = <0 8 1>; | ||
345 | clocks = <&apb1_gates 1>; | ||
346 | clock-frequency = <100000>; | ||
347 | status = "disabled"; | ||
348 | }; | ||
349 | |||
350 | i2c2: i2c@01c2b400 { | ||
351 | compatible = "allwinner,sun4i-i2c"; | ||
352 | reg = <0x01c2b400 0x400>; | ||
353 | interrupts = <0 9 1>; | ||
354 | clocks = <&apb1_gates 2>; | ||
355 | clock-frequency = <100000>; | ||
356 | status = "disabled"; | ||
357 | }; | ||
358 | |||
359 | i2c3: i2c@01c2b800 { | ||
360 | compatible = "allwinner,sun4i-i2c"; | ||
361 | reg = <0x01c2b800 0x400>; | ||
362 | interrupts = <0 88 1>; | ||
363 | clocks = <&apb1_gates 3>; | ||
364 | clock-frequency = <100000>; | ||
365 | status = "disabled"; | ||
366 | }; | ||
367 | |||
368 | i2c4: i2c@01c2bc00 { | ||
369 | compatible = "allwinner,sun4i-i2c"; | ||
370 | reg = <0x01c2bc00 0x400>; | ||
371 | interrupts = <0 89 1>; | ||
372 | clocks = <&apb1_gates 15>; | ||
373 | clock-frequency = <100000>; | ||
374 | status = "disabled"; | ||
375 | }; | ||
376 | |||
332 | gic: interrupt-controller@01c81000 { | 377 | gic: interrupt-controller@01c81000 { |
333 | compatible = "arm,cortex-a7-gic", "arm,cortex-a15-gic"; | 378 | compatible = "arm,cortex-a7-gic", "arm,cortex-a15-gic"; |
334 | reg = <0x01c81000 0x1000>, | 379 | reg = <0x01c81000 0x1000>, |