]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ARM: sun6i: colombus: Enable the I2C controllers
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Tue, 4 Mar 2014 16:28:41 +0000 (17:28 +0100)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Fri, 7 Mar 2014 14:28:09 +0000 (15:28 +0100)
The A31 Colombus board has 3 I2C controllers that should be usable. However,
the first one is not working for some reason on the hardware I have been able
to test it on, while it should really be the same controller. Enable the i2c1
and i2c2 busses, and mark i2c0 as in failure in the DT.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
arch/arm/boot/dts/sun6i-a31-colombus.dts

index e5adae30899b5617ecfefe23d4ff3ad6243cd0f6..3898a7bce8317906054c3662c182e48dc9b6b9ff 100644 (file)
                        pinctrl-0 = <&uart0_pins_a>;
                        status = "okay";
                };
+
+               i2c0: i2c@01c2ac00 {
+                       pinctrl-names = "default";
+                       pinctrl-0 = <&i2c0_pins_a>;
+                       status = "fail";
+               };
+
+               i2c1: i2c@01c2b000 {
+                       pinctrl-names = "default";
+                       pinctrl-0 = <&i2c1_pins_a>;
+                       status = "okay";
+               };
+
+               i2c2: i2c@01c2b400 {
+                       pinctrl-names = "default";
+                       pinctrl-0 = <&i2c2_pins_a>;
+                       status = "okay";
+               };
        };
 };