irqs.h 621 B

12345678910111213141516171819202122232425
  1. /*
  2. * arch/arm/mach-spear6xx/include/mach/irqs.h
  3. *
  4. * IRQ helper macros for SPEAr6xx machine family
  5. *
  6. * Copyright (C) 2009 ST Microelectronics
  7. * Rajeev Kumar<rajeev-dlh.kumar@st.com>
  8. *
  9. * This file is licensed under the terms of the GNU General Public
  10. * License version 2. This program is licensed "as is" without any
  11. * warranty of any kind, whether express or implied.
  12. */
  13. #ifndef __MACH_IRQS_H
  14. #define __MACH_IRQS_H
  15. /* IRQ definitions */
  16. /* VIC 1 */
  17. #define IRQ_VIC_END 64
  18. /* GPIO pins virtual irqs */
  19. #define VIRTUAL_IRQS 24
  20. #define NR_IRQS (IRQ_VIC_END + VIRTUAL_IRQS)
  21. #endif /* __MACH_IRQS_H */