MOXA linux-2.6.x / linux-2.6.19-uc1 from UC-7110-LX-BOOTLOADER-1.9_VERSION-4.2.tgz
[linux-2.6.19-moxart.git] / include / asm-arm / arch-lpc22xx / serial.h
blobe5060a5d73e8e2a241ba13a6012ff86936d3470e
1 /*
2 * include/asm-arm/arch-lpc2210/serial.h
4 * Copyright (C) 2004 Philips Semiconductors
5 */
7 #ifndef __ASM_ARCH_SERIAL_H__
8 #define __ASM_ARCH_SERIAL_H__
10 #include <asm/hardware.h>
12 #define BASE_BAUD (LPC22xx_Fpclk / 16)
13 #define UART0_BASE 0xE000C000
14 #define UART1_BASE 0xE0010000
16 /* Standard COM flags */
17 #define STD_COM_FLAGS (ASYNC_BOOT_AUTOCONF | ASYNC_SKIP_TEST)
19 #define RS_TABLE_SIZE 2
22 * Rather empty table...
23 * Hardwired serial ports should be defined here.
24 * PCMCIA will fill it dynamically.
26 #define STD_SERIAL_PORT_DEFNS \
27 /* UART CLK PORT IRQ FLAGS */ \
28 { 0, BASE_BAUD, UART0_BASE, 6, STD_COM_FLAGS, \
29 .iomem_reg_shift = 2, \
30 .iomem_base = UART0_BASE, \
31 .io_type = UPIO_MEM}, \
32 { 1, BASE_BAUD, UART1_BASE, 7, STD_COM_FLAGS, \
33 .iomem_reg_shift = 2, \
34 .iomem_base = UART1_BASE, \
35 .io_type = UPIO_MEM}
37 #define EXTRA_SERIAL_PORT_DEFNS
39 #define SERIAL_PORT_DFNS \
40 STD_SERIAL_PORT_DEFNS \
41 EXTRA_SERIAL_PORT_DEFNS
43 #endif /* __ASM_ARCH_SERIAL_H__ */