viresh kumar | e024c3d | 2010-04-01 12:30:31 +0100 | [diff] [blame] | 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 | |
| 14 | #ifndef __MACH_IRQS_H |
| 15 | #define __MACH_IRQS_H |
| 16 | |
| 17 | /* IRQ definitions */ |
| 18 | /* VIC 1 */ |
Arnd Bergmann | 5019f0b | 2012-04-11 17:30:11 +0000 | [diff] [blame] | 19 | /* FIXME: probe this from DT */ |
viresh kumar | e024c3d | 2010-04-01 12:30:31 +0100 | [diff] [blame] | 20 | #define IRQ_CPU_GPT1_1 16 |
viresh kumar | e024c3d | 2010-04-01 12:30:31 +0100 | [diff] [blame] | 21 | |
| 22 | #define IRQ_VIC_END 64 |
| 23 | |
viresh kumar | 4c18e77 | 2010-05-03 09:24:30 +0100 | [diff] [blame] | 24 | /* GPIO pins virtual irqs */ |
Arnd Bergmann | 5019f0b | 2012-04-11 17:30:11 +0000 | [diff] [blame] | 25 | #define VIRTUAL_IRQS 24 |
| 26 | #define NR_IRQS (IRQ_VIC_END + VIRTUAL_IRQS) |
viresh kumar | e024c3d | 2010-04-01 12:30:31 +0100 | [diff] [blame] | 27 | |
| 28 | #endif /* __MACH_IRQS_H */ |