ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.6.tar.bz2
[linux-2.6.git] / arch / ppc / platforms / prpmc800.h
1 /*
2  * include/asm-ppc/platforms/prpmc800.h
3  *
4  * Definitions for Motorola PrPMC800 board support
5  *
6  * Author: Dale Farnsworth <dale.farnsworth@mvista.com>
7  *
8  * Copyright 2001 MontaVista Software Inc.
9  *
10  * This program is free software; you can redistribute  it and/or modify it
11  * under  the terms of  the GNU General Public License as published by the
12  * Free Software Foundation;  either version 2 of the  License, or (at your
13  * option) any later version.
14  */
15  /*
16   * From Processor to PCI:
17   *   PCI Mem Space: 0x80000000 - 0xa0000000 -> 0x80000000 - 0xa0000000 (512 MB)
18   *   PCI I/O Space: 0xfe400000 - 0xfeef0000 -> 0x00000000 - 0x00b00000 (11 MB)
19   *      Note: Must skip 0xfe000000-0xfe400000 for CONFIG_HIGHMEM/PKMAP area
20   *
21   * From PCI to Processor:
22   *   System Memory: 0x00000000 -> 0x00000000
23   */
24
25 #ifndef __ASMPPC_PRPMC800_H
26 #define __ASMPPC_PRPMC800_H
27
28 #define PRPMC800_PCI_CONFIG_ADDR                0xfe000cf8
29 #define PRPMC800_PCI_CONFIG_DATA                0xfe000cfc
30
31 #define PRPMC800_PROC_PCI_IO_START              0xfe400000U
32 #define PRPMC800_PROC_PCI_IO_END                0xfeefffffU
33 #define PRPMC800_PCI_IO_START                   0x00000000U
34 #define PRPMC800_PCI_IO_END                     0x00afffffU
35
36 #define PRPMC800_PROC_PCI_MEM_START             0x80000000U
37 #define PRPMC800_PROC_PCI_MEM_END               0x9fffffffU
38 #define PRPMC800_PCI_MEM_START                  0x80000000U
39 #define PRPMC800_PCI_MEM_END                    0x9fffffffU
40
41 #define PRPMC800_NM_PROC_PCI_MEM_START          0x40000000U
42 #define PRPMC800_NM_PROC_PCI_MEM_END            0xdfffffffU
43 #define PRPMC800_NM_PCI_MEM_START               0x40000000U
44 #define PRPMC800_NM_PCI_MEM_END                 0xdfffffffU
45
46 #define PRPMC800_PCI_DRAM_OFFSET                0x00000000U
47 #define PRPMC800_PCI_PHY_MEM_OFFSET             0x00000000U
48
49 #define PRPMC800_ISA_IO_BASE                    PRPMC800_PROC_PCI_IO_START
50 #define PRPMC800_ISA_MEM_BASE                   0x00000000U
51
52 #define PRPMC800_HARRIER_XCSR_BASE              HARRIER_DEFAULT_XCSR_BASE
53 #define PRPMC800_HARRIER_MPIC_BASE              0xff000000
54
55 #define PRPMC800_SERIAL_1                       0xfeff00c0
56
57 #define PRPMC800_BASE_BAUD                      1843200
58
59 /*
60  * interrupt vector number and priority for harrier internal interrupt
61  * sources
62  */
63 #define PRPMC800_INT_IRQ                        16
64 #define PRPMC800_INT_PRI                        15
65
66 #endif                          /* __ASMPPC_PRPMC800_H */