diff options
author | Nick Thompson <nick.thompson@gefanuc.com> | 2009-11-12 11:06:08 -0500 |
---|---|---|
committer | Tom Rix <Tom.Rix@windriver.com> | 2009-11-27 16:26:14 -0600 |
commit | bbed056e550b26712edc173411c9d7ff9cb7e0e6 (patch) | |
tree | a3a902523682b4368c32b924ebadb754149cddea /include/asm-arm/arch-davinci/i2c_defs.h | |
parent | ca8480d444bdcc1670e42a613c5a5e4e8366d2d9 (diff) | |
download | u-boot-imx-bbed056e550b26712edc173411c9d7ff9cb7e0e6.zip u-boot-imx-bbed056e550b26712edc173411c9d7ff9cb7e0e6.tar.gz u-boot-imx-bbed056e550b26712edc173411c9d7ff9cb7e0e6.tar.bz2 |
Add TI DA8xx support: DA8xx includes
Provides initial support for TI OMAP-L1x/DA8xx SoC devices.
See http://www.ti.com
The DA8xx devices are similar to DaVinci devices but have a differing
memory map and updated peripheral versions.
Signed-off-by: Nick Thompson <nick.thompson@gefanuc.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Diffstat (limited to 'include/asm-arm/arch-davinci/i2c_defs.h')
-rw-r--r-- | include/asm-arm/arch-davinci/i2c_defs.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/asm-arm/arch-davinci/i2c_defs.h b/include/asm-arm/arch-davinci/i2c_defs.h index 2e902e1..24cd268 100644 --- a/include/asm-arm/arch-davinci/i2c_defs.h +++ b/include/asm-arm/arch-davinci/i2c_defs.h @@ -28,7 +28,11 @@ #define I2C_WRITE 0 #define I2C_READ 1 +#ifndef CONFIG_SOC_DA8XX #define I2C_BASE 0x01c21000 +#else +#define I2C_BASE 0x01c22000 +#endif #define I2C_OA (I2C_BASE + 0x00) #define I2C_IE (I2C_BASE + 0x04) @@ -88,6 +92,7 @@ #define I2C_CON_XA (1 << 8) /* Expand address */ #define I2C_CON_STP (1 << 11) /* Stop condition (master mode only) */ #define I2C_CON_STT (1 << 13) /* Start condition (master mode only) */ +#define I2C_CON_FREE (1 << 14) /* Free run on emulation */ #define I2C_TIMEOUT 0xffff0000 /* Timeout mask for poll_i2c_irq() */ |