ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.6.tar.bz2
[linux-2.6.git] / include / asm-arm / arch-pxa / serial.h
1 /*
2  *  linux/include/asm-arm/arch-pxa/serial.h
3  *
4  * Author:      Nicolas Pitre
5  * Copyright:   (C) 2001 MontaVista Software Inc.
6  *
7  * This program is free software; you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License version 2 as
9  * published by the Free Software Foundation.
10  */
11
12
13 #define BAUD_BASE       921600
14
15 /* Standard COM flags */
16 #define STD_COM_FLAGS (ASYNC_SKIP_TEST)
17
18 #define STD_SERIAL_PORT_DEFNS   \
19         {       \
20                 type:                   PORT_PXA,       \
21                 xmit_fifo_size:         64,             \
22                 baud_base:              BAUD_BASE,      \
23                 iomem_base:             &FFUART,        \
24                 iomem_reg_shift:        2,              \
25                 io_type:                SERIAL_IO_MEM,  \
26                 irq:                    IRQ_FFUART,     \
27                 flags:                  STD_COM_FLAGS,  \
28         }, {    \
29                 type:                   PORT_PXA,       \
30                 xmit_fifo_size:         64,             \
31                 baud_base:              BAUD_BASE,      \
32                 iomem_base:             &STUART,        \
33                 iomem_reg_shift:        2,              \
34                 io_type:                SERIAL_IO_MEM,  \
35                 irq:                    IRQ_STUART,     \
36                 flags:                  STD_COM_FLAGS,  \
37         }, {    \
38                 type:                   PORT_PXA,       \
39                 xmit_fifo_size:         64,             \
40                 baud_base:              BAUD_BASE,      \
41                 iomem_base:             &BTUART,        \
42                 iomem_reg_shift:        2,              \
43                 io_type:                SERIAL_IO_MEM,  \
44                 irq:                    IRQ_BTUART,     \
45                 flags:                  STD_COM_FLAGS,  \
46         }
47
48 #define EXTRA_SERIAL_PORT_DEFNS
49