irqs.h 745 B

123456789101112131415161718192021222324252627
  1. /*
  2. * arch/arm/mach-spear3xx/include/mach/irqs.h
  3. *
  4. * IRQ helper macros for SPEAr3xx machine family
  5. *
  6. * Copyright (C) 2009 ST Microelectronics
  7. * Viresh Kumar<viresh.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. /* FIXME: probe all these from DT */
  16. #define SPEAR3XX_IRQ_INTRCOMM_RAS_ARM 1
  17. #define SPEAR3XX_IRQ_GEN_RAS_1 28
  18. #define SPEAR3XX_IRQ_GEN_RAS_2 29
  19. #define SPEAR3XX_IRQ_GEN_RAS_3 30
  20. #define SPEAR3XX_IRQ_VIC_END 32
  21. #define SPEAR3XX_VIRQ_START SPEAR3XX_IRQ_VIC_END
  22. #define NR_IRQS 160
  23. #endif /* __MACH_IRQS_H */