Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris...
[linux/fpc-iii.git] / arch / arm / mach-at91 / sama5d3.c
blob3d775d08de08def15011e449bca421fe19dc0f95
1 /*
2 * Chip-specific setup code for the SAMA5D3 family
4 * Copyright (C) 2013 Atmel,
5 * 2013 Ludovic Desroches <ludovic.desroches@atmel.com>
7 * Licensed under GPLv2 or later.
8 */
10 #include <linux/module.h>
11 #include <linux/dma-mapping.h>
12 #include <linux/clk/at91_pmc.h>
14 #include <asm/irq.h>
15 #include <asm/mach/arch.h>
16 #include <asm/mach/map.h>
17 #include <mach/sama5d3.h>
18 #include <mach/cpu.h>
20 #include "soc.h"
21 #include "generic.h"
22 #include "sam9_smc.h"
24 /* --------------------------------------------------------------------
25 * AT91SAM9x5 processor initialization
26 * -------------------------------------------------------------------- */
28 static void __init sama5d3_map_io(void)
30 at91_init_sram(0, SAMA5D3_SRAM_BASE, SAMA5D3_SRAM_SIZE);
33 static void __init sama5d3_initialize(void)
35 at91_sysirq_mask_rtc(SAMA5D3_BASE_RTC);
38 AT91_SOC_START(sama5d3)
39 .map_io = sama5d3_map_io,
40 .init = sama5d3_initialize,
41 AT91_SOC_END