File: /usr/src/linux/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 RS_TABLE_SIZE	2
24     
25     #define STD_COM_FLAGS (ASYNC_BOOT_AUTOCONF | ASYNC_SKIP_TEST)
26     
27          /* UART CLK        PORT  IRQ     FLAGS        */
28     #define STD_SERIAL_PORT_DEFNS \
29     	{ 0, BASE_BAUD, 0xffff4000 >> 2, 6, STD_COM_FLAGS }, /* ttyS0 */ \
30     	{ 0, BASE_BAUD, 0xffff5000 >> 2, 7, STD_COM_FLAGS }, /* ttyS1 */
31     
32     #define EXTRA_SERIAL_PORT_DEFNS
33     
34     #endif
35