diff options
author | Chen-Yu Tsai <wens@csie.org> | 2014-01-06 00:58:12 -0500 |
---|---|---|
committer | Maxime Ripard <maxime.ripard@free-electrons.com> | 2014-01-07 17:39:19 -0500 |
commit | 6267355f0e513bed9a5009924abc7a1e7de22ab3 (patch) | |
tree | a67e7794059b3371b5633cdf5fe547ebfa1ab45c /arch/arm/boot/dts/sun7i-a20-cubietruck.dts | |
parent | 0aff0370cbffeadc14456556b904c80e30b3717e (diff) |
arm: sun7i: cubietruck: Enable the i2c controllers
The Cubietruck makes use of the first three i2c controllers found on the
Allwinner A20; i2c-0 is used internally for the PMIC, i2c-1 is exposed on
the board headers, and i2c-2 is used for DDC on the VGA connector. This
patch enables them in the device tree.
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'arch/arm/boot/dts/sun7i-a20-cubietruck.dts')
-rw-r--r-- | arch/arm/boot/dts/sun7i-a20-cubietruck.dts | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sun7i-a20-cubietruck.dts b/arch/arm/boot/dts/sun7i-a20-cubietruck.dts index 8a1009d6c829..f9dcb61a5305 100644 --- a/arch/arm/boot/dts/sun7i-a20-cubietruck.dts +++ b/arch/arm/boot/dts/sun7i-a20-cubietruck.dts | |||
@@ -33,6 +33,24 @@ | |||
33 | pinctrl-0 = <&uart0_pins_a>; | 33 | pinctrl-0 = <&uart0_pins_a>; |
34 | status = "okay"; | 34 | status = "okay"; |
35 | }; | 35 | }; |
36 | |||
37 | i2c0: i2c@01c2ac00 { | ||
38 | pinctrl-names = "default"; | ||
39 | pinctrl-0 = <&i2c0_pins_a>; | ||
40 | status = "okay"; | ||
41 | }; | ||
42 | |||
43 | i2c1: i2c@01c2b000 { | ||
44 | pinctrl-names = "default"; | ||
45 | pinctrl-0 = <&i2c1_pins_a>; | ||
46 | status = "okay"; | ||
47 | }; | ||
48 | |||
49 | i2c2: i2c@01c2b400 { | ||
50 | pinctrl-names = "default"; | ||
51 | pinctrl-0 = <&i2c2_pins_a>; | ||
52 | status = "okay"; | ||
53 | }; | ||
36 | }; | 54 | }; |
37 | 55 | ||
38 | leds { | 56 | leds { |