summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorStefano Babic <sbabic@denx.de>2011-10-04 23:43:38 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2011-11-03 22:56:26 +0100
commit4205987a668d7ba59e39033823208b34821ee15c (patch)
tree769b2f7db4acfba0baae629b2d5734f6a7be6a37 /board
parent3c8910116ca2076c9808b79fcb9aaee465392356 (diff)
downloadu-boot-imx-4205987a668d7ba59e39033823208b34821ee15c.zip
u-boot-imx-4205987a668d7ba59e39033823208b34821ee15c.tar.gz
u-boot-imx-4205987a668d7ba59e39033823208b34821ee15c.tar.bz2
Davinci: ea20: added I2C support
Signed-off-by: Stefano Babic <sbabic@denx.de> CC: Sandeep Paulraj <s-paulraj@ti.com> Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
Diffstat (limited to 'board')
-rw-r--r--board/davinci/ea20/ea20.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/board/davinci/ea20/ea20.c b/board/davinci/ea20/ea20.c
index d581cdd..720a360 100644
--- a/board/davinci/ea20/ea20.c
+++ b/board/davinci/ea20/ea20.c
@@ -65,6 +65,12 @@ static const struct pinmux_config spi1_pins[] = {
{ pinmux(5), 1, 5 }
};
+/* I2C pin muxer settings */
+static const struct pinmux_config i2c_pins[] = {
+ { pinmux(4), 2, 2 },
+ { pinmux(4), 2, 3 }
+};
+
/* UART0 pin muxer settings */
static const struct pinmux_config uart_pins[] = {
{ pinmux(3), 2, 7 },
@@ -148,6 +154,7 @@ static const struct pinmux_resource pinmuxes[] = {
PINMUX_ITEM(spi1_pins),
#endif
PINMUX_ITEM(uart_pins),
+ PINMUX_ITEM(i2c_pins),
#ifdef CONFIG_NAND_DAVINCI
PINMUX_ITEM(nand_pins),
#endif