Go to the documentation of this file.
16 #ifndef __ASM_MACH_JZ4740_IRQ_H__
17 #define __ASM_MACH_JZ4740_IRQ_H__
19 #define MIPS_CPU_IRQ_BASE 0
20 #define JZ4740_IRQ_BASE 8
23 #define JZ4740_IRQ(x) (JZ4740_IRQ_BASE + (x))
24 #define JZ4740_IRQ_I2C JZ4740_IRQ(1)
25 #define JZ4740_IRQ_UHC JZ4740_IRQ(3)
26 #define JZ4740_IRQ_UART1 JZ4740_IRQ(8)
27 #define JZ4740_IRQ_UART0 JZ4740_IRQ(9)
28 #define JZ4740_IRQ_SADC JZ4740_IRQ(12)
29 #define JZ4740_IRQ_MSC JZ4740_IRQ(14)
30 #define JZ4740_IRQ_RTC JZ4740_IRQ(15)
31 #define JZ4740_IRQ_SSI JZ4740_IRQ(16)
32 #define JZ4740_IRQ_CIM JZ4740_IRQ(17)
33 #define JZ4740_IRQ_AIC JZ4740_IRQ(18)
34 #define JZ4740_IRQ_ETH JZ4740_IRQ(19)
35 #define JZ4740_IRQ_DMAC JZ4740_IRQ(20)
36 #define JZ4740_IRQ_TCU2 JZ4740_IRQ(21)
37 #define JZ4740_IRQ_TCU1 JZ4740_IRQ(22)
38 #define JZ4740_IRQ_TCU0 JZ4740_IRQ(23)
39 #define JZ4740_IRQ_UDC JZ4740_IRQ(24)
40 #define JZ4740_IRQ_GPIO3 JZ4740_IRQ(25)
41 #define JZ4740_IRQ_GPIO2 JZ4740_IRQ(26)
42 #define JZ4740_IRQ_GPIO1 JZ4740_IRQ(27)
43 #define JZ4740_IRQ_GPIO0 JZ4740_IRQ(28)
44 #define JZ4740_IRQ_IPU JZ4740_IRQ(29)
45 #define JZ4740_IRQ_LCD JZ4740_IRQ(30)
48 #define JZ4740_IRQ_DMA(x) (JZ4740_IRQ(32) + (x))
50 #define JZ4740_IRQ_INTC_GPIO(x) (JZ4740_IRQ_GPIO0 - (x))
51 #define JZ4740_IRQ_GPIO(x) (JZ4740_IRQ(48) + (x))
53 #define JZ4740_IRQ_ADC_BASE JZ4740_IRQ(176)
55 #define NR_IRQS (JZ4740_IRQ_ADC_BASE + 6)