From c2ca44c24b77e8f65bd5c564576d8eee1a78b4f5 Mon Sep 17 00:00:00 2001 From: Albert Aribaud Date: Fri, 27 Aug 2010 18:26:06 +0200 Subject: [PATCH] edminiv2: add I2C support using mvtwsi driver Signed-off-by: Albert Aribaud Acked-by: Prafulla Wadaskar Acked-by: Heiko Schocher --- include/configs/edminiv2.h | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/include/configs/edminiv2.h b/include/configs/edminiv2.h index 57dd1651f3..ccfc66053b 100644 --- a/include/configs/edminiv2.h +++ b/include/configs/edminiv2.h @@ -132,6 +132,7 @@ */ #include #define CONFIG_CMD_IDE +#define CONFIG_CMD_I2C /* * Network @@ -181,6 +182,16 @@ /* end of IDE defines */ #endif /* CMD_IDE */ +/* + * I2C related stuff + */ +#ifdef CONFIG_CMD_I2C +#define CONFIG_I2C_MVTWSI +#define CONFIG_I2C_MVTWSI_BASE ORION5X_TWSI_BASE +#define CONFIG_SYS_I2C_SLAVE 0x0 +#define CONFIG_SYS_I2C_SPEED 100000 +#endif + /* * Environment variables configurations */ -- 2.30.2