apb.h 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. /*
  3. * apb.h: Advanced PCI Bridge Configuration Registers and Bits
  4. *
  5. * Copyright (C) 1998 Eddie C. Dost ([email protected])
  6. */
  7. #ifndef _SPARC64_APB_H
  8. #define _SPARC64_APB_H
  9. #define APB_TICK_REGISTER 0xb0
  10. #define APB_INT_ACK 0xb8
  11. #define APB_PRIMARY_MASTER_RETRY_LIMIT 0xc0
  12. #define APB_DMA_ASFR 0xc8
  13. #define APB_DMA_AFAR 0xd0
  14. #define APB_PIO_TARGET_RETRY_LIMIT 0xd8
  15. #define APB_PIO_TARGET_LATENCY_TIMER 0xd9
  16. #define APB_DMA_TARGET_RETRY_LIMIT 0xda
  17. #define APB_DMA_TARGET_LATENCY_TIMER 0xdb
  18. #define APB_SECONDARY_MASTER_RETRY_LIMIT 0xdc
  19. #define APB_SECONDARY_CONTROL 0xdd
  20. #define APB_IO_ADDRESS_MAP 0xde
  21. #define APB_MEM_ADDRESS_MAP 0xdf
  22. #define APB_PCI_CONTROL_LOW 0xe0
  23. # define APB_PCI_CTL_LOW_ARB_PARK (1 << 21)
  24. # define APB_PCI_CTL_LOW_ERRINT_EN (1 << 8)
  25. #define APB_PCI_CONTROL_HIGH 0xe4
  26. # define APB_PCI_CTL_HIGH_SERR (1 << 2)
  27. # define APB_PCI_CTL_HIGH_ARBITER_EN (1 << 0)
  28. #define APB_PIO_ASFR 0xe8
  29. #define APB_PIO_AFAR 0xf0
  30. #define APB_DIAG_REGISTER 0xf8
  31. #endif /* !(_SPARC64_APB_H) */