2 * include/asm-ppc/platforms/prpmc750_serial.h
4 * Motorola PrPMC750 serial support
6 * Author: Matt Porter <mporter@mvista.com>
8 * 2001 (c) MontaVista, Software, Inc. This file is licensed under
9 * the terms of the GNU General Public License version 2. This program
10 * is licensed "as is" without any warranty of any kind, whether express
15 #ifndef __ASM_PRPMC750_SERIAL_H__
16 #define __ASM_PRPMC750_SERIAL_H__
18 #include <linux/config.h>
19 #include <platforms/prpmc750.h>
21 #define RS_TABLE_SIZE 4
23 /* Rate for the 1.8432 Mhz clock for the onboard serial chip */
24 #define BASE_BAUD (PRPMC750_BASE_BAUD / 16)
26 #ifndef SERIAL_MAGIC_KEY
27 #define kernel_debugger ppc_kernel_debug
30 #ifdef CONFIG_SERIAL_DETECT_IRQ
31 #define STD_COM_FLAGS (ASYNC_BOOT_AUTOCONF|ASYNC_SKIP_TEST|ASYNC_AUTO_IRQ)
33 #define STD_COM_FLAGS (ASYNC_BOOT_AUTOCONF|ASYNC_SKIP_TEST)
36 #define SERIAL_PORT_DFNS \
37 { 0, BASE_BAUD, PRPMC750_SERIAL_0, 1, STD_COM_FLAGS, \
38 iomem_base: (unsigned char *)PRPMC750_SERIAL_0, \
40 io_type: SERIAL_IO_MEM } /* ttyS0 */
42 #endif /* __ASM_PRPMC750_SERIAL_H__ */
43 #endif /* __KERNEL__ */