ARM: sun7i: cubieboard2: Enable the I2C controllers
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Sat, 31 Aug 2013 21:12:58 +0000 (23:12 +0200)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Wed, 18 Sep 2013 16:35:38 +0000 (11:35 -0500)
The Cubieboard2 uses both the i2c0 and i2c1 controllers. Enable them in
the DT.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
arch/arm/boot/dts/sun7i-a20-cubieboard2.dts

index 15e625eca3122e5038d0da909602e330363d6dba..5c51cb8a98b01bb49b7c189474eef501f6c864b5 100644 (file)
                        pinctrl-0 = <&uart0_pins_a>;
                        status = "okay";
                };
+
+               i2c0: i2c@01c2ac00 {
+                       pinctrl-names = "default";
+                       pinctrl-0 = <&i2c0_pins_a>;
+                       status = "okay";
+               };
+
+               i2c1: i2c@01c2b000 {
+                       pinctrl-names = "default";
+                       pinctrl-0 = <&i2c1_pins_a>;
+                       status = "okay";
+               };
        };
 
        leds {
This page took 0.025379 seconds and 5 git commands to generate.