2013-03-22 13:24:12 +00:00
|
|
|
/*
|
|
|
|
* Chip-specific setup code for the SAMA5D3 family
|
|
|
|
*
|
|
|
|
* Copyright (C) 2013 Atmel,
|
|
|
|
* 2013 Ludovic Desroches <ludovic.desroches@atmel.com>
|
|
|
|
*
|
|
|
|
* Licensed under GPLv2 or later.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <linux/module.h>
|
|
|
|
#include <linux/dma-mapping.h>
|
2013-10-11 07:37:45 +00:00
|
|
|
#include <linux/clk/at91_pmc.h>
|
2013-03-22 13:24:12 +00:00
|
|
|
|
|
|
|
#include <asm/irq.h>
|
|
|
|
#include <asm/mach/arch.h>
|
|
|
|
#include <asm/mach/map.h>
|
|
|
|
#include <mach/sama5d3.h>
|
|
|
|
#include <mach/cpu.h>
|
|
|
|
|
|
|
|
#include "soc.h"
|
|
|
|
#include "generic.h"
|
|
|
|
#include "sam9_smc.h"
|
|
|
|
|
|
|
|
/* --------------------------------------------------------------------
|
|
|
|
* AT91SAM9x5 processor initialization
|
|
|
|
* -------------------------------------------------------------------- */
|
|
|
|
|
|
|
|
static void __init sama5d3_map_io(void)
|
|
|
|
{
|
|
|
|
at91_init_sram(0, SAMA5D3_SRAM_BASE, SAMA5D3_SRAM_SIZE);
|
|
|
|
}
|
|
|
|
|
|
|
|
AT91_SOC_START(sama5d3)
|
|
|
|
.map_io = sama5d3_map_io,
|
|
|
|
AT91_SOC_END
|