core.h 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. /*
  3. * Copyright (C) 1996-2000 Russell King.
  4. *
  5. * This file contains the core hardware definitions of the EBSA-110.
  6. */
  7. #ifndef CORE_H
  8. #define CORE_H
  9. /* Physical addresses/sizes */
  10. #define ISAMEM_PHYS 0xe0000000
  11. #define ISAMEM_SIZE 0x10000000
  12. #define ISAIO_PHYS 0xf0000000
  13. #define ISAIO_SIZE PGDIR_SIZE
  14. #define TRICK0_PHYS 0xf2000000
  15. #define TRICK0_SIZE PGDIR_SIZE
  16. #define TRICK1_PHYS 0xf2400000
  17. #define TRICK1_SIZE PGDIR_SIZE
  18. #define TRICK2_PHYS 0xf2800000
  19. #define TRICK3_PHYS 0xf2c00000
  20. #define TRICK3_SIZE PGDIR_SIZE
  21. #define TRICK4_PHYS 0xf3000000
  22. #define TRICK4_SIZE PGDIR_SIZE
  23. #define TRICK5_PHYS 0xf3400000
  24. #define TRICK6_PHYS 0xf3800000
  25. #define TRICK7_PHYS 0xf3c00000
  26. /* Virtual addresses */
  27. #define PIT_BASE IOMEM(0xfc000000) /* trick 0 */
  28. #define SOFT_BASE IOMEM(0xfd000000) /* trick 1 */
  29. #define IRQ_MASK IOMEM(0xfe000000) /* trick 3 - read */
  30. #define IRQ_MSET IOMEM(0xfe000000) /* trick 3 - write */
  31. #define IRQ_STAT IOMEM(0xff000000) /* trick 4 - read */
  32. #define IRQ_MCLR IOMEM(0xff000000) /* trick 4 - write */
  33. #endif