aboutsummaryrefslogtreecommitdiffstats
path: root/arch/blackfin/mach-bf609/ints-priority.c
blob: f68abb9aa79ec13d5247c0ecc2a750b6b71cde65 (plain) (blame)
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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
/*
 * Copyright 2007-2008 Analog Devices Inc.
 *
 * Licensed under the GPL-2 or later.
 *
 * Set up the interrupt priorities
 */

#include <linux/module.h>
#include <linux/irq.h>
#include <asm/blackfin.h>

u8 sec_int_priority[] = {
	255,	/* IRQ_SEC_ERR */
	255,	/* IRQ_CGU_EVT */
	254,	/* IRQ_WATCH0 */
	254,	/* IRQ_WATCH1 */
	253,	/* IRQ_L2CTL0_ECC_ERR */
	253,	/* IRQ_L2CTL0_ECC_WARN */
	253,	/* IRQ_C0_DBL_FAULT */
	253,	/* IRQ_C1_DBL_FAULT */
	252,	/* IRQ_C0_HW_ERR */
	252,	/* IRQ_C1_HW_ERR */
	255,	/* IRQ_C0_NMI_L1_PARITY_ERR */
	255,	/* IRQ_C1_NMI_L1_PARITY_ERR */

	50,	/* IRQ_TIMER0 */
	50,	/* IRQ_TIMER1 */
	50,	/* IRQ_TIMER2 */
	50,	/* IRQ_TIMER3 */
	50,	/* IRQ_TIMER4 */
	50,	/* IRQ_TIMER5 */
	50,	/* IRQ_TIMER6 */
	50,	/* IRQ_TIMER7 */
	50,	/* IRQ_TIMER_STAT */
	0,	/* IRQ_PINT0 */
	0,	/* IRQ_PINT1 */
	0,	/* IRQ_PINT2 */
	0,	/* IRQ_PINT3 */
	0,	/* IRQ_PINT4 */
	0,	/* IRQ_PINT5 */
	0,	/* IRQ_CNT */
	50,	/* RQ_PWM0_TRIP */
	50,	/* IRQ_PWM0_SYNC */
	50,	/* IRQ_PWM1_TRIP */
	50,	/* IRQ_PWM1_SYNC */
	0,	/* IRQ_TWI0 */
	0,	/* IRQ_TWI1 */
	10,	/* IRQ_SOFT0 */
	10,	/* IRQ_SOFT1 */
	10,	/* IRQ_SOFT2 */
	10,	/* IRQ_SOFT3 */
	0,	/* IRQ_ACM_EVT_MISS */
	0,	/* IRQ_ACM_EVT_COMPLETE */
	0,	/* IRQ_CAN0_RX */
	0,	/* IRQ_CAN0_TX */
	0,	/* IRQ_CAN0_STAT */
	100,	/* IRQ_SPORT0_TX */
	100,	/* IRQ_SPORT0_TX_STAT */
	100,	/* IRQ_SPORT0_RX */
	100,	/* IRQ_SPORT0_RX_STAT */
	100,	/* IRQ_SPORT1_TX */
	100,	/* IRQ_SPORT1_TX_STAT */
	100,	/* IRQ_SPORT1_RX */
	100,	/* IRQ_SPORT1_RX_STAT */
	100,	/* IRQ_SPORT2_TX */
	100,	/* IRQ_SPORT2_TX_STAT */
	100,	/* IRQ_SPORT2_RX */
	100,	/* IRQ_SPORT2_RX_STAT */
	0,	/* IRQ_SPI0_TX */
	0,	/* IRQ_SPI0_RX */
	0,	/* IRQ_SPI0_STAT */
	0,	/* IRQ_SPI1_TX */
	0,	/* IRQ_SPI1_RX */
	0,	/* IRQ_SPI1_STAT */
	0,	/* IRQ_RSI */
	0,	/* IRQ_RSI_INT0 */
	0,	/* IRQ_RSI_INT1 */
	0,	/* DMA11 Data (SDU) */
	0,	/* DMA12 Data (Reserved) */
	0,	/* Reserved */
	0,	/* Reserved */
	30,	/* IRQ_EMAC0_STAT */
	0,	/* EMAC0 Power (Reserved) */
	30,	/* IRQ_EMAC1_STAT */
	0,	/* EMAC1 Power (Reserved) */
	0,	/* IRQ_LP0 */
	0,	/* IRQ_LP0_STAT */
	0,	/* IRQ_LP1 */
	0,	/* IRQ_LP1_STAT */
	0,	/* IRQ_LP2 */
	0,	/* IRQ_LP2_STAT */
	0,	/* IRQ_LP3 */
	0,	/* IRQ_LP3_STAT */
	0,	/* IRQ_UART0_TX */
	0,	/* IRQ_UART0_RX */
	0,	/* IRQ_UART0_STAT */
	0,	/* IRQ_UART1_TX */
	0,	/* IRQ_UART1_RX */
	0,	/* IRQ_UART1_STAT */
	0,	/* IRQ_MDMA0_SRC_CRC0 */
	0,	/* IRQ_MDMA0_DEST_CRC0 */
	0,	/* IRQ_CRC0_DCNTEXP */
	0,	/* IRQ_CRC0_ERR */
	0,	/* IRQ_MDMA1_SRC_CRC1 */
	0,	/* IRQ_MDMA1_DEST_CRC1 */
	0,	/* IRQ_CRC1_DCNTEXP */
	0,	/* IRQ_CRC1_ERR */
	0,	/* IRQ_MDMA2_SRC */
	0,	/* IRQ_MDMA2_DEST */
	0,	/* IRQ_MDMA3_SRC */
	0,	/* IRQ_MDMA3_DEST */
	120,	/* IRQ_EPPI0_CH0 */
	120,	/* IRQ_EPPI0_CH1 */
	120,	/* IRQ_EPPI0_STAT */
	120,	/* IRQ_EPPI2_CH0 */
	120,	/* IRQ_EPPI2_CH1 */
	120,	/* IRQ_EPPI2_STAT */
	120,	/* IRQ_EPPI1_CH0 */
	120,	/* IRQ_EPPI1_CH1 */
	120,	/* IRQ_EPPI1_STAT */
	120,	/* IRQ_PIXC_CH0 */
	120,	/* IRQ_PIXC_CH1 */
	120,	/* IRQ_PIXC_CH2 */
	120,	/* IRQ_PIXC_STAT */
	120,	/* IRQ_PVP_CPDOB */
	120,	/* IRQ_PVP_CPDOC */
	120,	/* IRQ_PVP_CPSTAT */
	120,	/* IRQ_PVP_CPCI */
	120,	/* IRQ_PVP_STAT0 */
	120,	/* IRQ_PVP_MPDO */
	120,	/* IRQ_PVP_MPDI */
	120,	/* IRQ_PVP_MPSTAT */
	120,	/* IRQ_PVP_MPCI */
	120,	/* IRQ_PVP_CPDOA */
	120,	/* IRQ_PVP_STAT1 */
	0,	/* IRQ_USB_STAT */
	0,	/* IRQ_USB_DMA */
	0,	/* IRQ_TRU_INT0 */
	0,	/* IRQ_TRU_INT1 */
	0,	/* IRQ_TRU_INT2	*/
	0,	/* IRQ_TRU_INT3 */
	0,	/* IRQ_DMAC0_ERROR */
	0,	/* IRQ_CGU0_ERROR */
	0,	/* Reserved */
	0,	/* IRQ_DPM */
	0,	/* Reserved */
	0,	/* IRQ_SWU0 */
	0,	/* IRQ_SWU1 */
	0,	/* IRQ_SWU2 */
	0,	/* IRQ_SWU3 */
	0,	/* IRQ_SWU4 */
	0,	/* IRQ_SWU4 */
	0,	/* IRQ_SWU6 */
};