Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc
[deliverable/linux.git] / arch / ppc / platforms / powerpmc250.h
1 /*
2 * arch/ppc/platforms/powerpmc250.h
3 *
4 * Definitions for Force PowerPMC-250 board support
5 *
6 * Author: Troy Benjegerdes <tbenjegerdes@mvista.com>
7 *
8 * Borrowed heavily from prpmc750.h by Matt Porter <mporter@mvista.com>
9 *
10 * 2001-2004 (c) MontaVista, Software, Inc. This file is licensed under
11 * the terms of the GNU General Public License version 2. This program
12 * is licensed "as is" without any warranty of any kind, whether express
13 * or implied.
14 */
15
16 #ifndef __ASMPPC_POWERPMC250_H
17 #define __ASMPPC_POWERPMC250_H
18
19 #define POWERPMC250_PCI_CONFIG_ADDR 0x80000cf8
20 #define POWERPMC250_PCI_CONFIG_DATA 0x80000cfc
21
22 #define POWERPMC250_PCI_PHY_MEM_BASE 0xc0000000
23 #define POWERPMC250_PCI_MEM_BASE 0xf0000000
24 #define POWERPMC250_PCI_IO_BASE 0x80000000
25
26 #define POWERPMC250_ISA_IO_BASE POWERPMC250_PCI_IO_BASE
27 #define POWERPMC250_ISA_MEM_BASE POWERPMC250_PCI_MEM_BASE
28 #define POWERPMC250_PCI_MEM_OFFSET POWERPMC250_PCI_PHY_MEM_BASE
29
30 #define POWERPMC250_SYS_MEM_BASE 0x80000000
31
32 #define POWERPMC250_HAWK_SMC_BASE 0xfef80000
33
34 #define POWERPMC250_BASE_BAUD 12288000
35 #define POWERPMC250_SERIAL 0xff000000
36 #define POWERPMC250_SERIAL_IRQ 20
37
38 /* UART Defines. */
39 #define RS_TABLE_SIZE 1
40
41 #define BASE_BAUD (POWERPMC250_BASE_BAUD / 16)
42
43 #define STD_COM_FLAGS ASYNC_BOOT_AUTOCONF
44
45 #define SERIAL_PORT_DFNS \
46 { 0, BASE_BAUD, POWERPMC250_SERIAL, POWERPMC250_SERIAL_IRQ, \
47 STD_COM_FLAGS, /* ttyS0 */ \
48 iomem_base: (u8 *)POWERPMC250_SERIAL, \
49 iomem_reg_shift: 0, \
50 io_type: SERIAL_IO_MEM }
51
52 #endif /* __ASMPPC_POWERPMC250_H */
This page took 0.054517 seconds and 5 git commands to generate.