diff options
author | Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com> | 2012-03-02 03:58:33 (GMT) |
---|---|---|
committer | Nobuhiro Iwamatsu <iwamatsu@nigauri.org> | 2012-05-28 00:12:53 (GMT) |
commit | d74055596833ecf9c73babc97d9818093679e26c (patch) | |
tree | 1d0a9189f1b622351a802ae01490e8fd8bafcd45 /include/configs | |
parent | 1379c51ea5cbffe68016d61d37108750db26fc33 (diff) | |
download | u-boot-fsl-qoriq-d74055596833ecf9c73babc97d9818093679e26c.tar.xz |
sh: r0p7734: Add support I2C controller
This read MAC address from Serial EEPROM and set.
Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Diffstat (limited to 'include/configs')
-rw-r--r-- | include/configs/r0p7734.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/include/configs/r0p7734.h b/include/configs/r0p7734.h index d73cc4d..aa3193d 100644 --- a/include/configs/r0p7734.h +++ b/include/configs/r0p7734.h @@ -34,6 +34,7 @@ #define CONFIG_400MHZ_MODE 1 /* #define CONFIG_533MHZ_MODE 1 */ +#define CONFIG_BOARD_LATE_INIT #define CONFIG_SYS_TEXT_BASE 0x8FFC0000 #define CONFIG_CMD_FLASH @@ -67,6 +68,22 @@ # define CONFIG_SMC911X_BASE (0x84000000) #endif + +/* I2C */ +#define CONFIG_CMD_I2C +#define CONFIG_SH_SH7734_I2C 1 +#define CONFIG_HARD_I2C 1 +#define CONFIG_I2C_MULTI_BUS 1 +#define CONFIG_SYS_MAX_I2C_BUS 2 +#define CONFIG_SYS_I2C_MODULE 0 +#define CONFIG_SYS_I2C_SPEED 100000 /* 100 kHz */ +#define CONFIG_SYS_I2C_SLAVE 0x50 +#define CONFIG_SH_I2C_DATA_HIGH 4 +#define CONFIG_SH_I2C_DATA_LOW 5 +#define CONFIG_SH_I2C_CLOCK 500000000 +#define CONFIG_SH_I2C_BASE0 0xFFC70000 +#define CONFIG_SH_I2C_BASE1 0xFFC7100 + /* undef to save memory */ #define CONFIG_SYS_LONGHELP /* Monitor Command Prompt */ |