2 * include/asm-ppc/sandpoint_serial.h
4 * Definitions for Motorola SPS Sandpoint Test Platform
6 * Author: Mark A. Greer
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 __ASMPPC_SANDPOINT_SERIAL_H
18 #define __ASMPPC_SANDPOINT_SERIAL_H
20 #include <linux/config.h>
22 #define SANDPOINT_SERIAL_0 0xfe0003f8
23 #define SANDPOINT_SERIAL_1 0xfe0002f8
25 #ifdef CONFIG_SERIAL_MANY_PORTS
26 #define RS_TABLE_SIZE 64
28 #define RS_TABLE_SIZE 2
31 /* Rate for the 1.8432 Mhz clock for the onboard serial chip */
32 #define BASE_BAUD ( 1843200 / 16 )
34 #define STD_SERIAL_PORT_DFNS \
36 { 0, BASE_BAUD, SANDPOINT_SERIAL_0, 4, ASYNC_BOOT_AUTOCONF, \
37 iomem_base: (u8 *)SANDPOINT_SERIAL_0, \
38 io_type: SERIAL_IO_MEM }, \
40 { 0, BASE_BAUD, SANDPOINT_SERIAL_1, 3, ASYNC_BOOT_AUTOCONF, \
41 iomem_base: (u8 *)SANDPOINT_SERIAL_1, \
42 io_type: SERIAL_IO_MEM },
44 #define SERIAL_PORT_DFNS \
47 #endif /* __ASMPPC_SANDPOINT_SERIAL_H */