2 * linux/include/asm-arm/arch-cl7500/serial.h
4 * Copyright (c) 1996 Russell King.
5 * Copyright (C) 1999 Nexus Electronics Ltd.
8 * 15-10-1996 RMK Created
9 * 10-08-1999 PJB Added COM3/COM4 for CL7500
11 #ifndef __ASM_ARCH_SERIAL_H
12 #define __ASM_ARCH_SERIAL_H
14 #include <asm/arch/hardware.h>
17 * This assumes you have a 1.8432 MHz clock for your UART.
19 * It'd be nice if someone built a serial card with a 24.576 MHz
20 * clock, since the 16550A is capable of handling a top speed of 1.5
21 * megabits/second; but this requires the faster clock.
23 #define BASE_BAUD (1843200 / 16)
25 #define STD_COM_FLAGS (ASYNC_BOOT_AUTOCONF | ASYNC_SKIP_TEST)
27 /* UART CLK PORT IRQ FLAGS */
28 #define STD_SERIAL_PORT_DEFNS \
29 { 0, BASE_BAUD, 0x3F8, 10, STD_COM_FLAGS }, /* ttyS0 */ \
30 { 0, BASE_BAUD, 0x2F8, 0, STD_COM_FLAGS }, /* ttyS1 */ \
31 /* ISA Slot Serial ports */ \
32 { 0, BASE_BAUD, ISASLOT_IO + 0x2e8, 41, STD_COM_FLAGS }, /* ttyS2 */ \
33 { 0, BASE_BAUD, ISASLOT_IO + 0x3e8, 40, STD_COM_FLAGS }, /* ttyS3 */ \
34 { 0, BASE_BAUD, 0 , 0, STD_COM_FLAGS }, /* ttyS4 */ \
35 { 0, BASE_BAUD, 0 , 0, STD_COM_FLAGS }, /* ttyS5 */ \
36 { 0, BASE_BAUD, 0 , 0, STD_COM_FLAGS }, /* ttyS6 */ \
37 { 0, BASE_BAUD, 0 , 0, STD_COM_FLAGS }, /* ttyS7 */ \
38 { 0, BASE_BAUD, 0 , 0, STD_COM_FLAGS }, /* ttyS8 */ \
39 { 0, BASE_BAUD, 0 , 0, STD_COM_FLAGS }, /* ttyS9 */ \
40 { 0, BASE_BAUD, 0 , 0, STD_COM_FLAGS }, /* ttyS10 */ \
41 { 0, BASE_BAUD, 0 , 0, STD_COM_FLAGS }, /* ttyS11 */ \
42 { 0, BASE_BAUD, 0 , 0, STD_COM_FLAGS }, /* ttyS12 */ \
43 { 0, BASE_BAUD, 0 , 0, STD_COM_FLAGS }, /* ttyS13 */
45 #define EXTRA_SERIAL_PORT_DEFNS