summaryrefslogtreecommitdiff
path: root/include/configs/nhk8815.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/configs/nhk8815.h')
-rw-r--r--include/configs/nhk8815.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/include/configs/nhk8815.h b/include/configs/nhk8815.h
index 1453285..0997f49 100644
--- a/include/configs/nhk8815.h
+++ b/include/configs/nhk8815.h
@@ -93,8 +93,11 @@
#ifndef __ASSEMBLY__
#include <asm/arch/gpio.h>
#define CONFIG_CMD_I2C
-#define CONFIG_SOFT_I2C
-#define CONFIG_SYS_I2C_SPEED 400000
+#define CONFIG_SYS_I2C
+#define CONFIG_SYS_I2C_SOFT 1 /* I2C bit-banged */
+#define I2C_SOFT_DEFS
+#define CONFIG_SYS_I2C_SOFT_SPEED 400000
+#define CONFIG_SYS_I2C_SOFT_SLAVE 0x7F
#define __SDA 63
#define __SCL 62
#define I2C_SDA(x) nmk_gpio_set(__SDA, x)