]> git.ipfire.org Git - thirdparty/linux.git/blob - arch/arm/mach-ixp4xx/include/mach/irqs.h
ARM: ixp4xx: Pass IRQ resource to beeper
[thirdparty/linux.git] / arch / arm / mach-ixp4xx / include / mach / irqs.h
1 /*
2 * arch/arm/mach-ixp4xx/include/mach/irqs.h
3 *
4 * IRQ definitions for IXP4XX based systems
5 *
6 * Copyright (C) 2002 Intel Corporation.
7 * Copyright (C) 2003 MontaVista Software, Inc.
8 *
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License version 2 as
11 * published by the Free Software Foundation.
12 *
13 */
14
15 #ifndef _ARCH_IXP4XX_IRQS_H_
16 #define _ARCH_IXP4XX_IRQS_H_
17
18 #define IRQ_IXP4XX_BASE 16
19
20 #define IRQ_IXP4XX_NPEA (IRQ_IXP4XX_BASE + 0)
21 #define IRQ_IXP4XX_NPEB (IRQ_IXP4XX_BASE + 1)
22 #define IRQ_IXP4XX_NPEC (IRQ_IXP4XX_BASE + 2)
23 #define IRQ_IXP4XX_QM1 (IRQ_IXP4XX_BASE + 3)
24 #define IRQ_IXP4XX_QM2 (IRQ_IXP4XX_BASE + 4)
25 #define IRQ_IXP4XX_TIMER1 (IRQ_IXP4XX_BASE + 5)
26 #define IRQ_IXP4XX_GPIO0 (IRQ_IXP4XX_BASE + 6)
27 #define IRQ_IXP4XX_GPIO1 (IRQ_IXP4XX_BASE + 7)
28 #define IRQ_IXP4XX_PCI_INT (IRQ_IXP4XX_BASE + 8)
29 #define IRQ_IXP4XX_PCI_DMA1 (IRQ_IXP4XX_BASE + 9)
30 #define IRQ_IXP4XX_PCI_DMA2 (IRQ_IXP4XX_BASE + 10)
31 #define IRQ_IXP4XX_TIMER2 (IRQ_IXP4XX_BASE + 11)
32 #define IRQ_IXP4XX_USB (IRQ_IXP4XX_BASE + 12)
33 #define IRQ_IXP4XX_UART2 (IRQ_IXP4XX_BASE + 13)
34 #define IRQ_IXP4XX_TIMESTAMP (IRQ_IXP4XX_BASE + 14)
35 #define IRQ_IXP4XX_UART1 (IRQ_IXP4XX_BASE + 15)
36 #define IRQ_IXP4XX_WDOG (IRQ_IXP4XX_BASE + 16)
37 #define IRQ_IXP4XX_AHB_PMU (IRQ_IXP4XX_BASE + 17)
38 #define IRQ_IXP4XX_XSCALE_PMU (IRQ_IXP4XX_BASE + 18)
39 #define IRQ_IXP4XX_GPIO2 (IRQ_IXP4XX_BASE + 19)
40 #define IRQ_IXP4XX_GPIO3 (IRQ_IXP4XX_BASE + 20)
41 #define IRQ_IXP4XX_GPIO4 (IRQ_IXP4XX_BASE + 21)
42 #define IRQ_IXP4XX_GPIO5 (IRQ_IXP4XX_BASE + 22)
43 #define IRQ_IXP4XX_GPIO6 (IRQ_IXP4XX_BASE + 23)
44 #define IRQ_IXP4XX_GPIO7 (IRQ_IXP4XX_BASE + 24)
45 #define IRQ_IXP4XX_GPIO8 (IRQ_IXP4XX_BASE + 25)
46 #define IRQ_IXP4XX_GPIO9 (IRQ_IXP4XX_BASE + 26)
47 #define IRQ_IXP4XX_GPIO10 (IRQ_IXP4XX_BASE + 27)
48 #define IRQ_IXP4XX_GPIO11 (IRQ_IXP4XX_BASE + 28)
49 #define IRQ_IXP4XX_GPIO12 (IRQ_IXP4XX_BASE + 29)
50 #define IRQ_IXP4XX_SW_INT1 (IRQ_IXP4XX_BASE + 30)
51 #define IRQ_IXP4XX_SW_INT2 (IRQ_IXP4XX_BASE + 31)
52 #define IRQ_IXP4XX_USB_HOST (IRQ_IXP4XX_BASE + 32)
53 #define IRQ_IXP4XX_I2C (IRQ_IXP4XX_BASE + 33)
54 #define IRQ_IXP4XX_SSP (IRQ_IXP4XX_BASE + 34)
55 #define IRQ_IXP4XX_TSYNC (IRQ_IXP4XX_BASE + 35)
56 #define IRQ_IXP4XX_EAU_DONE (IRQ_IXP4XX_BASE + 36)
57 #define IRQ_IXP4XX_SHA_DONE (IRQ_IXP4XX_BASE + 37)
58 #define IRQ_IXP4XX_SWCP_PE (IRQ_IXP4XX_BASE + 58)
59 #define IRQ_IXP4XX_QM_PE (IRQ_IXP4XX_BASE + 60)
60 #define IRQ_IXP4XX_MCU_ECC (IRQ_IXP4XX_BASE + 61)
61 #define IRQ_IXP4XX_EXP_PE (IRQ_IXP4XX_BASE + 62)
62
63 #define _IXP4XX_GPIO_IRQ(n) (IRQ_IXP4XX_GPIO ## n)
64 #define IXP4XX_GPIO_IRQ(n) _IXP4XX_GPIO_IRQ(n)
65
66 #define NR_IRQS 512
67
68 #define XSCALE_PMU_IRQ (IRQ_IXP4XX_XSCALE_PMU)
69
70 #endif