]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
ARM: sun5i: dt: Enable I2C controllers on A10S-OLinuXino-Micro
authorEmilio López <emilio@elopez.com.ar>
Sun, 7 Jul 2013 21:31:58 +0000 (18:31 -0300)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Mon, 15 Jul 2013 07:58:37 +0000 (09:58 +0200)
This board from OLIMEX is using the three I2C controllers present on A10S:
  * I2C-0 connects to the AXP152 PMU
  * I2C-1 holds an AT24C16BN-SH EEPROM with the MAC address for ethernet
  * I2C-2 is used for UEXT modules.

Signed-off-by: Emilio López <emilio@elopez.com.ar>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
arch/arm/boot/dts/sun5i-a10s-olinuxino-micro.dts

index 64dc0c42c43abca9b3c59d5a570381785f1575ef..2a69ddffb6578186351374215687bd9120125fae 100644 (file)
                        pinctrl-0 = <&uart3_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";
+               };
+
+               i2c2: i2c@01c2b400 {
+                       pinctrl-names = "default";
+                       pinctrl-0 = <&i2c2_pins_a>;
+                       status = "okay";
+               };
        };
 
        leds {