]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ARM: dts: sun8i: Enable i2c controllers on ippo-q8h-v5
authorChen-Yu Tsai <wens@csie.org>
Mon, 18 Aug 2014 16:51:51 +0000 (00:51 +0800)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Mon, 18 Aug 2014 17:33:22 +0000 (19:33 +0200)
i2c0 is connected to the gsl1680 capacitive touch panel controller.
i2c1 is connected to an mma7660 3-axis accelerometer.
i2c2 is connected to the front and back gc0309 camera sensors.
The camera sensors require additional regulators be enabled before
they are available.

All these peripherals are not supported by the kernel yet.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
arch/arm/boot/dts/sun8i-a23-ippo-q8h-v5.dts

index ef1e4f3aaf3980240464f7d2e5c9ec3cbcbfa36f..e9b8cca8dcc1cc7a9c61c9fe6a3450c72241849b 100644 (file)
                        };
                };
 
+               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>;
+                       /* pull-ups and devices require PMIC regulator */
+                       status = "failed";
+               };
+
                r_uart: serial@01f02800 {
                        pinctrl-names = "default";
                        pinctrl-0 = <&r_uart_pins_a>;