]> rtime.felk.cvut.cz Git - linux-imx.git/commitdiff
ARM: sun5i: olinuxino: Enable the i2c controllers
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Sun, 10 Mar 2013 12:37:10 +0000 (13:37 +0100)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Sat, 15 Jun 2013 13:19:40 +0000 (15:19 +0200)
The A13-Olinuxino makes use of the 3 i2c controllers found on the Allwinner
A13. Enable them in the device tree.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Reviewed-by: Tomasz Figa <tomasz.figa@gmail.com>
arch/arm/boot/dts/sun5i-a13-olinuxino.dts

index 3ca55067f86848eee329392d65d078fdd5b72faf..80497e376706ca930a1eb84cf6297f6277e09ce3 100644 (file)
                        pinctrl-0 = <&uart1_pins_b>;
                        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";
+               };
+
+               i2c2: i2c@01c2b400 {
+                       pinctrl-names = "default";
+                       pinctrl-0 = <&i2c2_pins_a>;
+                       status = "okay";
+               };
        };
 
        leds {