irqs.h 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. /*
  2. * linux/include/asm-arm/arch-clps711x/irqs.h
  3. *
  4. * Copyright (C) 2000 Deep Blue Solutions Ltd.
  5. *
  6. * This program is free software; you can redistribute it and/or modify
  7. * it under the terms of the GNU General Public License as published by
  8. * the Free Software Foundation; either version 2 of the License, or
  9. * (at your option) any later version.
  10. *
  11. * This program is distributed in the hope that it will be useful,
  12. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  14. * GNU General Public License for more details.
  15. *
  16. * You should have received a copy of the GNU General Public License
  17. * along with this program; if not, write to the Free Software
  18. * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  19. */
  20. /*
  21. * Interrupts from INTSR1
  22. */
  23. #define IRQ_CSINT 4
  24. #define IRQ_EINT1 5
  25. #define IRQ_EINT2 6
  26. #define IRQ_EINT3 7
  27. #define IRQ_TC1OI 8
  28. #define IRQ_TC2OI 9
  29. #define IRQ_RTCMI 10
  30. #define IRQ_TINT 11
  31. #define IRQ_UTXINT1 12
  32. #define IRQ_URXINT1 13
  33. #define IRQ_UMSINT 14
  34. #define IRQ_SSEOTI 15
  35. #define INT1_IRQS (0x0000fff0)
  36. #define INT1_ACK_IRQS (0x00004f10)
  37. /*
  38. * Interrupts from INTSR2
  39. */
  40. #define IRQ_KBDINT (16+0) /* bit 0 */
  41. #define IRQ_SS2RX (16+1) /* bit 1 */
  42. #define IRQ_SS2TX (16+2) /* bit 2 */
  43. #define IRQ_UTXINT2 (16+12) /* bit 12 */
  44. #define IRQ_URXINT2 (16+13) /* bit 13 */
  45. #define INT2_IRQS (0x30070000)
  46. #define INT2_ACK_IRQS (0x00010000)
  47. #define NR_IRQS 30