Add SD3 & I2C2 pin definitions for MX51

Alexander Shiyan shc at milas.spb.ru
Tue Sep 20 06:10:55 EDT 2011


Sascha Hauer <s.hauer at pengutronix.de> wrote ..
> On Wed, Sep 07, 2011 at 10:59:07AM +0400, Alexander Shiyan wrote:
> > --- barebox-v2011.09.0.orig/arch/arm/mach-imx/include/mach/iomux-mx51.h	2011-08-26
> 18:23:46.000000000 +0400
> > +++ barebox-v2011.09.0/arch/arm/mach-imx/include/mach/iomux-mx51.h	2011-09-05
> 15:42:19.000000000 +0400
> > @@ -146,24 +146,37 @@
> > 
...
> >  #define MX51_PAD_GPIO1_2__GPIO1_2			IOMUX_PAD(0x7D4, 0x3CC, 0, 0x0, 0, NO_PAD_CTRL)
> > +#define MX51_PAD_GPIO1_2__I2C2_SCL			IOMUX_PAD(0x7D4, 0x3CC, 2 | IOMUX_CONFIG_SION,
> 0x9b8, 3, NO_PAD_CTRL)
> > +
> 
> I think the i2c pads need a pullup, right?
Maybe, but it worked without pull-up because pull-up resistors are provided on the module.


More information about the barebox mailing list