diff options
| author | Ćukasz Majewski <[email protected]> | 2011-08-22 22:34:59 +0000 |
|---|---|---|
| committer | Albert ARIBAUD <[email protected]> | 2011-09-04 11:36:15 +0200 |
| commit | 85776b02143ef8bbf5cc54e09ff1b4f020be11a9 (patch) | |
| tree | 095fceb4996c7fef9eb8b71ea5f4658bb376008e | |
| parent | 9f15bc0c1cc1a88ee655ea2dc3dd56caf8e5de79 (diff) | |
i2c:gpio:s5p: Enable I2C GPIO on the GONI target
This patch enables the software I2C for GONI reference target.
Signed-off-by: Lukasz Majewski <[email protected]>
Signed-off-by: Kyungmin Park <[email protected]>
Signed-off-by: Minkyu Kang <[email protected]>
Cc: Heiko Schocher <[email protected]>
| -rw-r--r-- | include/configs/s5p_goni.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/configs/s5p_goni.h b/include/configs/s5p_goni.h index a5aa859c0cc..6d0058f8e86 100644 --- a/include/configs/s5p_goni.h +++ b/include/configs/s5p_goni.h @@ -220,4 +220,16 @@ #define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_LOAD_ADDR - 0x1000000) +#include <asm/arch/gpio.h> +/* + * I2C Settings + */ +#define CONFIG_SOFT_I2C_GPIO_SCL s5pc110_gpio_get_nr(j4, 3) +#define CONFIG_SOFT_I2C_GPIO_SDA s5pc110_gpio_get_nr(j4, 0) + +#define CONFIG_SOFT_I2C 1 +#define CONFIG_SYS_I2C_SPEED 50000 +#define CONFIG_I2C_MULTI_BUS +#define CONFIG_SYS_MAX_I2C_BUS 7 + #endif /* __CONFIG_H */ |
