summaryrefslogtreecommitdiff
path: root/include/configs/T104xRDB.h
diff options
context:
space:
mode:
authorShengzhou Liu <Shengzhou.Liu@freescale.com>2014-07-07 12:17:47 +0800
committerYork Sun <yorksun@freescale.com>2014-07-22 16:25:55 -0700
commitb0d97cd2ed8533f98a6c8a12103eddf07ff7bbff (patch)
treefea2ed968d53a16fc4cb517b9e44663fa61f0ce3 /include/configs/T104xRDB.h
parent7cb7272365983e3a1eedf18a9f688c825e1cf95e (diff)
downloadu-boot-imx-b0d97cd2ed8533f98a6c8a12103eddf07ff7bbff.zip
u-boot-imx-b0d97cd2ed8533f98a6c8a12103eddf07ff7bbff.tar.gz
u-boot-imx-b0d97cd2ed8533f98a6c8a12103eddf07ff7bbff.tar.bz2
powerpc/t1040: update i2c for t1040qds and t104xrdb
- Fix base address of I2C2 as 0x118100 instead of 0x119000. - Add definitions for I2C3 & I2C4. Signed-off-by: Shengzhou Liu <Shengzhou.Liu@freescale.com> Reviewed-by: York Sun <yorksun@freescale.com>
Diffstat (limited to 'include/configs/T104xRDB.h')
-rw-r--r--include/configs/T104xRDB.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/include/configs/T104xRDB.h b/include/configs/T104xRDB.h
index 40bfc60..c96f03c 100644
--- a/include/configs/T104xRDB.h
+++ b/include/configs/T104xRDB.h
@@ -443,11 +443,17 @@
#define CONFIG_SYS_I2C
#define CONFIG_SYS_I2C_FSL /* Use FSL common I2C driver */
#define CONFIG_SYS_FSL_I2C_SPEED 400000 /* I2C speed in Hz */
+#define CONFIG_SYS_FSL_I2C2_SPEED 400000
+#define CONFIG_SYS_FSL_I2C3_SPEED 400000
+#define CONFIG_SYS_FSL_I2C4_SPEED 400000
#define CONFIG_SYS_FSL_I2C_SLAVE 0x7F
-#define CONFIG_SYS_FSL_I2C2_SPEED 400000 /* I2C speed in Hz */
#define CONFIG_SYS_FSL_I2C2_SLAVE 0x7F
+#define CONFIG_SYS_FSL_I2C3_SLAVE 0x7F
+#define CONFIG_SYS_FSL_I2C4_SLAVE 0x7F
#define CONFIG_SYS_FSL_I2C_OFFSET 0x118000
-#define CONFIG_SYS_FSL_I2C2_OFFSET 0x119000
+#define CONFIG_SYS_FSL_I2C2_OFFSET 0x118100
+#define CONFIG_SYS_FSL_I2C3_OFFSET 0x119000
+#define CONFIG_SYS_FSL_I2C4_OFFSET 0x119100
/* I2C bus multiplexer */
#define I2C_MUX_PCA_ADDR 0x70