summaryrefslogtreecommitdiff
path: root/arch/arm/mach-at91/at91sam9x5.c
diff options
context:
space:
mode:
authorRichard Genoud <richard.genoud@gmail.com>2013-04-03 10:01:22 +0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2013-04-24 14:02:30 +0400
commitf0db66a5cd8f494f9034a5883094102bc46f73bc (patch)
tree9034dc995f4bc5a438056d7d56cb391fb0a22b85 /arch/arm/mach-at91/at91sam9x5.c
parent1ccc404a7fc48dc39aa9605da9a3e579fca7dbf7 (diff)
downloadlinux-f0db66a5cd8f494f9034a5883094102bc46f73bc.tar.xz
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/at91sam9x5.c')
-rw-r--r--arch/arm/mach-at91/at91sam9x5.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-at91/at91sam9x5.c b/arch/arm/mach-at91/at91sam9x5.c
index 44a9a62dcc13..a200d8a17123 100644
--- a/arch/arm/mach-at91/at91sam9x5.c
+++ b/arch/arm/mach-at91/at91sam9x5.c
@@ -237,6 +237,8 @@ static struct clk_lookup periph_clocks_lookups[] = {
CLKDEV_CON_DEV_ID(NULL, "f8010000.i2c", &twi0_clk),
CLKDEV_CON_DEV_ID(NULL, "f8014000.i2c", &twi1_clk),
CLKDEV_CON_DEV_ID(NULL, "f8018000.i2c", &twi2_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),