vserver 1.9.3
[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 #include <asm/arch/pxa-regs.h>
13
14 #define BAUD_BASE       921600
15
16 /* Standard COM flags */
17 #define STD_COM_FLAGS (ASYNC_SKIP_TEST)
18
19 #define STD_SERIAL_PORT_DEFNS   \
20         {       \
21                 type:                   PORT_PXA,       \
22                 xmit_fifo_size:         64,             \
23                 baud_base:              BAUD_BASE,      \
24                 iomem_base:             &FFUART,        \
25                 iomem_reg_shift:        2,              \
26                 io_type:                SERIAL_IO_MEM,  \
27                 irq:                    IRQ_FFUART,     \
28                 flags:                  STD_COM_FLAGS,  \
29         }, {    \
30                 type:                   PORT_PXA,       \
31                 xmit_fifo_size:         64,             \
32                 baud_base:              BAUD_BASE,      \
33                 iomem_base:             &STUART,        \
34                 iomem_reg_shift:        2,              \
35                 io_type:                SERIAL_IO_MEM,  \
36                 irq:                    IRQ_STUART,     \
37                 flags:                  STD_COM_FLAGS,  \
38         }, {    \
39                 type:                   PORT_PXA,       \
40                 xmit_fifo_size:         64,             \
41                 baud_base:              BAUD_BASE,      \
42                 iomem_base:             &BTUART,        \
43                 iomem_reg_shift:        2,              \
44                 io_type:                SERIAL_IO_MEM,  \
45                 irq:                    IRQ_BTUART,     \
46                 flags:                  STD_COM_FLAGS,  \
47         }
48
49 #define EXTRA_SERIAL_PORT_DEFNS
50