1
0

hardware.h 901 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. /*
  2. * platform/hardware.h
  3. *
  4. * This file is subject to the terms and conditions of the GNU General Public
  5. * License. See the file "COPYING" in the main directory of this archive
  6. * for more details.
  7. *
  8. * Copyright (C) 2001 Tensilica Inc.
  9. */
  10. /*
  11. * This file contains the hardware configuration of the XT2000 board.
  12. */
  13. #ifndef _XTENSA_XT2000_HARDWARE_H
  14. #define _XTENSA_XT2000_HARDWARE_H
  15. #include <variant/core.h>
  16. /*
  17. * On-board components.
  18. */
  19. #define SONIC83934_INTNUM XCHAL_EXTINT3_NUM
  20. #define SONIC83934_ADDR IOADDR(0x0d030000)
  21. /*
  22. * V3-PCI
  23. */
  24. /* The XT2000 uses the V3 as a cascaded interrupt controller for the PCI bus */
  25. #define IRQ_PCI_A (XCHAL_NUM_INTERRUPTS + 0)
  26. #define IRQ_PCI_B (XCHAL_NUM_INTERRUPTS + 1)
  27. #define IRQ_PCI_C (XCHAL_NUM_INTERRUPTS + 2)
  28. /*
  29. * Various other components.
  30. */
  31. #define XT2000_LED_ADDR IOADDR(0x0d040000)
  32. #endif /* _XTENSA_XT2000_HARDWARE_H */