ARM: dts: imx7s-warp: Enable I2C2 device support
authorVanessa Maegima <vanessa.maegima@nxp.com>
Tue, 30 Aug 2016 20:23:02 +0000 (17:23 -0300)
committerShawn Guo <shawnguo@kernel.org>
Mon, 5 Sep 2016 02:21:11 +0000 (10:21 +0800)
Enable I2C2 device support.

Signed-off-by: Vanessa Maegima <vanessa.maegima@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx7s-warp.dts

index 1ff762d180efbaf156b2f7dadce2a125612d18ae..b35d1014cd5abd7b2dd3695a831f3e79a7dcc2bb 100644 (file)
        };
 };
 
+&i2c2 {
+       clock-frequency = <100000>;
+       pinctrl-names = "default";
+       pinctrl-0 = <&pinctrl_i2c2>;
+       status = "okay";
+};
+
 &i2c4 {
        clock-frequency = <100000>;
        pinctrl-names = "default";
                >;
        };
 
+       pinctrl_i2c2: i2c2grp {
+               fsl,pins = <
+                       MX7D_PAD_I2C2_SDA__I2C2_SDA     0x4000007f
+                       MX7D_PAD_I2C2_SCL__I2C2_SCL     0x4000007f
+               >;
+       };
+
        pinctrl_i2c4: i2c4grp {
                fsl,pins = <
                        MX7D_PAD_I2C4_SCL__I2C4_SCL     0x4000007f