MOXA linux-2.6.x / linux-2.6.9-uc0 from sdlinux-moxaart.tgz
[linux-2.6.9-moxart.git] / arch / arm / mach-sa1100 / pleb.c
blob2cdfef622c258937da3fef23ab8430227c3f6e57
1 /*
2 * linux/arch/arm/mach-sa1100/pleb.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 static void __init pleb_map_io(void)
20 sa1100_map_io();
22 sa1100_register_uart(0, 3);
23 sa1100_register_uart(1, 1);
24 GAFR |= (GPIO_UART_TXD | GPIO_UART_RXD);
25 GPDR |= GPIO_UART_TXD;
26 GPDR &= ~GPIO_UART_RXD;
27 PPAR |= PPAR_UPR;
30 MACHINE_START(PLEB, "PLEB")
31 BOOT_MEM(0xc0000000, 0x80000000, 0xf8000000)
32 MAPIO(pleb_map_io)
33 INITIRQ(sa1100_init_irq)
34 INITTIME(sa1100_init_time)
35 MACHINE_END