ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.6.tar.bz2
[linux-2.6.git] / include / asm-arm / arch-adifcc / serial.h
1 /*
2  * include/asm-arm/arch-adifcc/serial.h
3  *
4  * Author: Deepak Saxena <dsaxena@mvista.com>
5  *
6  * Copyright (c) 2001 MontaVista Software, Inc.
7  */
8 #include <linux/config.h>
9
10 /*
11  * This assumes you have a 1.8432 MHz clock for your UART.
12  *
13  * It'd be nice if someone built a serial card with a 24.576 MHz
14  * clock, since the 16550A is capable of handling a top speed of 1.5
15  * megabits/second; but this requires the faster clock.
16  */
17 #define BASE_BAUD ( 1852000 / 16 )
18
19 /* Standard COM flags */
20 #define STD_COM_FLAGS (ASYNC_BOOT_AUTOCONF | ASYNC_SKIP_TEST)
21
22 #ifdef CONFIG_ARCH_ADI_EVB
23
24 /*
25  * One serial port, int goes to FIQ, so we run in polled mode
26  */
27 #define STD_SERIAL_PORT_DEFNS                   \
28        /* UART CLK      PORT        IRQ        FLAGS        */                  \
29         { 0, BASE_BAUD, 0xff400000, 0,  STD_COM_FLAGS }  /* ttyS0 */
30
31 #define EXTRA_SERIAL_PORT_DEFNS
32
33 #endif
34