summaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/arch-pantheon/config.h
diff options
context:
space:
mode:
authorLei Wen <[leiwen@marvell.com]>2011-04-13 23:48:34 +0530
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2011-04-27 19:38:08 +0200
commitaa3b168e317d7eb86968f60fcf105a3cb409bee5 (patch)
tree67a6e9a5e3d2d22cfead0e3ec6102bbee9aadf62 /arch/arm/include/asm/arch-pantheon/config.h
parent3df619ec2cae3305c20b808c4d49cfed66c1cf9b (diff)
downloadtalos-obmc-uboot-aa3b168e317d7eb86968f60fcf105a3cb409bee5.tar.gz
talos-obmc-uboot-aa3b168e317d7eb86968f60fcf105a3cb409bee5.zip
I2C: add i2c support for Pantheon platform
Add i2c support to dkb board with pantheon soc. Acked-by: Heiko Schocher <hs@denx.de> Acked-by: Prafulla Wadaskar <prafulla@marvell.com> Signed-off-by: Lei Wen <leiwen@marvell.com>
Diffstat (limited to 'arch/arm/include/asm/arch-pantheon/config.h')
-rw-r--r--arch/arm/include/asm/arch-pantheon/config.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-pantheon/config.h b/arch/arm/include/asm/arch-pantheon/config.h
index 710b3862ca..5658592f83 100644
--- a/arch/arm/include/asm/arch-pantheon/config.h
+++ b/arch/arm/include/asm/arch-pantheon/config.h
@@ -34,5 +34,15 @@
#define MV_UART_CONSOLE_BASE PANTHEON_UART1_BASE
#define CONFIG_SYS_NS16550_IER (1 << 6) /* Bit 6 in UART_IER register
represents UART Unit Enable */
+/*
+ * I2C definition
+ */
+#ifdef CONFIG_CMD_I2C
+#define CONFIG_I2C_MV 1
+#define CONFIG_MV_I2C_REG 0xd4011000
+#define CONFIG_HARD_I2C 1
+#define CONFIG_SYS_I2C_SPEED 0
+#define CONFIG_SYS_I2C_SLAVE 0xfe
+#endif
#endif /* _PANTHEON_CONFIG_H */
OpenPOWER on IntegriCloud