summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYen Lin <yelin@nvidia.com>2011-06-06 12:07:54 -0700
committerSimon Glass <sjg@chromium.org>2011-08-29 10:39:14 -0700
commit35ba532ce91865f1a272348a88a242599ed8e8bc (patch)
tree6202fa45bcadf0f0b0f9f3c9ad7b0e2ffcae1990
parent3ace0aa3c9eb3c8ba538de3326ee98937dec718b (diff)
tegra2: enable i2c driver
BUG=none TEST=exercise with i2c commands (i2c probe, md and mw) Change-Id: Icc6afaaea2984a06a258fa59d8bad36678d6fae3 Reviewed-on: http://gerrit.chromium.org/gerrit/2169 Tested-by: Yen Lin <yelin@nvidia.com> Reviewed-by: Simon Glass <sjg@chromium.org>
-rw-r--r--include/configs/seaboard.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/include/configs/seaboard.h b/include/configs/seaboard.h
index a928a0a419c..3cec8fbde15 100644
--- a/include/configs/seaboard.h
+++ b/include/configs/seaboard.h
@@ -78,6 +78,20 @@
#define CONFIG_CMD_SPI
#define CONFIG_CMD_SF
+/* I2C */
+#define CONFIG_TEGRA2_I2C
+#define CONFIG_SYS_I2C_INIT_BOARD
+#define CONFIG_I2C_MULTI_BUS
+#define CONFIG_SYS_MAX_I2C_BUS 4
+#define CONFIG_SYS_I2C_SPEED 100000
+#define CONFIG_CMD_I2C
+
+/* pin-mux settings for seaboard */
+#define CONFIG_I2CP_PIN_MUX 1
+#define CONFIG_I2C1_PIN_MUX 1
+#define CONFIG_I2C2_PIN_MUX 2
+#define CONFIG_I2C3_PIN_MUX 1
+
/* SD/MMC */
#define CONFIG_MMC
#define CONFIG_GENERIC_MMC