2 * include/asm-ppc/lopec_serial.h
4 * Definitions for Motorola LoPEC board.
7 * danc@mvista.com (or, alternately, source@mvista.com)
9 * Copyright 2001 MontaVista Software Inc.
11 * This program is free software; you can redistribute it and/or modify it
12 * under the terms of the GNU General Public License as published by the
13 * Free Software Foundation; either version 2 of the License, or (at your
14 * option) any later version.
17 #ifndef __PLATFORMS_LOPEC_SERIAL_H__
18 #define __PLATFORMS_LOPEC_SERIAL_H__
20 #define RS_TABLE_SIZE 3
22 #define BASE_BAUD (1843200 / 16)
27 #define UART0_PORT 0xFFE10000
28 #define UART1_PORT 0xFFE11000
29 #define UART2_PORT 0xFFE12000
30 #define UART0_IO_BASE (u8 *) UART0_PORT
31 #define UART1_IO_BASE (u8 *) UART1_PORT
32 #define UART2_IO_BASE (u8 *) UART2_PORT
34 #define STD_UART_OP(num) \
35 { 0, BASE_BAUD, UART##num##_PORT, UART##num##_INT, \
36 ASYNC_BOOT_AUTOCONF, \
37 iomem_base: UART##num##_IO_BASE, \
38 io_type: SERIAL_IO_MEM },
40 #define SERIAL_PORT_DFNS \
45 #endif /* __PLATFORMS_LOPEC_SERIAL_H__ */