summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-at91/at91sam9n12.c
diff options
context:
space:
mode:
authorRichard Genoud <richard.genoud@gmail.com>2013-04-03 14:01:22 +0800
committerMark Brown <broonie@opensource.wolfsonmicro.com>2013-04-24 11:02:30 +0100
commitf0db66a5cd8f494f9034a5883094102bc46f73bc (patch)
tree9034dc995f4bc5a438056d7d56cb391fb0a22b85 /arch/arm/mach-at91/at91sam9n12.c
parent1ccc404a7fc48dc39aa9605da9a3e579fca7dbf7 (diff)
downloadblackbird-op-linux-f0db66a5cd8f494f9034a5883094102bc46f73bc.tar.gz
blackbird-op-linux-f0db66a5cd8f494f9034a5883094102bc46f73bc.zip
ARM: at91: add clocks for spi dt entries
Signed-off-by: Richard Genoud <richard.genoud@gmail.com> [<wenyou.yang@atmel.com: declare the spi clocks for sam9260, at91sam9g45, and at91sam9n12] [wenyou.yang@atmel.com: submit the patch] Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
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 5dfc8fd87103..ccd078355eed 100644
--- a/arch/arm/mach-at91/at91sam9n12.c
+++ b/arch/arm/mach-at91/at91sam9n12.c
@@ -172,6 +172,8 @@ static struct clk_lookup periph_clocks_lookups[] = {
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_DEV_ID("spi_clk", "f0000000.spi", &spi0_clk),
+ CLKDEV_CON_DEV_ID("spi_clk", "f0004000.spi", &spi1_clk),
CLKDEV_CON_DEV_ID(NULL, "fffff400.gpio", &pioAB_clk),
CLKDEV_CON_DEV_ID(NULL, "fffff600.gpio", &pioAB_clk),
CLKDEV_CON_DEV_ID(NULL, "fffff800.gpio", &pioCD_clk),
OpenPOWER on IntegriCloud