titan.h 954 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. /*
  2. * Platform defintions for Titan
  3. */
  4. #ifndef _ASM_SH_TITAN_TITAN_H
  5. #define _ASM_SH_TITAN_TITAN_H
  6. #define __IO_PREFIX titan
  7. #include <asm/io_generic.h>
  8. /* IRQ assignments */
  9. #define TITAN_IRQ_WAN 2 /* eth0 (WAN) */
  10. #define TITAN_IRQ_LAN 5 /* eth1 (LAN) */
  11. #define TITAN_IRQ_MPCIA 8 /* mPCI A */
  12. #define TITAN_IRQ_MPCIB 11 /* mPCI B */
  13. #define TITAN_IRQ_USB 11 /* USB */
  14. /*
  15. * The external interrupt lines, these take up ints 0 - 15 inclusive
  16. * depending on the priority for the interrupt. In fact the priority
  17. * is the interrupt :-)
  18. */
  19. #define IRL0_IRQ 0
  20. #define IRL0_IPR_ADDR INTC_IPRD
  21. #define IRL0_IPR_POS 3
  22. #define IRL0_PRIORITY 8
  23. #define IRL1_IRQ 1
  24. #define IRL1_IPR_ADDR INTC_IPRD
  25. #define IRL1_IPR_POS 2
  26. #define IRL1_PRIORITY 8
  27. #define IRL2_IRQ 2
  28. #define IRL2_IPR_ADDR INTC_IPRD
  29. #define IRL2_IPR_POS 1
  30. #define IRL2_PRIORITY 8
  31. #define IRL3_IRQ 3
  32. #define IRL3_IPR_ADDR INTC_IPRD
  33. #define IRL3_IPR_POS 0
  34. #define IRL3_PRIORITY 8
  35. #endif