ARM: dts: imx53-qsb: select open-drain mode for i2c1 pads
authorLucas Stach <l.stach@pengutronix.de>
Fri, 19 Jun 2015 16:09:50 +0000 (18:09 +0200)
committerShawn Guo <shawnguo@kernel.org>
Wed, 15 Jul 2015 02:20:36 +0000 (10:20 +0800)
Both imx53-qsb and imx53-qsrb don't have external pull-up resistors
on the I2C1 SCL and SDA lines populated. Select open-drain mode and
enable the internal pull-up for both.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
arch/arm/boot/dts/imx53-qsb-common.dtsi
arch/arm/boot/dts/imx53-qsrb.dts

index 181ae5ebf23f64396c8a0b24aa01ef7121c73c87..43932bb7b6911b637d79758612a257e8de7f460c 100644 (file)
                        >;
                };
 
+               /* open drain */
                pinctrl_i2c1: i2c1grp {
                        fsl,pins = <
-                               MX53_PAD_CSI0_DAT8__I2C1_SDA            0xc0000000
-                               MX53_PAD_CSI0_DAT9__I2C1_SCL            0xc0000000
+                               MX53_PAD_CSI0_DAT8__I2C1_SDA            0x400001ec
+                               MX53_PAD_CSI0_DAT9__I2C1_SCL            0x400001ec
                        >;
                };
 
index 82d623d05915813761ecaf8c908dbdafac6af42c..66e47de5e826b0b33aaa6d066aa3c6c3104ff796 100644 (file)
 };
 
 &iomuxc {
-       i2c1 {
-               /* open drain */
-               pinctrl_i2c1_qsrb: i2c1grp-1 {
-                       fsl,pins = <
-                               MX53_PAD_CSI0_DAT8__I2C1_SDA      0x400001ec
-                               MX53_PAD_CSI0_DAT9__I2C1_SCL      0x400001ec
-                       >;
-               };
-
+       imx53-qsrb {
                pinctrl_pmic: pmicgrp {
                        fsl,pins = <
                                MX53_PAD_CSI0_DAT5__GPIO5_23    0x1e4 /* IRQ */
 };
 
 &i2c1 {
-       pinctrl-names = "default";
-       pinctrl-0 = <&pinctrl_i2c1_qsrb>;
-       status = "okay";
-
        pmic: mc34708@8 {
                compatible = "fsl,mc34708";
                pinctrl-names = "default";