diff options
author | Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com> | 2013-09-11 15:04:33 +0900 |
---|---|---|
committer | Nobuhiro Iwamatsu <iwamatsu@nigauri.org> | 2013-12-18 16:35:46 +0900 |
commit | bb611cce32338bc35b49538ca23d90a8f3e977c4 (patch) | |
tree | 7d751c91b7b6e6273c94b457acb80a3cb274e363 /include/configs/koelsch.h | |
parent | 90362c0c04a9b7ec7d251ddf208ec411be456b6c (diff) | |
download | u-boot-imx-bb611cce32338bc35b49538ca23d90a8f3e977c4.zip u-boot-imx-bb611cce32338bc35b49538ca23d90a8f3e977c4.tar.gz u-boot-imx-bb611cce32338bc35b49538ca23d90a8f3e977c4.tar.bz2 |
arm: koelsch: Add support I2C
This supports sh_i2c on koelsch board.
Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
Diffstat (limited to 'include/configs/koelsch.h')
-rw-r--r-- | include/configs/koelsch.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/include/configs/koelsch.h b/include/configs/koelsch.h index 32ceff3..f410a8f 100644 --- a/include/configs/koelsch.h +++ b/include/configs/koelsch.h @@ -149,4 +149,20 @@ #define CONFIG_SYS_TMU_CLK_DIV 4 #define CONFIG_SYS_HZ 1000 +/* i2c */ +#define CONFIG_CMD_I2C +#define CONFIG_SYS_I2C +#define CONFIG_SYS_I2C_SH +#define CONFIG_SYS_I2C_SLAVE 0x7F +#define CONFIG_SYS_I2C_SH_NUM_CONTROLLERS 3 +#define CONFIG_SYS_I2C_SH_BASE0 0xE6500000 +#define CONFIG_SYS_I2C_SH_SPEED0 400000 +#define CONFIG_SYS_I2C_SH_BASE1 0xE6510000 +#define CONFIG_SYS_I2C_SH_SPEED1 400000 +#define CONFIG_SYS_I2C_SH_BASE2 0xE60B0000 +#define CONFIG_SYS_I2C_SH_SPEED2 400000 +#define CONFIG_SH_I2C_DATA_HIGH 4 +#define CONFIG_SH_I2C_DATA_LOW 5 +#define CONFIG_SH_I2C_CLOCK 10000000 + #endif /* __KOELSCH_H */ |