summaryrefslogtreecommitdiff
path: root/board/hadoken/board.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/hadoken/board.c')
-rw-r--r--board/hadoken/board.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/board/hadoken/board.c b/board/hadoken/board.c
index 895974efee..24c71882e5 100644
--- a/board/hadoken/board.c
+++ b/board/hadoken/board.c
@@ -4,9 +4,17 @@
*/
#include "gpio.h"
#include "registers.h"
+#include "i2c.h"
#include "util.h"
/* To define the gpio_list[] instance. */
#include "gpio_list.h"
+/* I2C ports */
+const struct i2c_port_t i2c_ports[] = {
+ {"master", 0 /*Port*/, 100 /*Kbps*/, GPIO_MCU_SCL, GPIO_MCU_SDA},
+};
+
+const unsigned int i2c_ports_used = ARRAY_SIZE(i2c_ports);
+