regs-pci.h 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. /*
  2. * arch/arm/mach-ks8695/include/mach/regs-pci.h
  3. *
  4. * Copyright (C) 2006 Ben Dooks <ben@simtec.co.uk>
  5. * Copyright (C) 2006 Simtec Electronics
  6. *
  7. * KS8695 - PCI bridge registers and bit definitions.
  8. *
  9. * This file is licensed under the terms of the GNU General Public
  10. * License version 2. This program is licensed "as is" without any
  11. * warranty of any kind, whether express or implied.
  12. */
  13. #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)
  16. #define KS8695_CRCFID (0x000) /* Configuration: Identification */
  17. #define KS8695_CRCFCS (0x004) /* Configuration: Command and Status */
  18. #define KS8695_CRCFRV (0x008) /* Configuration: Revision */
  19. #define KS8695_CRCFLT (0x00C) /* Configuration: Latency Timer */
  20. #define KS8695_CRCBMA (0x010) /* Configuration: Base Memory Address */
  21. #define KS8695_CRCSID (0x02C) /* Configuration: Subsystem ID */
  22. #define KS8695_CRCFIT (0x03C) /* Configuration: Interrupt */
  23. #define KS8695_PBCA (0x100) /* Bridge Configuration Address */
  24. #define KS8695_PBCD (0x104) /* Bridge Configuration Data */
  25. #define KS8695_PBM (0x200) /* Bridge Mode */
  26. #define KS8695_PBCS (0x204) /* Bridge Control and Status */
  27. #define KS8695_PMBA (0x208) /* Bridge Memory Base Address */
  28. #define KS8695_PMBAC (0x20C) /* Bridge Memory Base Address Control */
  29. #define KS8695_PMBAM (0x210) /* Bridge Memory Base Address Mask */
  30. #define KS8695_PMBAT (0x214) /* Bridge Memory Base Address Translation */
  31. #define KS8695_PIOBA (0x218) /* Bridge I/O Base Address */
  32. #define KS8695_PIOBAC (0x21C) /* Bridge I/O Base Address Control */
  33. #define KS8695_PIOBAM (0x220) /* Bridge I/O Base Address Mask */
  34. #define KS8695_PIOBAT (0x224) /* Bridge I/O Base Address Translation */
  35. /* Configuration: Identification */
  36. /* Configuration: Command and Status */
  37. /* Configuration: Revision */
  38. #define CFRV_GUEST (1 << 23)
  39. #define PBCA_TYPE1 (1)
  40. #define PBCA_ENABLE (1 << 31)