Path: blob/master/arch/powerpc/platforms/chrp/gg2.h
10820 views
/*1* include/asm-ppc/gg2.h -- VLSI VAS96011/12 `Golden Gate 2' register definitions2*3* Copyright (C) 1997 Geert Uytterhoeven4*5* This file is based on the following documentation:6*7* The VAS96011/12 Chipset, Data Book, Edition 1.08* VLSI Technology, Inc.9*10* This file is subject to the terms and conditions of the GNU General Public11* License. See the file COPYING in the main directory of this archive12* for more details.13*/1415#ifndef _ASMPPC_GG2_H16#define _ASMPPC_GG2_H1718/*19* Memory Map (CHRP mode)20*/2122#define GG2_PCI_MEM_BASE 0xc0000000 /* Peripheral memory space */23#define GG2_ISA_MEM_BASE 0xf7000000 /* Peripheral memory alias */24#define GG2_ISA_IO_BASE 0xf8000000 /* Peripheral I/O space */25#define GG2_PCI_CONFIG_BASE 0xfec00000 /* PCI configuration space */26#define GG2_INT_ACK_SPECIAL 0xfec80000 /* Interrupt acknowledge and */27/* special PCI cycles */28#define GG2_ROM_BASE0 0xff000000 /* ROM bank 0 */29#define GG2_ROM_BASE1 0xff800000 /* ROM bank 1 */303132/*33* GG2 specific PCI Registers34*/3536extern void __iomem *gg2_pci_config_base; /* kernel virtual address */3738#define GG2_PCI_BUSNO 0x40 /* Bus number */39#define GG2_PCI_SUBBUSNO 0x41 /* Subordinate bus number */40#define GG2_PCI_DISCCTR 0x42 /* Disconnect counter */41#define GG2_PCI_PPC_CTRL 0x50 /* PowerPC interface control register */42#define GG2_PCI_ADDR_MAP 0x5c /* Address map */43#define GG2_PCI_PCI_CTRL 0x60 /* PCI interface control register */44#define GG2_PCI_ROM_CTRL 0x70 /* ROM interface control register */45#define GG2_PCI_ROM_TIME 0x74 /* ROM timing */46#define GG2_PCI_CC_CTRL 0x80 /* Cache controller control register */47#define GG2_PCI_DRAM_BANK0 0x90 /* Control register for DRAM bank #0 */48#define GG2_PCI_DRAM_BANK1 0x94 /* Control register for DRAM bank #1 */49#define GG2_PCI_DRAM_BANK2 0x98 /* Control register for DRAM bank #2 */50#define GG2_PCI_DRAM_BANK3 0x9c /* Control register for DRAM bank #3 */51#define GG2_PCI_DRAM_BANK4 0xa0 /* Control register for DRAM bank #4 */52#define GG2_PCI_DRAM_BANK5 0xa4 /* Control register for DRAM bank #5 */53#define GG2_PCI_DRAM_TIME0 0xb0 /* Timing parameters set #0 */54#define GG2_PCI_DRAM_TIME1 0xb4 /* Timing parameters set #1 */55#define GG2_PCI_DRAM_CTRL 0xc0 /* DRAM control */56#define GG2_PCI_ERR_CTRL 0xd0 /* Error control register */57#define GG2_PCI_ERR_STATUS 0xd4 /* Error status register */58/* Cleared when read */5960#endif /* _ASMPPC_GG2_H */616263