diff options
Diffstat (limited to 'arch/arm/plat-mxc/include/mach/mx1.h')
-rw-r--r-- | arch/arm/plat-mxc/include/mach/mx1.h | 111 |
1 files changed, 56 insertions, 55 deletions
diff --git a/arch/arm/plat-mxc/include/mach/mx1.h b/arch/arm/plat-mxc/include/mach/mx1.h index 2b7c08d13e89..45bd31cc34d6 100644 --- a/arch/arm/plat-mxc/include/mach/mx1.h +++ b/arch/arm/plat-mxc/include/mach/mx1.h | |||
@@ -78,61 +78,62 @@ | |||
78 | #define MX1_IO_ADDRESS(x) IOMEM(MX1_IO_P2V(x)) | 78 | #define MX1_IO_ADDRESS(x) IOMEM(MX1_IO_P2V(x)) |
79 | 79 | ||
80 | /* fixed interrput numbers */ | 80 | /* fixed interrput numbers */ |
81 | #define MX1_INT_SOFTINT 0 | 81 | #include <asm/irq.h> |
82 | #define MX1_INT_CSI 6 | 82 | #define MX1_INT_SOFTINT (NR_IRQS_LEGACY + 0) |
83 | #define MX1_DSPA_MAC_INT 7 | 83 | #define MX1_INT_CSI (NR_IRQS_LEGACY + 6) |
84 | #define MX1_DSPA_INT 8 | 84 | #define MX1_DSPA_MAC_INT (NR_IRQS_LEGACY + 7) |
85 | #define MX1_COMP_INT 9 | 85 | #define MX1_DSPA_INT (NR_IRQS_LEGACY + 8) |
86 | #define MX1_MSHC_XINT 10 | 86 | #define MX1_COMP_INT (NR_IRQS_LEGACY + 9) |
87 | #define MX1_GPIO_INT_PORTA 11 | 87 | #define MX1_MSHC_XINT (NR_IRQS_LEGACY + 10) |
88 | #define MX1_GPIO_INT_PORTB 12 | 88 | #define MX1_GPIO_INT_PORTA (NR_IRQS_LEGACY + 11) |
89 | #define MX1_GPIO_INT_PORTC 13 | 89 | #define MX1_GPIO_INT_PORTB (NR_IRQS_LEGACY + 12) |
90 | #define MX1_INT_LCDC 14 | 90 | #define MX1_GPIO_INT_PORTC (NR_IRQS_LEGACY + 13) |
91 | #define MX1_SIM_INT 15 | 91 | #define MX1_INT_LCDC (NR_IRQS_LEGACY + 14) |
92 | #define MX1_SIM_DATA_INT 16 | 92 | #define MX1_SIM_INT (NR_IRQS_LEGACY + 15) |
93 | #define MX1_RTC_INT 17 | 93 | #define MX1_SIM_DATA_INT (NR_IRQS_LEGACY + 16) |
94 | #define MX1_RTC_SAMINT 18 | 94 | #define MX1_RTC_INT (NR_IRQS_LEGACY + 17) |
95 | #define MX1_INT_UART2PFERR 19 | 95 | #define MX1_RTC_SAMINT (NR_IRQS_LEGACY + 18) |
96 | #define MX1_INT_UART2RTS 20 | 96 | #define MX1_INT_UART2PFERR (NR_IRQS_LEGACY + 19) |
97 | #define MX1_INT_UART2DTR 21 | 97 | #define MX1_INT_UART2RTS (NR_IRQS_LEGACY + 20) |
98 | #define MX1_INT_UART2UARTC 22 | 98 | #define MX1_INT_UART2DTR (NR_IRQS_LEGACY + 21) |
99 | #define MX1_INT_UART2TX 23 | 99 | #define MX1_INT_UART2UARTC (NR_IRQS_LEGACY + 22) |
100 | #define MX1_INT_UART2RX 24 | 100 | #define MX1_INT_UART2TX (NR_IRQS_LEGACY + 23) |
101 | #define MX1_INT_UART1PFERR 25 | 101 | #define MX1_INT_UART2RX (NR_IRQS_LEGACY + 24) |
102 | #define MX1_INT_UART1RTS 26 | 102 | #define MX1_INT_UART1PFERR (NR_IRQS_LEGACY + 25) |
103 | #define MX1_INT_UART1DTR 27 | 103 | #define MX1_INT_UART1RTS (NR_IRQS_LEGACY + 26) |
104 | #define MX1_INT_UART1UARTC 28 | 104 | #define MX1_INT_UART1DTR (NR_IRQS_LEGACY + 27) |
105 | #define MX1_INT_UART1TX 29 | 105 | #define MX1_INT_UART1UARTC (NR_IRQS_LEGACY + 28) |
106 | #define MX1_INT_UART1RX 30 | 106 | #define MX1_INT_UART1TX (NR_IRQS_LEGACY + 29) |
107 | #define MX1_VOICE_DAC_INT 31 | 107 | #define MX1_INT_UART1RX (NR_IRQS_LEGACY + 30) |
108 | #define MX1_VOICE_ADC_INT 32 | 108 | #define MX1_VOICE_DAC_INT (NR_IRQS_LEGACY + 31) |
109 | #define MX1_PEN_DATA_INT 33 | 109 | #define MX1_VOICE_ADC_INT (NR_IRQS_LEGACY + 32) |
110 | #define MX1_PWM_INT 34 | 110 | #define MX1_PEN_DATA_INT (NR_IRQS_LEGACY + 33) |
111 | #define MX1_SDHC_INT 35 | 111 | #define MX1_PWM_INT (NR_IRQS_LEGACY + 34) |
112 | #define MX1_INT_I2C 39 | 112 | #define MX1_SDHC_INT (NR_IRQS_LEGACY + 35) |
113 | #define MX1_INT_CSPI2 40 | 113 | #define MX1_INT_I2C (NR_IRQS_LEGACY + 39) |
114 | #define MX1_INT_CSPI1 41 | 114 | #define MX1_INT_CSPI2 (NR_IRQS_LEGACY + 40) |
115 | #define MX1_SSI_TX_INT 42 | 115 | #define MX1_INT_CSPI1 (NR_IRQS_LEGACY + 41) |
116 | #define MX1_SSI_TX_ERR_INT 43 | 116 | #define MX1_SSI_TX_INT (NR_IRQS_LEGACY + 42) |
117 | #define MX1_SSI_RX_INT 44 | 117 | #define MX1_SSI_TX_ERR_INT (NR_IRQS_LEGACY + 43) |
118 | #define MX1_SSI_RX_ERR_INT 45 | 118 | #define MX1_SSI_RX_INT (NR_IRQS_LEGACY + 44) |
119 | #define MX1_TOUCH_INT 46 | 119 | #define MX1_SSI_RX_ERR_INT (NR_IRQS_LEGACY + 45) |
120 | #define MX1_INT_USBD0 47 | 120 | #define MX1_TOUCH_INT (NR_IRQS_LEGACY + 46) |
121 | #define MX1_INT_USBD1 48 | 121 | #define MX1_INT_USBD0 (NR_IRQS_LEGACY + 47) |
122 | #define MX1_INT_USBD2 49 | 122 | #define MX1_INT_USBD1 (NR_IRQS_LEGACY + 48) |
123 | #define MX1_INT_USBD3 50 | 123 | #define MX1_INT_USBD2 (NR_IRQS_LEGACY + 49) |
124 | #define MX1_INT_USBD4 51 | 124 | #define MX1_INT_USBD3 (NR_IRQS_LEGACY + 50) |
125 | #define MX1_INT_USBD5 52 | 125 | #define MX1_INT_USBD4 (NR_IRQS_LEGACY + 51) |
126 | #define MX1_INT_USBD6 53 | 126 | #define MX1_INT_USBD5 (NR_IRQS_LEGACY + 52) |
127 | #define MX1_BTSYS_INT 55 | 127 | #define MX1_INT_USBD6 (NR_IRQS_LEGACY + 53) |
128 | #define MX1_BTTIM_INT 56 | 128 | #define MX1_BTSYS_INT (NR_IRQS_LEGACY + 55) |
129 | #define MX1_BTWUI_INT 57 | 129 | #define MX1_BTTIM_INT (NR_IRQS_LEGACY + 56) |
130 | #define MX1_TIM2_INT 58 | 130 | #define MX1_BTWUI_INT (NR_IRQS_LEGACY + 57) |
131 | #define MX1_TIM1_INT 59 | 131 | #define MX1_TIM2_INT (NR_IRQS_LEGACY + 58) |
132 | #define MX1_DMA_ERR 60 | 132 | #define MX1_TIM1_INT (NR_IRQS_LEGACY + 59) |
133 | #define MX1_DMA_INT 61 | 133 | #define MX1_DMA_ERR (NR_IRQS_LEGACY + 60) |
134 | #define MX1_GPIO_INT_PORTD 62 | 134 | #define MX1_DMA_INT (NR_IRQS_LEGACY + 61) |
135 | #define MX1_WDT_INT 63 | 135 | #define MX1_GPIO_INT_PORTD (NR_IRQS_LEGACY + 62) |
136 | #define MX1_WDT_INT (NR_IRQS_LEGACY + 63) | ||
136 | 137 | ||
137 | /* DMA */ | 138 | /* DMA */ |
138 | #define MX1_DMA_REQ_UART3_T 2 | 139 | #define MX1_DMA_REQ_UART3_T 2 |