source: rtems/c/src/lib/libbsp/powerpc/mvme5500/pci/gtpcireg.h @ 46a6fa91

4.104.114.84.95
Last change on this file since 46a6fa91 was 7be6ad9, checked in by Eric Norum <WENorum@…>, on 10/20/04 at 15:21:05

Add MVME550 BSP

  • Property mode set to 100644
File size: 4.2 KB
Line 
1/*      $NetBSD: gtpcireg.h,v 1.2 2003/03/24 17:03:18 matt Exp $        */
2
3/*
4 * Copyright (c) 2002 Allegro Networks, Inc., Wasabi Systems, Inc.
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions
9 * are met:
10 * 1. Redistributions of source code must retain the above copyright
11 *    notice, this list of conditions and the following disclaimer.
12 * 2. Redistributions in binary form must reproduce the above copyright
13 *    notice, this list of conditions and the following disclaimer in the
14 *    documentation and/or other materials provided with the distribution.
15 * 3. All advertising materials mentioning features or use of this software
16 *    must display the following acknowledgement:
17 *      This product includes software developed for the NetBSD Project by
18 *      Allegro Networks, Inc., and Wasabi Systems, Inc.
19 * 4. The name of Allegro Networks, Inc. may not be used to endorse
20 *    or promote products derived from this software without specific prior
21 *    written permission.
22 * 5. The name of Wasabi Systems, Inc. may not be used to endorse
23 *    or promote products derived from this software without specific prior
24 *    written permission.
25 *
26 * THIS SOFTWARE IS PROVIDED BY ALLEGRO NETWORKS, INC. AND
27 * WASABI SYSTEMS, INC. ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
28 * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
29 * AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
30 * IN NO EVENT SHALL EITHER ALLEGRO NETWORKS, INC. OR WASABI SYSTEMS, INC.
31 * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
32 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
33 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
34 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
35 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
36 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
37 * POSSIBILITY OF SUCH DAMAGE.
38 */
39#define PCI_ARBCTL_EN   (1<<31)
40
41#define PCI_BARE_IntMemEn     0x200
42
43#define PCI_ACCCTLBASEL_PrefetchEn     0x0001000
44#define PCI_ACCCTLBASEL_RdPrefetch     0x0010000
45#define PCI_ACCCTLBASEL_RdLinePrefetch 0x0020000
46#define PCI_ACCCTLBASEL_RdMulPrefetch  0x0040000
47#define PCI_ACCCTLBASEL_WBurst_8_QW    0x0100000
48#define PCI_ACCCTLBASEL_PCISwap_NoSwap 0x1000000
49
50#define PCI0_P2P_CONFIG                         0x1d14
51#define PCI_SNOOP_BASE0_LOW                     0x1f00                   
52#define PCI_SNOOP_BASE0_HIGH                    0x1f04   
53#define PCI_SNOOP_TOP0                          0x1f08
54
55#define PCI0_SCS0_BAR_SIZE                      0x0c08
56#define PCI0_SCS1_BAR_SIZE                      0x0d08
57#define PCI0_SCS2_BAR_SIZE                      0x0c0c
58#define PCI0_SCS3_BAR_SIZE                      0x0d0c
59
60#define PCI0_BASE_ADDR_REG_ENABLE               0x0c3c
61#define PCI0_ARBITER_CNTL                       0x1d00
62#define PCI0_ACCESS_CNTL_BASE0_LOW              0x1e00
63#define PCI0_ACCESS_CNTL_BASE0_HIGH             0x1e04
64#define PCI0_ACCESS_CNTL_BASE0_TOP              0x1e08
65
66#define PCI0_ACCESS_CNTL_BASE1_LOW              0x1e10
67#define PCI0_ACCESS_CNTL_BASE1_HIGH             0x1e14
68#define PCI0_ACCESS_CNTL_BASE1_TOP              0x1e18
69
70#define PCI1_BASE_ADDR_REG_ENABLE               0x0cbc
71#define PCI1_ARBITER_CNTL                       0x1d80
72#define PCI1_ACCESS_CNTL_BASE0_LOW              0x1e80
73#define PCI1_ACCESS_CNTL_BASE0_HIGH             0x1e84
74#define PCI1_ACCESS_CNTL_BASE0_TOP              0x1e88
75
76#define PCI1_ACCESS_CNTL_BASE1_LOW              0x1e90
77#define PCI1_ACCESS_CNTL_BASE1_HIGH             0x1e94
78#define PCI1_ACCESS_CNTL_BASE1_TOP              0x1e98
79
80#define PCI_SNOOP_BASE1_LOW                     0x1f10                   
81#define PCI_SNOOP_BASE1_HIGH                    0x1f14   
82#define PCI_SNOOP_TOP1                          0x1f18
83
84#define PCI0_CMD_CNTL                           0xc00
85#define PCI0_CONFIG_ADDR                        0xcf8
86#define PCI0_CONFIG_DATA                        0xcfc
87
88#define PCI1_P2P_CONFIG                         0x1d94
89#define PCI1_CMD_CNTL                           0xc80
90#define PCI1_CONFIG_ADDR                        0xc78
91#define PCI1_CONFIG_DATA                        0xc7c
Note: See TracBrowser for help on using the repository browser.