2 * arch/ppc/platforms/85xx/sbc8560.h
4 * Wind River SBC8560 board definitions
6 * Copyright 2003 Motorola Inc.
8 * This program is free software; you can redistribute it and/or modify it
9 * under the terms of the GNU General Public License as published by the
10 * Free Software Foundation; either version 2 of the License, or (at your
11 * option) any later version.
15 #ifndef __MACH_SBC8560_H__
16 #define __MACH_SBC8560_H__
18 #include <linux/config.h>
19 #include <linux/serial.h>
20 #include <platforms/85xx/sbc85xx.h>
22 #ifdef CONFIG_SERIAL_MANY_PORTS
23 #define RS_TABLE_SIZE 64
25 #define RS_TABLE_SIZE 2
28 /* Rate for the 1.8432 Mhz clock for the onboard serial chip */
29 #define BASE_BAUD ( 1843200 / 16 )
31 #ifdef CONFIG_SERIAL_DETECT_IRQ
32 #define STD_COM_FLAGS (ASYNC_BOOT_AUTOCONF|ASYNC_SKIP_TEST|ASYNC_AUTO_IRQ)
34 #define STD_COM_FLAGS (ASYNC_BOOT_AUTOCONF|ASYNC_SKIP_TEST)
37 #define STD_SERIAL_PORT_DFNS \
38 { 0, BASE_BAUD, UARTA_ADDR, MPC85xx_IRQ_EXT9, STD_COM_FLAGS, /* ttyS0 */ \
39 iomem_base: (u8 *)UARTA_ADDR, \
40 io_type: SERIAL_IO_MEM }, \
41 { 0, BASE_BAUD, UARTB_ADDR, MPC85xx_IRQ_EXT10, STD_COM_FLAGS, /* ttyS1 */ \
42 iomem_base: (u8 *)UARTB_ADDR, \
43 io_type: SERIAL_IO_MEM },
45 #define SERIAL_PORT_DFNS \
48 #endif /* __MACH_SBC8560_H__ */