ARM: dts: imx23-olinuxino: Add i2c support
authorHarald Geyer <harald@ccbib.org>
Fri, 17 Apr 2015 14:43:25 +0000 (14:43 +0000)
committerShawn Guo <shawn.guo@linaro.org>
Wed, 3 Jun 2015 07:03:56 +0000 (15:03 +0800)
The imx23-olinuxino board has an i2c interface exposed on UEXT connector.
This patch enables i2c and selects the pin group used on UEXT connector.
Tested with MOD-LCD1x9 from Olimex.

This patch is based on work by Fadil Berisha with his permission. However
all bugs are mine.

Signed-off-by: Harald Geyer <harald@ccbib.org>
Acked-by: Stefan Wahren <stefan.wahren@i2se.com>
Acked-by: Marek Vasut <marex@denx.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
arch/arm/boot/dts/imx23-olinuxino.dts

index 7e6eef2488e807c12c36aaebfd3e64b076f7622f..85718df1488c6dfeb4c3098a5e9da4ec3f2a2044 100644 (file)
                                status = "okay";
                        };
 
+                       i2c: i2c@80058000 {
+                               pinctrl-names = "default";
+                               pinctrl-0 = <&i2c_pins_b>;
+                               status = "okay";
+                       };
+
                        duart: serial@80070000 {
                                pinctrl-names = "default";
                                pinctrl-0 = <&duart_pins_a>;