From: Michael Olbrich Date: Fri, 25 Jul 2014 10:49:51 +0000 (+0200) Subject: ARM: dts: nitrogen6x: add i2c2 X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=43c3c0069493849892ac34ccfc328e5043ac9e6b;p=openwrt%2Fstaging%2Fblogic.git ARM: dts: nitrogen6x: add i2c2 Signed-off-by: Michael Olbrich Signed-off-by: Lucas Stach Signed-off-by: Shawn Guo --- diff --git a/arch/arm/boot/dts/imx6qdl-nitrogen6x.dtsi b/arch/arm/boot/dts/imx6qdl-nitrogen6x.dtsi index 42ff525ebe13..f402eb919d56 100644 --- a/arch/arm/boot/dts/imx6qdl-nitrogen6x.dtsi +++ b/arch/arm/boot/dts/imx6qdl-nitrogen6x.dtsi @@ -189,6 +189,13 @@ }; }; +&i2c2 { + clock-frequency = <100000>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_i2c2>; + status = "okay"; +}; + &iomuxc { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_hog>; @@ -266,6 +273,13 @@ >; }; + pinctrl_i2c2: i2c2grp { + fsl,pins = < + MX6QDL_PAD_KEY_COL3__I2C2_SCL 0x4001b8b1 + MX6QDL_PAD_KEY_ROW3__I2C2_SDA 0x4001b8b1 + >; + }; + pinctrl_pwm1: pwm1grp { fsl,pins = < MX6QDL_PAD_SD1_DAT3__PWM1_OUT 0x1b0b1