summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTroy Kisky <troy.kisky@boundarydevices.com>2012-04-24 17:33:26 +0000
committerHeiko Schocher <hs@denx.de>2012-07-11 10:54:52 +0200
commit3174689be239aae5901fbc5c484a15444bbe96ea (patch)
tree2675a96c7e53473a063932c35a048c9bcb1ff2e5 /include
parentde6f604de245b19ce2e330bc63b6522af134d7ae (diff)
downloadu-boot-imx-3174689be239aae5901fbc5c484a15444bbe96ea.zip
u-boot-imx-3174689be239aae5901fbc5c484a15444bbe96ea.tar.gz
u-boot-imx-3174689be239aae5901fbc5c484a15444bbe96ea.tar.bz2
mx6qsabrelite: add i2c support
Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com> Acked-by: Stefano Babic <sbabic@denx.de>
Diffstat (limited to 'include')
-rw-r--r--include/configs/mx6qsabrelite.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/configs/mx6qsabrelite.h b/include/configs/mx6qsabrelite.h
index fd25faf..fbd10d6 100644
--- a/include/configs/mx6qsabrelite.h
+++ b/include/configs/mx6qsabrelite.h
@@ -58,6 +58,14 @@
#define CONFIG_SF_DEFAULT_MODE (SPI_MODE_0)
#endif
+/* I2C Configs */
+#define CONFIG_CMD_I2C
+#define CONFIG_HARD_I2C
+#define CONFIG_I2C_MXC
+#define CONFIG_SYS_I2C_BASE I2C3_BASE_ADDR
+#define CONFIG_SYS_I2C_SPEED 100000
+#define CONFIG_SYS_I2C_SLAVE 0xfe
+
/* MMC Configs */
#define CONFIG_FSL_ESDHC
#define CONFIG_FSL_USDHC