ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.6.tar.bz2
[linux-2.6.git] / arch / arm / mach-sa1100 / brutus.c
1 /*
2  * linux/arch/arm/mach-sa1100/brutus.c
3  *
4  * Author: Nicolas Pitre
5  *
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  */
10
11 #include <linux/init.h>
12 #include <linux/kernel.h>
13 #include <linux/tty.h>
14
15 #include <asm/hardware.h>
16 #include <asm/setup.h>
17
18 #include <asm/mach/arch.h>
19 #include <asm/mach/map.h>
20 #include <asm/mach/serial_sa1100.h>
21
22 #include "generic.h"
23
24 static void __init brutus_map_io(void)
25 {
26         sa1100_map_io();
27
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;
34 }
35
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 MACHINE_END