hardware.h 1.1 KB

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