summaryrefslogtreecommitdiff
path: root/include/configs/dalmore.h
diff options
context:
space:
mode:
authorTom Warren <twarren.nvidia@gmail.com>2013-02-08 07:25:32 +0000
committerTom Warren <twarren@nvidia.com>2013-03-14 11:06:42 -0700
commita7f8b5e616e49a2bb819eeb96b5438039307e7b6 (patch)
tree46aead8b28c57f7600e77ed5f1deb92d3aae6877 /include/configs/dalmore.h
parentb77c3547e867f7876b3f970125c45d556588d9cb (diff)
Tegra114: I2C: Enable I2C driver on Dalmore E1611 eval board
Tested all 5 'buses', i2c probe enumerates device addresses on bus 0, 1 and 2. Signed-off-by: Tom Warren <twarren@nvidia.com> Acked-by: Laxman Dewangan <ldewangan@nvidia.com>
Diffstat (limited to 'include/configs/dalmore.h')
-rw-r--r--include/configs/dalmore.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/configs/dalmore.h b/include/configs/dalmore.h
index ce32c8030b..b1a6e34eba 100644
--- a/include/configs/dalmore.h
+++ b/include/configs/dalmore.h
@@ -41,6 +41,15 @@
#define CONFIG_MACH_TYPE MACH_TYPE_DALMORE
#define CONFIG_BOARD_EARLY_INIT_F
+
+/* I2C */
+#define CONFIG_TEGRA_I2C
+#define CONFIG_SYS_I2C_INIT_BOARD
+#define CONFIG_I2C_MULTI_BUS
+#define CONFIG_SYS_MAX_I2C_BUS TEGRA_I2C_NUM_CONTROLLERS
+#define CONFIG_SYS_I2C_SPEED 100000
+#define CONFIG_CMD_I2C
+
#define CONFIG_ENV_IS_NOWHERE
#define MACH_TYPE_DALMORE 4304 /* not yet in mach-types.h */