2 * include/asm-arm/arch-sa1100/serial.h
3 * (C) 1999 Nicolas Pitre <nico@cam.org>
5 * All this is intended to be used with a 16550-like UART on the SA1100's
6 * PCMCIA bus. It has nothing to do with the SA1100's internal serial ports.
7 * This is included by serial.c -- serial_sa1100.c makes no use of it.
10 #include <linux/config.h>
12 /* Standard COM flags */
13 #define STD_COM_FLAGS (ASYNC_BOOT_AUTOCONF | ASYNC_SKIP_TEST)
16 * Rather empty table...
17 * Hardwired serial ports should be defined here.
18 * PCMCIA will fill it dynamically.
20 #ifdef CONFIG_SA1100_TRIZEPS
22 #define STD_SERIAL_PORT_DEFNS \
23 /* UART CLK PORT IRQ FLAGS */ \
24 { 0, 1500000, TRIZEPS_UART5, IRQ_GPIO16, STD_COM_FLAGS }, \
25 { 0, 1500000, TRIZEPS_UART6, IRQ_GPIO17, STD_COM_FLAGS }
30 * This assumes you have a 1.8432 MHz clock for your UART.
32 * It'd be nice if someone built a serial card with a 24.576 MHz
33 * clock, since the 16550A is capable of handling a top speed of 1.5
34 * megabits/second; but this requires the faster clock.
36 #define BASE_BAUD ( 1843200 / 16 )
38 #define STD_SERIAL_PORT_DEFNS \
39 /* UART CLK PORT IRQ FLAGS */ \
40 { 0, BASE_BAUD, 0, 0, STD_COM_FLAGS }, \
41 { 0, BASE_BAUD, 0, 0, STD_COM_FLAGS }, \
42 { 0, BASE_BAUD, 0, 0, STD_COM_FLAGS }, \
43 { 0, BASE_BAUD, 0, 0, STD_COM_FLAGS }
47 #define EXTRA_SERIAL_PORT_DEFNS