summaryrefslogtreecommitdiff
path: root/include/asm-arm/arch-loki/irqs.h
blob: 7e49714380726f7b1e823fa1c1ed00ad7a20c19c (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
/*
 * include/asm-arm/arch-loki/irqs.h
 *
 * IRQ definitions for Marvell Loki (88RC8480) SoCs
 *
 * 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

#include "loki.h"	/* need GPIO_MAX */

/*
 * Interrupt Controller
 */
#define IRQ_LOKI_PCIE_A_CPU_DRBL	0
#define IRQ_LOKI_CPU_PCIE_A_DRBL	1
#define IRQ_LOKI_PCIE_B_CPU_DRBL	2
#define IRQ_LOKI_CPU_PCIE_B_DRBL	3
#define IRQ_LOKI_COM_A_ERR		6
#define IRQ_LOKI_COM_A_IN		7
#define IRQ_LOKI_COM_A_OUT		8
#define IRQ_LOKI_COM_B_ERR		9
#define IRQ_LOKI_COM_B_IN		10
#define IRQ_LOKI_COM_B_OUT		11
#define IRQ_LOKI_DMA_A			12
#define IRQ_LOKI_DMA_B			13
#define IRQ_LOKI_SAS_A			14
#define IRQ_LOKI_SAS_B			15
#define IRQ_LOKI_DDR			16
#define IRQ_LOKI_XOR			17
#define IRQ_LOKI_BRIDGE			18
#define IRQ_LOKI_PCIE_A_ERR		20
#define IRQ_LOKI_PCIE_A_INT		21
#define IRQ_LOKI_PCIE_B_ERR		22
#define IRQ_LOKI_PCIE_B_INT		23
#define IRQ_LOKI_GBE_A_INT		24
#define IRQ_LOKI_GBE_B_INT		25
#define IRQ_LOKI_DEV_ERR		26
#define IRQ_LOKI_UART0			27
#define IRQ_LOKI_UART1			28
#define IRQ_LOKI_TWSI			29
#define IRQ_LOKI_GPIO_23_0		30
#define IRQ_LOKI_GPIO_25_24		31

/*
 * Loki General Purpose Pins
 */
#define IRQ_LOKI_GPIO_START	32
#define NR_GPIO_IRQS		GPIO_MAX

#define NR_IRQS			(IRQ_LOKI_GPIO_START + NR_GPIO_IRQS)


#endif