hardware.h 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  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. #include <asm/io.h>
  17. /*
  18. * Memory configuration.
  19. */
  20. #define PLATFORM_DEFAULT_MEM_START 0x00000000
  21. #define PLATFORM_DEFAULT_MEM_SIZE 0x08000000
  22. /*
  23. * Number of platform IRQs
  24. */
  25. #define PLATFORM_NR_IRQS 3
  26. /*
  27. * On-board components.
  28. */
  29. #define SONIC83934_INTNUM XCHAL_EXTINT3_NUM
  30. #define SONIC83934_ADDR IOADDR(0x0d030000)
  31. /*
  32. * V3-PCI
  33. */
  34. /* The XT2000 uses the V3 as a cascaded interrupt controller for the PCI bus */
  35. #define IRQ_PCI_A (XCHAL_NUM_INTERRUPTS + 0)
  36. #define IRQ_PCI_B (XCHAL_NUM_INTERRUPTS + 1)
  37. #define IRQ_PCI_C (XCHAL_NUM_INTERRUPTS + 2)
  38. /*
  39. * Various other components.
  40. */
  41. #define XT2000_LED_ADDR IOADDR(0x0d040000)
  42. #endif /* _XTENSA_XT2000_HARDWARE_H */