[PATCH 2/2] ARM: dts: imx53-qsb: select open-drain mode for i2c1 pads

Lucas Stach l.stach at pengutronix.de
Wed Sep 11 05:51:08 EDT 2013


The pull-ups on this bus are connected to the 1.8V plane.

Signed-off-by: Lucas Stach <l.stach at pengutronix.de>
---
 arch/arm/boot/dts/imx53-qsb.dts | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/imx53-qsb.dts b/arch/arm/boot/dts/imx53-qsb.dts
index 2031ccc..29d81da 100644
--- a/arch/arm/boot/dts/imx53-qsb.dts
+++ b/arch/arm/boot/dts/imx53-qsb.dts
@@ -155,6 +155,16 @@
 			>;
 		};
 	};
+	
+	i2c1 {
+		/* open drain */
+		pinctrl_i2c1_qsb: i2c1grp-1 {
+			fsl,pins = <
+				MX53_PAD_CSI0_DAT8__I2C1_SDA      0x400001cc
+				MX53_PAD_CSI0_DAT9__I2C1_SCL      0x400001cc
+			>;
+		};
+	};
 
 	tve {
 		pinctrl_vga_sync_1: vgasync-grp1 {
@@ -189,7 +199,7 @@
 
 &i2c1 {
 	pinctrl-names = "default";
-	pinctrl-0 = <&pinctrl_i2c1_1>;
+	pinctrl-0 = <&pinctrl_i2c1_qsb>;
 	status = "okay";
 
 	accelerometer: mma8450 at 1c {
-- 
1.8.4.rc3




More information about the linux-arm-kernel mailing list