aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-at91/at91sam9n12.c
diff options
context:
space:
mode:
authorLudovic Desroches <ludovic.desroches@atmel.com>2012-09-12 08:42:15 +0200
committerWolfram Sang <w.sang@pengutronix.de>2012-09-12 14:49:15 +0200
commitf7d19b9065569268dd13307213c40d168fb0be82 (patch)
tree0611ed18620551fbcb1d1f1c384dcbc70a2fc9c5 /arch/arm/mach-at91/at91sam9n12.c
parent70d46a241ed3bb0d1bb2bc15720b6f7c215c37f5 (diff)
ARM: at91: add clocks for I2C DT entries
Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com> Acked-by: Nikolaus Voss <n.voss@weinmann.de> Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com> Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-at91/at91sam9n12.c')
-rw-r--r--arch/arm/mach-at91/at91sam9n12.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-at91/at91sam9n12.c b/arch/arm/mach-at91/at91sam9n12.c
index 08494664ab7..732d3d3f4ec 100644
--- a/arch/arm/mach-at91/at91sam9n12.c
+++ b/arch/arm/mach-at91/at91sam9n12.c
@@ -169,6 +169,8 @@ static struct clk_lookup periph_clocks_lookups[] = {
CLKDEV_CON_DEV_ID("t0_clk", "f8008000.timer", &tcb_clk),
CLKDEV_CON_DEV_ID("t0_clk", "f800c000.timer", &tcb_clk),
CLKDEV_CON_DEV_ID("dma_clk", "ffffec00.dma-controller", &dma_clk),
+ CLKDEV_CON_DEV_ID(NULL, "f8010000.i2c", &twi0_clk),
+ CLKDEV_CON_DEV_ID(NULL, "f8014000.i2c", &twi1_clk),
CLKDEV_CON_ID("pioA", &pioAB_clk),
CLKDEV_CON_ID("pioB", &pioAB_clk),
CLKDEV_CON_ID("pioC", &pioCD_clk),