@@ -16,6 +16,7 @@
#include <mach/at91_pmc.h>
#include <mach/cpu.h>
#include <mach/board.h>
+#include <mach/gpio.h>
#include "soc.h"
#include "generic.h"
@@ -231,6 +232,8 @@ static struct clk_lookup periph_clocks_lookups[] = {
CLKDEV_CON_DEV_ID("t0_clk", "f800c000.timer", &tcb0_clk),
CLKDEV_CON_DEV_ID("dma_clk", "ffffec00.dma-controller", &dma0_clk),
CLKDEV_CON_DEV_ID("dma_clk", "ffffee00.dma-controller", &dma1_clk),
+ CLKDEV_CON_DEV_ID("spi_clk", "f0000000.spi", &spi0_clk),
+ CLKDEV_CON_DEV_ID("spi_clk", "f0004000.spi", &spi1_clk),
CLKDEV_CON_ID("pioA", &pioAB_clk),
CLKDEV_CON_ID("pioB", &pioAB_clk),
CLKDEV_CON_ID("pioC", &pioCD_clk),
Signed-off-by: Richard Genoud <richard.genoud@gmail.com> --- arch/arm/mach-at91/at91sam9x5.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)