initial commit with v2.6.9
[linux-2.6.9-moxart.git] / arch / arm / mach-sa1100 / shannon.c
blob8bec82676a3b1cb016243b687d630d52ccb055b7
1 /*
2 * linux/arch/arm/mach-sa1100/shannon.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>
11 #include <asm/irq.h>
13 #include <asm/mach/arch.h>
14 #include <asm/mach/map.h>
15 #include <asm/mach/serial_sa1100.h>
16 #include <asm/arch/shannon.h>
18 #include "generic.h"
21 static void __init shannon_map_io(void)
23 sa1100_map_io();
25 sa1100_register_uart(0, 3);
26 sa1100_register_uart(1, 1);
28 Ser1SDCR0 |= SDCR0_SUS;
29 GAFR |= (GPIO_UART_TXD | GPIO_UART_RXD);
30 GPDR |= GPIO_UART_TXD | SHANNON_GPIO_CODEC_RESET;
31 GPDR &= ~GPIO_UART_RXD;
32 PPAR |= PPAR_UPR;
34 /* reset the codec */
35 GPCR = SHANNON_GPIO_CODEC_RESET;
36 GPSR = SHANNON_GPIO_CODEC_RESET;
39 MACHINE_START(SHANNON, "Shannon (AKA: Tuxscreen)")
40 BOOT_MEM(0xc0000000, 0x80000000, 0xf8000000)
41 BOOT_PARAMS(0xc0000100)
42 MAPIO(shannon_map_io)
43 INITIRQ(sa1100_init_irq)
44 INITTIME(sa1100_init_time)
45 MACHINE_END