aboutsummaryrefslogtreecommitdiff
path: root/drivers/i2c/mxc_i2c.c
diff options
context:
space:
mode:
authorHeiko Schocher2015-05-18 10:56:24 +0200
committerStefano Babic2015-05-26 14:16:54 +0200
commit21a26940f9048e668f9a79f64b802406b2e8d18c (patch)
tree69ad60b6af602381609ecfc3760755757031dc20 /drivers/i2c/mxc_i2c.c
parentab87fc6bbd80f4e702e7dde102b1c74f0f4678b3 (diff)
arm, imx6, i2c: add I2C4 for MX6DL
add I2C4 modul for MX6DL based boards. Signed-off-by: Heiko Schocher <hs@denx.de>
Diffstat (limited to 'drivers/i2c/mxc_i2c.c')
-rw-r--r--drivers/i2c/mxc_i2c.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/i2c/mxc_i2c.c b/drivers/i2c/mxc_i2c.c
index 81adf6f4503..2949e52b72a 100644
--- a/drivers/i2c/mxc_i2c.c
+++ b/drivers/i2c/mxc_i2c.c
@@ -517,6 +517,9 @@ static struct mxc_i2c_bus mxc_i2c_buses[] = {
{ 0, I2C1_BASE_ADDR },
{ 1, I2C2_BASE_ADDR },
{ 2, I2C3_BASE_ADDR },
+#if defined(CONFIG_MX6DL)
+ { 3, I2C4_BASE_ADDR },
+#endif
#elif defined(CONFIG_LS102XA)
{ 0, I2C1_BASE_ADDR, I2C_QUIRK_FLAG },
{ 1, I2C2_BASE_ADDR, I2C_QUIRK_FLAG },