blob: 9fefcf3372b1701749ba94a1fa45b8037b3c940a [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001/*
Lennert Buytenhek3f7e5812006-09-18 23:10:26 +01002 * linux/include/asm-arm/arch-iop32x/irqs.h
Linus Torvalds1da177e2005-04-16 15:20:36 -07003 *
4 * Author: Rory Bolt <rorybolt@pacbell.net>
5 * Copyright: (C) 2002 Rory Bolt
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as
9 * published by the Free Software Foundation.
10 *
11 */
Lennert Buytenhek3f7e5812006-09-18 23:10:26 +010012#ifndef _IRQS_H_
13#define _IRQS_H_
Linus Torvalds1da177e2005-04-16 15:20:36 -070014
15/*
16 * IOP80321 chipset interrupts
17 */
Lennert Buytenhek610300e2006-09-18 23:22:24 +010018#define IRQ_IOP321_DMA0_EOT 0
19#define IRQ_IOP321_DMA0_EOC 1
20#define IRQ_IOP321_DMA1_EOT 2
21#define IRQ_IOP321_DMA1_EOC 3
22#define IRQ_IOP321_AA_EOT 6
23#define IRQ_IOP321_AA_EOC 7
24#define IRQ_IOP321_CORE_PMON 8
25#define IRQ_IOP321_TIMER0 9
26#define IRQ_IOP321_TIMER1 10
27#define IRQ_IOP321_I2C_0 11
28#define IRQ_IOP321_I2C_1 12
29#define IRQ_IOP321_MESSAGING 13
30#define IRQ_IOP321_ATU_BIST 14
31#define IRQ_IOP321_PERFMON 15
32#define IRQ_IOP321_CORE_PMU 16
33#define IRQ_IOP321_BIU_ERR 17
34#define IRQ_IOP321_ATU_ERR 18
35#define IRQ_IOP321_MCU_ERR 19
36#define IRQ_IOP321_DMA0_ERR 20
37#define IRQ_IOP321_DMA1_ERR 21
38#define IRQ_IOP321_AA_ERR 23
39#define IRQ_IOP321_MSG_ERR 24
40#define IRQ_IOP321_SSP 25
41#define IRQ_IOP321_XINT0 27
42#define IRQ_IOP321_XINT1 28
43#define IRQ_IOP321_XINT2 29
44#define IRQ_IOP321_XINT3 30
45#define IRQ_IOP321_HPI 31
Linus Torvalds1da177e2005-04-16 15:20:36 -070046
Lennert Buytenhek610300e2006-09-18 23:22:24 +010047#define NR_IRQS 32
Linus Torvalds1da177e2005-04-16 15:20:36 -070048
49
50/*
51 * Interrupts available on the IQ80321 board
52 */
53
54/*
55 * On board devices
56 */
57#define IRQ_IQ80321_I82544 IRQ_IOP321_XINT0
58#define IRQ_IQ80321_UART IRQ_IOP321_XINT1
59
60/*
61 * PCI interrupts
62 */
63#define IRQ_IQ80321_INTA IRQ_IOP321_XINT0
64#define IRQ_IQ80321_INTB IRQ_IOP321_XINT1
65#define IRQ_IQ80321_INTC IRQ_IOP321_XINT2
66#define IRQ_IQ80321_INTD IRQ_IOP321_XINT3
67
68/*
69 * Interrupts on the IQ31244 board
70 */
71
72/*
73 * On board devices
74 */
75#define IRQ_IQ31244_UART IRQ_IOP321_XINT1
76#define IRQ_IQ31244_I82546 IRQ_IOP321_XINT0
77#define IRQ_IQ31244_SATA IRQ_IOP321_XINT2
78#define IRQ_IQ31244_PCIX_SLOT IRQ_IOP321_XINT3
79
80/*
81 * PCI interrupts
82 */
83#define IRQ_IQ31244_INTA IRQ_IOP321_XINT0
84#define IRQ_IQ31244_INTB IRQ_IOP321_XINT1
85#define IRQ_IQ31244_INTC IRQ_IOP321_XINT2
86#define IRQ_IQ31244_INTD IRQ_IOP321_XINT3
87
Lennert Buytenhek3f7e5812006-09-18 23:10:26 +010088#endif // _IRQ_H_