Commit fb00ff4c authored by Lucas Stach's avatar Lucas Stach Committed by Shawn Guo

ARM: dts: imx53-qsb: select open-drain mode for i2c1 pads

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: default avatarLucas Stach <l.stach@pengutronix.de>
Signed-off-by: default avatarPhilipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: default avatarShawn Guo <shawn.guo@linaro.org>
parent 97dae859
...@@ -228,10 +228,11 @@ MX53_PAD_FEC_TXD0__FEC_TDATA_0 0x80000000 ...@@ -228,10 +228,11 @@ MX53_PAD_FEC_TXD0__FEC_TDATA_0 0x80000000
>; >;
}; };
/* open drain */
pinctrl_i2c1: i2c1grp { pinctrl_i2c1: i2c1grp {
fsl,pins = < fsl,pins = <
MX53_PAD_CSI0_DAT8__I2C1_SDA 0xc0000000 MX53_PAD_CSI0_DAT8__I2C1_SDA 0x400001ec
MX53_PAD_CSI0_DAT9__I2C1_SCL 0xc0000000 MX53_PAD_CSI0_DAT9__I2C1_SCL 0x400001ec
>; >;
}; };
......
...@@ -20,15 +20,7 @@ / { ...@@ -20,15 +20,7 @@ / {
}; };
&iomuxc { &iomuxc {
i2c1 { imx53-qsrb {
/* open drain */
pinctrl_i2c1_qsrb: i2c1grp-1 {
fsl,pins = <
MX53_PAD_CSI0_DAT8__I2C1_SDA 0x400001ec
MX53_PAD_CSI0_DAT9__I2C1_SCL 0x400001ec
>;
};
pinctrl_pmic: pmicgrp { pinctrl_pmic: pmicgrp {
fsl,pins = < fsl,pins = <
MX53_PAD_CSI0_DAT5__GPIO5_23 0x1e4 /* IRQ */ MX53_PAD_CSI0_DAT5__GPIO5_23 0x1e4 /* IRQ */
...@@ -38,10 +30,6 @@ MX53_PAD_CSI0_DAT5__GPIO5_23 0x1e4 /* IRQ */ ...@@ -38,10 +30,6 @@ MX53_PAD_CSI0_DAT5__GPIO5_23 0x1e4 /* IRQ */
}; };
&i2c1 { &i2c1 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_i2c1_qsrb>;
status = "okay";
pmic: mc34708@8 { pmic: mc34708@8 {
compatible = "fsl,mc34708"; compatible = "fsl,mc34708";
pinctrl-names = "default"; pinctrl-names = "default";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment