ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.6.tar.bz2
[linux-2.6.git] / include / asm-arm / arch-tbox / serial.h
1 /*
2  * linux/include/asm-arm/arch-tbox/serial.h
3  *
4  * Copyright (c) 1996 Russell King.
5  * Copyright (c) 1998 Phil Blundell
6  *
7  * Changelog:
8  *  15-10-1996  RMK     Created
9  *  09-06-1998  PJB     tbox version
10  */
11 #ifndef __ASM_ARCH_SERIAL_H
12 #define __ASM_ARCH_SERIAL_H
13
14 /*
15  * This assumes you have a 1.8432 MHz clock for your UART.
16  *
17  * It'd be nice if someone built a serial card with a 24.576 MHz
18  * clock, since the 16550A is capable of handling a top speed of 1.5
19  * megabits/second; but this requires the faster clock.
20  */
21 #define BASE_BAUD (1843200 / 16)
22
23 #define STD_COM_FLAGS (ASYNC_BOOT_AUTOCONF | ASYNC_SKIP_TEST)
24
25      /* UART CLK        PORT  IRQ     FLAGS        */
26 #define STD_SERIAL_PORT_DEFNS \
27         { 0, BASE_BAUD, 0xffff4000 >> 2, 6, STD_COM_FLAGS }, /* ttyS0 */ \
28         { 0, BASE_BAUD, 0xffff5000 >> 2, 7, STD_COM_FLAGS }, /* ttyS1 */
29
30 #define EXTRA_SERIAL_PORT_DEFNS
31
32 #endif