2 * linux/arch/arm/mach-sa1100/pangolin.c
4 #include <linux/config.h>
5 #include <linux/init.h>
6 #include <linux/kernel.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>
20 fixup_pangolin(struct machine_desc *desc, struct param_struct *params,
21 char **cmdline, struct meminfo *mi)
23 SET_BANK( 0, 0xc0000000, 128*1024*1024 );
26 ROOT_DEV = MKDEV(RAMDISK_MAJOR,0);
27 setup_ramdisk( 1, 0, 0, 16384 );
28 setup_initrd( 0xc0800000, 3*1024*1024 );
31 static struct map_desc pangolin_io_desc[] __initdata = {
32 /* virtual physical length domain r w c b */
33 { 0xe8000000, 0x00000000, 0x04000000, DOMAIN_IO, 0, 1, 0, 0 }, /* Flash bank 0 */
34 { 0xf2800000, 0x4b800000, 0x00800000, DOMAIN_IO, 0, 1, 0, 0 }, /* MQ200 */
38 static void __init pangolin_map_io(void)
41 iotable_init(pangolin_io_desc);
43 sa1100_register_uart(0, 1);
44 sa1100_register_uart(1, 3);
45 Ser1SDCR0 |= SDCR0_UART;
47 /* set some GPDR bits while it's safe */
48 GPDR |= GPIO_PCMCIA_RESET;
49 #ifndef CONFIG_SA1100_PANGOLIN_PCMCIA_IDE
50 GPDR |= GPIO_PCMCIA_BUS_ON;
54 MACHINE_START(PANGOLIN, "Dialogue-Pangolin")
55 BOOT_MEM(0xc0000000, 0x80000000, 0xf8000000)
57 MAPIO(pangolin_map_io)
58 INITIRQ(sa1100_init_irq)