summaryrefslogtreecommitdiff
path: root/arch/arm/mach-dove/include/mach/irqs.h
blob: 03d401d20453eb447f15ab5dca15cd80967d2baf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
/*
 * arch/arm/mach-dove/include/mach/irqs.h
 *
 * IRQ definitions for Marvell Dove 88AP510 SoC
 *
 * This file is licensed under the terms of the GNU General Public
 * License version 2.  This program is licensed "as is" without any
 * warranty of any kind, whether express or implied.
 */

#ifndef __ASM_ARCH_IRQS_H
#define __ASM_ARCH_IRQS_H

/*
 * Dove Low Interrupt Controller
 */
#define IRQ_DOVE_BRIDGE		0
#define IRQ_DOVE_H2C		1
#define IRQ_DOVE_C2H		2
#define IRQ_DOVE_NAND		3
#define IRQ_DOVE_PDMA		4
#define IRQ_DOVE_SPI1		5
#define IRQ_DOVE_SPI0		6
#define IRQ_DOVE_UART_0		7
#define IRQ_DOVE_UART_1		8
#define IRQ_DOVE_UART_2		9
#define IRQ_DOVE_UART_3		10
#define IRQ_DOVE_I2C		11
#define IRQ_DOVE_GPIO_0_7	12
#define IRQ_DOVE_GPIO_8_15	13
#define IRQ_DOVE_GPIO_16_23	14
#define IRQ_DOVE_PCIE0_ERR	15
#define IRQ_DOVE_PCIE0		16
#define IRQ_DOVE_PCIE1_ERR	17
#define IRQ_DOVE_PCIE1		18
#define IRQ_DOVE_I2S0		19
#define IRQ_DOVE_I2S0_ERR	20
#define IRQ_DOVE_I2S1		21
#define IRQ_DOVE_I2S1_ERR	22
#define IRQ_DOVE_USB_ERR	23
#define IRQ_DOVE_USB0		24
#define IRQ_DOVE_USB1		25
#define IRQ_DOVE_GE00_RX	26
#define IRQ_DOVE_GE00_TX	27
#define IRQ_DOVE_GE00_MISC	28
#define IRQ_DOVE_GE00_SUM	29
#define IRQ_DOVE_GE00_ERR	30
#define IRQ_DOVE_CRYPTO		31

/*
 * Dove High Interrupt Controller
 */
#define IRQ_DOVE_AC97		32
#define IRQ_DOVE_PMU		33
#define IRQ_DOVE_CAM		34
#define IRQ_DOVE_SDIO0		35
#define IRQ_DOVE_SDIO1		36
#define IRQ_DOVE_SDIO0_WAKEUP	37
#define IRQ_DOVE_SDIO1_WAKEUP	38
#define IRQ_DOVE_XOR_00		39
#define IRQ_DOVE_XOR_01		40
#define IRQ_DOVE_XOR0_ERR	41
#define IRQ_DOVE_XOR_10		42
#define IRQ_DOVE_XOR_11		43
#define IRQ_DOVE_XOR1_ERR	44
#define IRQ_DOVE_LCD_DCON	45
#define IRQ_DOVE_LCD1		46
#define IRQ_DOVE_LCD0		47
#define IRQ_DOVE_GPU		48
#define IRQ_DOVE_PERFORM_MNTR	49
#define IRQ_DOVE_VPRO_DMA1	51
#define IRQ_DOVE_SSP_TIMER	54
#define IRQ_DOVE_SSP		55
#define IRQ_DOVE_MC_L2_ERR	56
#define IRQ_DOVE_CRYPTO_ERR	59
#define IRQ_DOVE_GPIO_24_31	60
#define IRQ_DOVE_HIGH_GPIO	61
#define IRQ_DOVE_SATA		62

/*
 * DOVE General Purpose Pins
 */
#define IRQ_DOVE_GPIO_START	64
#define NR_GPIO_IRQS		64

/*
 * PMU interrupts
 */
#define IRQ_DOVE_PMU_START	(IRQ_DOVE_GPIO_START + NR_GPIO_IRQS)
#define NR_PMU_IRQS		7
#define IRQ_DOVE_RTC		(IRQ_DOVE_PMU_START + 5)

#define NR_IRQS			(IRQ_DOVE_PMU_START + NR_PMU_IRQS)


#endif