http://downloads.netgear.com/files/GPL/GPL_Source_V361j_DM111PSP_series_consumer_rele...
[bcm963xx.git] / kernel / linux / arch / arm / mach-sa1100 / empeg.c
1 /*
2  * linux/arch/arm/mach-sa1100/empeg.c
3  */
4
5 #include <linux/init.h>
6 #include <linux/kernel.h>
7 #include <linux/tty.h>
8
9 #include <asm/hardware.h>
10 #include <asm/setup.h>
11
12 #include <asm/mach/arch.h>
13 #include <asm/mach/map.h>
14 #include <asm/mach/serial_sa1100.h>
15
16 #include "generic.h"
17
18 static struct map_desc empeg_io_desc[] __initdata = {
19  /* virtual     physical    length      type */
20   { EMPEG_FLASHBASE, 0x00000000, 0x00200000, MT_DEVICE } /* Flash */
21 };
22
23 static void __init empeg_map_io(void)
24 {
25         sa1100_map_io();
26         iotable_init(empeg_io_desc, ARRAY_SIZE(empeg_io_desc));
27
28         sa1100_register_uart(0, 1);
29         sa1100_register_uart(1, 3);
30         sa1100_register_uart(2, 2);
31         Ser1SDCR0 |= SDCR0_UART;
32 }
33
34 MACHINE_START(EMPEG, "empeg MP3 Car Audio Player")
35         BOOT_MEM(0xc0000000, 0x80000000, 0xf8000000)
36         MAPIO(empeg_map_io)
37         INITIRQ(sa1100_init_irq)
38         INITTIME(sa1100_init_time)
39 MACHINE_END