aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-at91rm9200/at91rm9200.c
diff options
context:
space:
mode:
authorAndrew Victor <andrew@sanpeople.com>2006-12-01 05:51:19 -0500
committerRussell King <rmk+kernel@arm.linux.org.uk>2006-12-01 08:54:05 -0500
commit05043d08045271eb5655308371dd285a852ef855 (patch)
treef8e0d3be28ebf4fae4e54c4c7368358a32b0c854 /arch/arm/mach-at91rm9200/at91rm9200.c
parentd481f86449ccd66314b700c78b3a79168df80d02 (diff)
[ARM] 3960/1: AT91: Final SAM9 intergration patches.
This patch includes a number of small changes for integrating the AT91SAM9261 and AT91SAM0260 support. * Can only select support for one AT91 processor at a time. * Remove most of the remaining static memory mapping for the AT91RM9200. * Reserve 1Mb of memory below the IO for mapping the internal SRAM and any custom board-specific devices (ie, FPGA). * The SAM9260 has more serial ports, so increase the maximum to 7. * Define the standard chipselect addresses, and define other addresses relative to those. * CLOCK_TICK_RATE is different on the SAM926x's. Signed-off-by: Andrew Victor <andrew@sanpeople.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-at91rm9200/at91rm9200.c')
-rw-r--r--arch/arm/mach-at91rm9200/at91rm9200.c22
1 files changed, 1 insertions, 21 deletions
diff --git a/arch/arm/mach-at91rm9200/at91rm9200.c b/arch/arm/mach-at91rm9200/at91rm9200.c
index 0816a8d2e863..a92e9a495b07 100644
--- a/arch/arm/mach-at91rm9200/at91rm9200.c
+++ b/arch/arm/mach-at91rm9200/at91rm9200.c
@@ -28,32 +28,12 @@ static struct map_desc at91rm9200_io_desc[] __initdata = {
28 .length = SZ_4K, 28 .length = SZ_4K,
29 .type = MT_DEVICE, 29 .type = MT_DEVICE,
30 }, { 30 }, {
31 .virtual = AT91_VA_BASE_SPI,
32 .pfn = __phys_to_pfn(AT91RM9200_BASE_SPI),
33 .length = SZ_16K,
34 .type = MT_DEVICE,
35 }, {
36 .virtual = AT91_VA_BASE_EMAC, 31 .virtual = AT91_VA_BASE_EMAC,
37 .pfn = __phys_to_pfn(AT91RM9200_BASE_EMAC), 32 .pfn = __phys_to_pfn(AT91RM9200_BASE_EMAC),
38 .length = SZ_16K, 33 .length = SZ_16K,
39 .type = MT_DEVICE, 34 .type = MT_DEVICE,
40 }, { 35 }, {
41 .virtual = AT91_VA_BASE_TWI, 36 .virtual = AT91_IO_VIRT_BASE - AT91RM9200_SRAM_SIZE,
42 .pfn = __phys_to_pfn(AT91RM9200_BASE_TWI),
43 .length = SZ_16K,
44 .type = MT_DEVICE,
45 }, {
46 .virtual = AT91_VA_BASE_MCI,
47 .pfn = __phys_to_pfn(AT91RM9200_BASE_MCI),
48 .length = SZ_16K,
49 .type = MT_DEVICE,
50 }, {
51 .virtual = AT91_VA_BASE_UDP,
52 .pfn = __phys_to_pfn(AT91RM9200_BASE_UDP),
53 .length = SZ_16K,
54 .type = MT_DEVICE,
55 }, {
56 .virtual = AT91_SRAM_VIRT_BASE,
57 .pfn = __phys_to_pfn(AT91RM9200_SRAM_BASE), 37 .pfn = __phys_to_pfn(AT91RM9200_SRAM_BASE),
58 .length = AT91RM9200_SRAM_SIZE, 38 .length = AT91RM9200_SRAM_SIZE,
59 .type = MT_DEVICE, 39 .type = MT_DEVICE,