1/*
2 * linux/include/asm-arm/arch-cl7500/serial.h
3 *
4 * Copyright (c) 1996 Russell King.
5 * Copyright (C) 1999 Nexus Electronics Ltd.
6 *
7 * Changelog:
8 *  15-10-1996	RMK	Created
9 *  10-08-1999	PJB	Added COM3/COM4 for CL7500
10 */
11#ifndef __ASM_ARCH_SERIAL_H
12#define __ASM_ARCH_SERIAL_H
13
14#include <asm/arch/hardware.h>
15
16/*
17 * This assumes you have a 1.8432 MHz clock for your UART.
18 *
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.
22 */
23#define BASE_BAUD (1843200 / 16)
24
25#define RS_TABLE_SIZE	16
26
27#define STD_COM_FLAGS (ASYNC_BOOT_AUTOCONF | ASYNC_SKIP_TEST)
28
29     /* UART CLK        PORT  IRQ     FLAGS        */
30#define STD_SERIAL_PORT_DEFNS \
31	{ 0, BASE_BAUD, 0x3F8, 10, STD_COM_FLAGS },	/* ttyS0 */	\
32	{ 0, BASE_BAUD, 0x2F8,  0, STD_COM_FLAGS },	/* ttyS1 */     \
33        /* ISA Slot Serial ports */ \
34	{ 0, BASE_BAUD, ISASLOT_IO + 0x2e8,  41, STD_COM_FLAGS },	/* ttyS2 */	\
35	{ 0, BASE_BAUD, ISASLOT_IO + 0x3e8,  40, STD_COM_FLAGS },	/* ttyS3 */	\
36	{ 0, BASE_BAUD, 0    ,  0, STD_COM_FLAGS }, 	/* ttyS4 */	\
37	{ 0, BASE_BAUD, 0    ,  0, STD_COM_FLAGS },	/* ttyS5 */	\
38	{ 0, BASE_BAUD, 0    ,  0, STD_COM_FLAGS },	/* ttyS6 */	\
39	{ 0, BASE_BAUD, 0    ,  0, STD_COM_FLAGS },	/* ttyS7 */	\
40	{ 0, BASE_BAUD, 0    ,  0, STD_COM_FLAGS },	/* ttyS8 */	\
41	{ 0, BASE_BAUD, 0    ,  0, STD_COM_FLAGS },	/* ttyS9 */	\
42	{ 0, BASE_BAUD, 0    ,  0, STD_COM_FLAGS },	/* ttyS10 */	\
43	{ 0, BASE_BAUD, 0    ,  0, STD_COM_FLAGS },	/* ttyS11 */	\
44	{ 0, BASE_BAUD, 0    ,  0, STD_COM_FLAGS },	/* ttyS12 */	\
45	{ 0, BASE_BAUD, 0    ,  0, STD_COM_FLAGS },	/* ttyS13 */
46
47#define EXTRA_SERIAL_PORT_DEFNS
48
49#endif
50