irqs.h 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. /*
  2. * arch/arm/mach-w90x900/include/mach/irqs.h
  3. *
  4. * Copyright (c) 2008 Nuvoton technology corporation
  5. * All rights reserved.
  6. *
  7. * Wan ZongShun <mcuos.com@gmail.com>
  8. *
  9. * Based on arch/arm/mach-s3c2410/include/mach/irqs.h
  10. *
  11. * This program is free software; you can redistribute it and/or modify
  12. * it under the terms of the GNU General Public License as published by
  13. * the Free Software Foundation; either version 2 of the License, or
  14. * (at your option) any later version.
  15. *
  16. */
  17. #ifndef __ASM_ARCH_IRQS_H
  18. #define __ASM_ARCH_IRQS_H
  19. /*
  20. * we keep the first set of CPU IRQs out of the range of
  21. * the ISA space, so that the PC104 has them to itself
  22. * and we don't end up having to do horrible things to the
  23. * standard ISA drivers....
  24. *
  25. */
  26. #define W90X900_IRQ(x) (x)
  27. /* Main cpu interrupts */
  28. #define IRQ_WDT W90X900_IRQ(1)
  29. #define IRQ_UART0 W90X900_IRQ(7)
  30. #define IRQ_UART1 W90X900_IRQ(8)
  31. #define IRQ_UART2 W90X900_IRQ(9)
  32. #define IRQ_UART3 W90X900_IRQ(10)
  33. #define IRQ_UART4 W90X900_IRQ(11)
  34. #define IRQ_TIMER0 W90X900_IRQ(12)
  35. #define IRQ_TIMER1 W90X900_IRQ(13)
  36. #define IRQ_T_INT_GROUP W90X900_IRQ(14)
  37. #define IRQ_ADC W90X900_IRQ(31)
  38. #define NR_IRQS (IRQ_ADC+1)
  39. #endif /* __ASM_ARCH_IRQ_H */