1 /* 2 * include/asm-ppc/sandpoint_serial.h 3 * 4 * Definitions for Motorola SPS Sandpoint Test Platform 5 * 6 * Author: Mark A. Greer 7 * mgreer@mvista.com 8 * 9 * Copyright 2001 MontaVista Software Inc. 10 * 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. 15 */ 16 17 #ifndef __ASMPPC_SANDPOINT_SERIAL_H 18 #define __ASMPPC_SANDPOINT_SERIAL_H 19 20 #include <linux/config.h> 21 22 #define SANDPOINT_SERIAL_0 0xfe0003f8 23 #define SANDPOINT_SERIAL_1 0xfe0002f8 24 25 #ifdef CONFIG_SERIAL_MANY_PORTS 26 #define RS_TABLE_SIZE 64 27 #else 28 #define RS_TABLE_SIZE 2 29 #endif 30 31 /* Rate for the 1.8432 Mhz clock for the onboard serial chip */ 32 #define BASE_BAUD ( 1843200 / 16 ) 33 34 #define STD_SERIAL_PORT_DFNS \ 35 /* ttyS0 */ \ 36 { 0, BASE_BAUD, SANDPOINT_SERIAL_0, 4, ASYNC_BOOT_AUTOCONF, \ 37 iomem_base: (u8 *)SANDPOINT_SERIAL_0, \ 38 io_type: SERIAL_IO_MEM }, \ 39 /* ttyS1 */ \ 40 { 0, BASE_BAUD, SANDPOINT_SERIAL_1, 3, ASYNC_BOOT_AUTOCONF, \ 41 iomem_base: (u8 *)SANDPOINT_SERIAL_1, \ 42 io_type: SERIAL_IO_MEM }, 43 44 #define SERIAL_PORT_DFNS \ 45 STD_SERIAL_PORT_DFNS 46 47 #endif /* __ASMPPC_SANDPOINT_SERIAL_H */ 48