Path: blob/master/arch/arm/mach-ks8695/include/mach/regs-pci.h
15159 views
/*1* arch/arm/mach-ks8695/include/mach/regs-pci.h2*3* Copyright (C) 2006 Ben Dooks <[email protected]>4* Copyright (C) 2006 Simtec Electronics5*6* KS8695 - PCI bridge registers and bit definitions.7*8* This file is licensed under the terms of the GNU General Public9* License version 2. This program is licensed "as is" without any10* warranty of any kind, whether express or implied.11*/1213#define KS8695_PCI_OFFSET (0xF0000 + 0x2000)14#define KS8695_PCI_VA (KS8695_IO_VA + KS8695_PCI_OFFSET)15#define KS8695_PCI_PA (KS8695_IO_PA + KS8695_PCI_OFFSET)161718#define KS8695_CRCFID (0x000) /* Configuration: Identification */19#define KS8695_CRCFCS (0x004) /* Configuration: Command and Status */20#define KS8695_CRCFRV (0x008) /* Configuration: Revision */21#define KS8695_CRCFLT (0x00C) /* Configuration: Latency Timer */22#define KS8695_CRCBMA (0x010) /* Configuration: Base Memory Address */23#define KS8695_CRCSID (0x02C) /* Configuration: Subsystem ID */24#define KS8695_CRCFIT (0x03C) /* Configuration: Interrupt */25#define KS8695_PBCA (0x100) /* Bridge Configuration Address */26#define KS8695_PBCD (0x104) /* Bridge Configuration Data */27#define KS8695_PBM (0x200) /* Bridge Mode */28#define KS8695_PBCS (0x204) /* Bridge Control and Status */29#define KS8695_PMBA (0x208) /* Bridge Memory Base Address */30#define KS8695_PMBAC (0x20C) /* Bridge Memory Base Address Control */31#define KS8695_PMBAM (0x210) /* Bridge Memory Base Address Mask */32#define KS8695_PMBAT (0x214) /* Bridge Memory Base Address Translation */33#define KS8695_PIOBA (0x218) /* Bridge I/O Base Address */34#define KS8695_PIOBAC (0x21C) /* Bridge I/O Base Address Control */35#define KS8695_PIOBAM (0x220) /* Bridge I/O Base Address Mask */36#define KS8695_PIOBAT (0x224) /* Bridge I/O Base Address Translation */373839/* Configuration: Identification */4041/* Configuration: Command and Status */4243/* Configuration: Revision */44454647#define CFRV_GUEST (1 << 23)4849#define PBCA_TYPE1 (1)50#define PBCA_ENABLE (1 << 31)5152535455