ARM: dts: imx51-babbage: Add devicetree node for I2C1
authorAlexander Shiyan <shc_work@mail.ru>
Wed, 16 Apr 2014 07:24:56 +0000 (11:24 +0400)
committerShawn Guo <shawn.guo@freescale.com>
Fri, 16 May 2014 15:01:58 +0000 (23:01 +0800)
This patch adds devicetree node and pinctrl group for I2C1.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
arch/arm/boot/dts/imx51-babbage.dts

index 6484b739ae3799992060ff97ecf108d9f42f9905..5a50bbf45976a16403e1689f37f60de48a7a4615 100644 (file)
        status = "okay";
 };
 
+&i2c1 {
+       pinctrl-names = "default";
+       pinctrl-0 = <&pinctrl_i2c1>;
+       status = "okay";
+};
+
 &i2c2 {
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_i2c2>;
                        >;
                };
 
+               pinctrl_i2c1: i2c1grp {
+                       fsl,pins = <
+                               MX51_PAD_EIM_D19__I2C1_SCL              0x400001ed
+                               MX51_PAD_EIM_D16__I2C1_SDA              0x400001ed
+                       >;
+               };
+
                pinctrl_i2c2: i2c2grp {
                        fsl,pins = <
                                MX51_PAD_KEY_COL4__I2C2_SCL             0x400001ed