blob: 2b735389e74b341c76bd75f8a140ae8bc7163cf3 [file] [log] [blame]
viresh kumare024c3d2010-04-01 12:30:31 +01001/*
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 Bergmann5019f0b2012-04-11 17:30:11 +000019/* FIXME: probe this from DT */
viresh kumare024c3d2010-04-01 12:30:31 +010020#define IRQ_CPU_GPT1_1 16
viresh kumare024c3d2010-04-01 12:30:31 +010021
22#define IRQ_VIC_END 64
23
viresh kumar4c18e772010-05-03 09:24:30 +010024/* GPIO pins virtual irqs */
Arnd Bergmann5019f0b2012-04-11 17:30:11 +000025#define VIRTUAL_IRQS 24
26#define NR_IRQS (IRQ_VIC_END + VIRTUAL_IRQS)
viresh kumare024c3d2010-04-01 12:30:31 +010027
28#endif /* __MACH_IRQS_H */