summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoachim Eastwood <manabian@gmail.com>2012-12-05 21:42:12 (GMT)
committerWolfram Sang <w.sang@pengutronix.de>2013-01-28 04:26:43 (GMT)
commit631056c399d2bdf34ee147c99401fee093ee4bfe (patch)
treef73686887475de9bda61b2187346c8b7f70110c5
parent2a2897bab2d3d50ab466cf908f03b62801f1ff56 (diff)
downloadlinux-631056c399d2bdf34ee147c99401fee093ee4bfe.tar.xz
i2c: at91: add of_device_id entry for at91rm9200
Signed-off-by: Joachim Eastwood <manabian@gmail.com> Acked-by: Ludovic Ddesroches <ludovic.desroches@atmel.com> Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
-rw-r--r--drivers/i2c/busses/i2c-at91.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/i2c/busses/i2c-at91.c b/drivers/i2c/busses/i2c-at91.c
index 2bfc04d..3e287d8 100644
--- a/drivers/i2c/busses/i2c-at91.c
+++ b/drivers/i2c/busses/i2c-at91.c
@@ -584,6 +584,9 @@ static const struct platform_device_id at91_twi_devtypes[] = {
#if defined(CONFIG_OF)
static const struct of_device_id atmel_twi_dt_ids[] = {
{
+ .compatible = "atmel,at91rm9200-i2c",
+ .data = &at91rm9200_config,
+ } , {
.compatible = "atmel,at91sam9260-i2c",
.data = &at91sam9260_config,
} , {