diff options
author | Emilio López <emilio@elopez.com.ar> | 2013-05-02 08:37:46 -0400 |
---|---|---|
committer | Maxime Ripard <maxime.ripard@free-electrons.com> | 2013-06-15 09:19:41 -0400 |
commit | f51cb49b1d03d452fff26d1d7ba4d68e5abd4e4a (patch) | |
tree | dd8648a09019c99664e2a06ed6f3dae3fae48d13 /arch/arm/boot/dts/sun4i-a10-cubieboard.dts | |
parent | 351617cd02157a36346570b21c69594cd7720f4a (diff) |
ARM: sun4i: cubieboard: Enable the i2c controllers
The Cubieboard makes use of the first two i2c controllers found on the
Allwinner A10; i2c-0 is used internally for the PMIC, while i2c-1
is exposed on the board headers. This patch enables them in the device
tree.
Signed-off-by: Emilio López <emilio@elopez.com.ar>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Reviewed-by: Tomasz Figa <tomasz.figa@gmail.com>
Diffstat (limited to 'arch/arm/boot/dts/sun4i-a10-cubieboard.dts')
-rw-r--r-- | arch/arm/boot/dts/sun4i-a10-cubieboard.dts | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sun4i-a10-cubieboard.dts b/arch/arm/boot/dts/sun4i-a10-cubieboard.dts index b70fe0db6bb7..0e22a285dfe0 100644 --- a/arch/arm/boot/dts/sun4i-a10-cubieboard.dts +++ b/arch/arm/boot/dts/sun4i-a10-cubieboard.dts | |||
@@ -41,6 +41,18 @@ | |||
41 | pinctrl-0 = <&uart0_pins_a>; | 41 | pinctrl-0 = <&uart0_pins_a>; |
42 | status = "okay"; | 42 | status = "okay"; |
43 | }; | 43 | }; |
44 | |||
45 | i2c0: i2c@01c2ac00 { | ||
46 | pinctrl-names = "default"; | ||
47 | pinctrl-0 = <&i2c0_pins_a>; | ||
48 | status = "okay"; | ||
49 | }; | ||
50 | |||
51 | i2c1: i2c@01c2b000 { | ||
52 | pinctrl-names = "default"; | ||
53 | pinctrl-0 = <&i2c1_pins_a>; | ||
54 | status = "okay"; | ||
55 | }; | ||
44 | }; | 56 | }; |
45 | 57 | ||
46 | leds { | 58 | leds { |