MOXA linux-2.6.x / linux-2.6.9-uc0 from sdlinux-moxaart.tgz
[linux-2.6.9-moxart.git] / arch / arm / mach-sa1100 / brutus.c
blob925bf0e59fe888550a0b51214cde6f38d5f093b2
1 /*
2 * linux/arch/arm/mach-sa1100/brutus.c
4 * Author: Nicolas Pitre
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 */
11 #include <linux/init.h>
12 #include <linux/kernel.h>
13 #include <linux/tty.h>
15 #include <asm/hardware.h>
16 #include <asm/setup.h>
18 #include <asm/mach/arch.h>
19 #include <asm/mach/map.h>
20 #include <asm/mach/serial_sa1100.h>
22 #include "generic.h"
24 static void __init brutus_map_io(void)
26 sa1100_map_io();
28 sa1100_register_uart(0, 1);
29 sa1100_register_uart(1, 3);
30 GAFR |= (GPIO_UART_TXD | GPIO_UART_RXD);
31 GPDR |= GPIO_UART_TXD;
32 GPDR &= ~GPIO_UART_RXD;
33 PPAR |= PPAR_UPR;
36 MACHINE_START(BRUTUS, "Intel Brutus (SA1100 eval board)")
37 BOOT_MEM(0xc0000000, 0x80000000, 0xf8000000)
38 MAPIO(brutus_map_io)
39 INITIRQ(sa1100_init_irq)
40 INITTIME(sa1100_init_time)
41 MACHINE_END