amcc405ex.h revision 1.1.4.2 1 1.1.4.2 rmind /* $NetBSD: amcc405ex.h,v 1.1.4.2 2010/05/30 05:17:03 rmind Exp $ */
2 1.1.4.2 rmind
3 1.1.4.2 rmind /*
4 1.1.4.2 rmind * Copyright 2001 Wasabi Systems, Inc.
5 1.1.4.2 rmind * All rights reserved.
6 1.1.4.2 rmind *
7 1.1.4.2 rmind * Written by Simon Burge and Eduardo Horvath for Wasabi Systems, Inc.
8 1.1.4.2 rmind *
9 1.1.4.2 rmind * Redistribution and use in source and binary forms, with or without
10 1.1.4.2 rmind * modification, are permitted provided that the following conditions
11 1.1.4.2 rmind * are met:
12 1.1.4.2 rmind * 1. Redistributions of source code must retain the above copyright
13 1.1.4.2 rmind * notice, this list of conditions and the following disclaimer.
14 1.1.4.2 rmind * 2. Redistributions in binary form must reproduce the above copyright
15 1.1.4.2 rmind * notice, this list of conditions and the following disclaimer in the
16 1.1.4.2 rmind * documentation and/or other materials provided with the distribution.
17 1.1.4.2 rmind * 3. All advertising materials mentioning features or use of this software
18 1.1.4.2 rmind * must display the following acknowledgement:
19 1.1.4.2 rmind * This product includes software developed for the NetBSD Project by
20 1.1.4.2 rmind * Wasabi Systems, Inc.
21 1.1.4.2 rmind * 4. The name of Wasabi Systems, Inc. may not be used to endorse
22 1.1.4.2 rmind * or promote products derived from this software without specific prior
23 1.1.4.2 rmind * written permission.
24 1.1.4.2 rmind *
25 1.1.4.2 rmind * THIS SOFTWARE IS PROVIDED BY WASABI SYSTEMS, INC. ``AS IS'' AND
26 1.1.4.2 rmind * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
27 1.1.4.2 rmind * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
28 1.1.4.2 rmind * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL WASABI SYSTEMS, INC
29 1.1.4.2 rmind * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
30 1.1.4.2 rmind * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
31 1.1.4.2 rmind * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
32 1.1.4.2 rmind * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
33 1.1.4.2 rmind * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
34 1.1.4.2 rmind * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
35 1.1.4.2 rmind * POSSIBILITY OF SUCH DAMAGE.
36 1.1.4.2 rmind */
37 1.1.4.2 rmind
38 1.1.4.2 rmind #ifndef _IBM4XX_AMCC405EX_H_
39 1.1.4.2 rmind #define _IBM4XX_AMCC405EX_H_
40 1.1.4.2 rmind
41 1.1.4.2 rmind /*
42 1.1.4.2 rmind * Memory and PCI addresses
43 1.1.4.2 rmind */
44 1.1.4.2 rmind
45 1.1.4.2 rmind /* Local Memory and Peripherals */
46 1.1.4.2 rmind #define AMCC405EX_LOCAL_MEM_START 0x00000000
47 1.1.4.2 rmind #define AMCC405EX_LOCAL_MEM_END 0x7fffffff
48 1.1.4.2 rmind
49 1.1.4.2 rmind /* EBC - 256MB */
50 1.1.4.2 rmind #define AMCC405EX_EBC_START 0x80000000
51 1.1.4.2 rmind #define AMCC405EX_EBC_END 0x8fffffff
52 1.1.4.2 rmind
53 1.1.4.2 rmind /* PCI Express - 1.6GB */
54 1.1.4.2 rmind #define AMCC405EX_PCIE_MEM_START 0x90000000
55 1.1.4.2 rmind #define AMCC405EX_PCIE_MEM_END 0xef5fffff
56 1.1.4.2 rmind
57 1.1.4.2 rmind /*
58 1.1.4.2 rmind * Internal peripheral addresses
59 1.1.4.2 rmind */
60 1.1.4.2 rmind
61 1.1.4.2 rmind #define AMCC405EX_OPB_BASE 0xef600000
62 1.1.4.2 rmind #define AMCC405EX_GPT0_BASE 0xef600000
63 1.1.4.2 rmind #define AMCC405EX_UART0_BASE 0xef600200
64 1.1.4.2 rmind #define AMCC405EX_UART1_BASE 0xef600300
65 1.1.4.2 rmind #define AMCC405EX_IIC0_BASE 0xef600400
66 1.1.4.2 rmind #define AMCC405EX_IIC1_BASE 0xef600500
67 1.1.4.2 rmind #define AMCC405EX_SCP0_BASE 0xef600600
68 1.1.4.2 rmind #define AMCC405EX_OPBA0_BASE 0xef600700
69 1.1.4.2 rmind #define AMCC405EX_GPIO0_BASE 0xef600800
70 1.1.4.2 rmind #define AMCC405EX_EMAC0_BASE 0xef600900
71 1.1.4.2 rmind #define AMCC405EX_EMAC1_BASE 0xef600a00
72 1.1.4.2 rmind #define AMCC405EX_RGMIIB0_BASE 0xef600b00
73 1.1.4.2 rmind
74 1.1.4.2 rmind #define AMCC405EX_PKATRNG0_BASE 0xef610000
75 1.1.4.2 rmind #define AMCC405EX_PCIEIH0_BASE 0xef620000
76 1.1.4.2 rmind #define AMCC405EX_USBOTG0_BASE 0xef6c0000
77 1.1.4.2 rmind #define AMCC405EX_SECURITY0_BASE 0xef700000
78 1.1.4.2 rmind
79 1.1.4.2 rmind
80 1.1.4.2 rmind /* Expansion ROM - 254MB */
81 1.1.4.2 rmind #define AMCC405EX_EXPANSION_ROM_START 0xf0000000
82 1.1.4.2 rmind #define AMCC405EX_EXPANSION_ROM_END 0xffdfffff
83 1.1.4.2 rmind
84 1.1.4.2 rmind /* Boot ROM - 2MB */
85 1.1.4.2 rmind #define AMCC405EX_BOOT_ROM_START 0xffe00000
86 1.1.4.2 rmind #define AMCC405EX_BOOT_ROM_END 0xffffffff
87 1.1.4.2 rmind
88 1.1.4.2 rmind #ifndef _LOCORE
89 1.1.4.2 rmind void ibm4xx_show_pci_map(void);
90 1.1.4.2 rmind void ibm4xx_setup_pci(void);
91 1.1.4.2 rmind #endif /* _LOCORE */
92 1.1.4.2 rmind #endif /* _IBM4XX_AMCC405EX_H_ */
93