summaryrefslogtreecommitdiff
path: root/include/configs/kzm9g.h
diff options
context:
space:
mode:
authorTetsuyuki Kobayashi <koba@kmckk.co.jp>2012-09-13 19:07:59 +0000
committerHeiko Schocher <hs@denx.de>2012-10-16 05:47:20 +0200
commit020ec727a6bda10f47d69926814d476c0085e8a9 (patch)
tree45d2bed504be4461528081d6fb3594ec50c6344d /include/configs/kzm9g.h
parent3ce2703d8f11b0b5c28409d8335f36bef258831b (diff)
downloadu-boot-imx-020ec727a6bda10f47d69926814d476c0085e8a9.zip
u-boot-imx-020ec727a6bda10f47d69926814d476c0085e8a9.tar.gz
u-boot-imx-020ec727a6bda10f47d69926814d476c0085e8a9.tar.bz2
i2c: sh_i2c.c: support I2C2, I2C3 and I2C4
sh_i2c.c support I2C0 and I2C1. This patch extends it to I2C4. Acked-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com> Signed-off-by: Tetsuyuki Kobayashi <koba@kmckk.co.jp>
Diffstat (limited to 'include/configs/kzm9g.h')
-rw-r--r--include/configs/kzm9g.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/configs/kzm9g.h b/include/configs/kzm9g.h
index 75b9257..4898fb6 100644
--- a/include/configs/kzm9g.h
+++ b/include/configs/kzm9g.h
@@ -157,7 +157,7 @@
#define CONFIG_SH_I2C_8BIT
#define CONFIG_HARD_I2C
#define CONFIG_I2C_MULTI_BUS
-#define CONFIG_SYS_MAX_I2C_BUS (2)
+#define CONFIG_SYS_MAX_I2C_BUS (5)
#define CONFIG_SYS_I2C_MODULE
#define CONFIG_SYS_I2C_SPEED (100000) /* 100 kHz */
#define CONFIG_SYS_I2C_SLAVE (0x7F)
@@ -166,5 +166,8 @@
#define CONFIG_SH_I2C_CLOCK (104000000) /* 104 MHz */
#define CONFIG_SH_I2C_BASE0 (0xE6820000)
#define CONFIG_SH_I2C_BASE1 (0xE6822000)
+#define CONFIG_SH_I2C_BASE2 (0xE6824000)
+#define CONFIG_SH_I2C_BASE3 (0xE6826000)
+#define CONFIG_SH_I2C_BASE4 (0xE6828000)
#endif /* __KZM9G_H */