initial commit with v2.6.9
[linux-2.6.9-moxart.git] / arch / arm / mach-sa1100 / itsy.c
bloba4af8d58867d8791c8d358787f04df3f0ad96729
1 /*
2 * linux/arch/arm/mach-sa1100/itsy.c
3 */
5 #include <linux/init.h>
6 #include <linux/kernel.h>
7 #include <linux/tty.h>
9 #include <asm/hardware.h>
10 #include <asm/setup.h>
12 #include <asm/mach/arch.h>
13 #include <asm/mach/map.h>
14 #include <asm/mach/serial_sa1100.h>
16 #include "generic.h"
18 /* BRADFIXME The egpio addresses aren't verifiably correct. (i.e. they're most
19 likely wrong. */
20 static struct map_desc itsy_io_desc[] __initdata = {
21 /* virtual physical length type */
22 { 0xf0000000, 0x49000000, 0x01000000, MT_DEVICE } /* EGPIO 0 */
25 static void __init itsy_map_io(void)
27 sa1100_map_io();
28 iotable_init(itsy_io_desc, ARRAY_SIZE(itsy_io_desc));
30 sa1100_register_uart(0, 3);
31 sa1100_register_uart(1, 1);
32 sa1100_register_uart(2, 2);
35 MACHINE_START(ITSY, "Compaq Itsy")
36 BOOT_MEM(0xc0000000, 0x80000000, 0xf8000000)
37 BOOT_PARAMS(0xc0000100)
38 MAPIO(itsy_map_io)
39 INITIRQ(sa1100_init_irq)
40 INITTIME(sa1100_init_time)
41 MACHINE_END