Bryan Wu | 2f6f4bc | 2008-11-18 17:48:21 +0800 | [diff] [blame] | 1 | if (BF51x) |
| 2 | |
| 3 | source "arch/blackfin/mach-bf518/boards/Kconfig" |
| 4 | |
| 5 | menu "BF518 Specific Configuration" |
| 6 | |
| 7 | comment "Alternative Multiplexing Scheme" |
| 8 | |
| 9 | choice |
| 10 | prompt "SPORT0" |
| 11 | default BF518_SPORT0_PORTG |
| 12 | help |
| 13 | Select PORT used for SPORT0. See Hardware Reference Manual |
| 14 | |
| 15 | config BF518_SPORT0_PORTF |
| 16 | bool "PORT F" |
| 17 | help |
| 18 | PORT F |
| 19 | |
| 20 | config BF518_SPORT0_PORTG |
| 21 | bool "PORT G" |
| 22 | help |
| 23 | PORT G |
| 24 | endchoice |
| 25 | |
| 26 | choice |
| 27 | prompt "SPORT0 TSCLK Location" |
| 28 | depends on BF518_SPORT0_PORTG |
| 29 | default BF518_SPORT0_TSCLK_PG10 |
| 30 | help |
| 31 | Select PIN used for SPORT0_TSCLK. See Hardware Reference Manual |
| 32 | |
| 33 | config BF518_SPORT0_TSCLK_PG10 |
| 34 | bool "PORT PG10" |
| 35 | help |
| 36 | PORT PG10 |
| 37 | |
| 38 | config BF518_SPORT0_TSCLK_PG14 |
| 39 | bool "PORT PG14" |
| 40 | help |
| 41 | PORT PG14 |
| 42 | endchoice |
| 43 | |
| 44 | choice |
| 45 | prompt "UART1" |
| 46 | default BF518_UART1_PORTF |
| 47 | help |
| 48 | Select PORT used for UART1. See Hardware Reference Manual |
| 49 | |
| 50 | config BF518_UART1_PORTF |
| 51 | bool "PORT F" |
| 52 | help |
| 53 | PORT F |
| 54 | |
| 55 | config BF518_UART1_PORTG |
| 56 | bool "PORT G" |
| 57 | help |
| 58 | PORT G |
| 59 | endchoice |
| 60 | |
| 61 | comment "Interrupt Priority Assignment" |
| 62 | menu "Priority" |
| 63 | |
| 64 | config IRQ_PLL_WAKEUP |
| 65 | int "IRQ_PLL_WAKEUP" |
| 66 | default 7 |
| 67 | config IRQ_DMA0_ERROR |
| 68 | int "IRQ_DMA0_ERROR" |
| 69 | default 7 |
| 70 | config IRQ_DMAR0_BLK |
| 71 | int "IRQ_DMAR0_BLK" |
| 72 | default 7 |
| 73 | config IRQ_DMAR1_BLK |
| 74 | int "IRQ_DMAR1_BLK" |
| 75 | default 7 |
| 76 | config IRQ_DMAR0_OVR |
| 77 | int "IRQ_DMAR0_OVR" |
| 78 | default 7 |
| 79 | config IRQ_DMAR1_OVR |
| 80 | int "IRQ_DMAR1_OVR" |
| 81 | default 7 |
| 82 | config IRQ_PPI_ERROR |
| 83 | int "IRQ_PPI_ERROR" |
| 84 | default 7 |
| 85 | config IRQ_MAC_ERROR |
| 86 | int "IRQ_MAC_ERROR" |
| 87 | default 7 |
| 88 | config IRQ_SPORT0_ERROR |
| 89 | int "IRQ_SPORT0_ERROR" |
| 90 | default 7 |
| 91 | config IRQ_SPORT1_ERROR |
| 92 | int "IRQ_SPORT1_ERROR" |
| 93 | default 7 |
| 94 | config IRQ_PTP_ERROR |
| 95 | int "IRQ_PTP_ERROR" |
| 96 | default 7 |
| 97 | config IRQ_UART0_ERROR |
| 98 | int "IRQ_UART0_ERROR" |
| 99 | default 7 |
| 100 | config IRQ_UART1_ERROR |
| 101 | int "IRQ_UART1_ERROR" |
| 102 | default 7 |
| 103 | config IRQ_RTC |
| 104 | int "IRQ_RTC" |
| 105 | default 8 |
| 106 | config IRQ_PPI |
| 107 | int "IRQ_PPI" |
| 108 | default 8 |
| 109 | config IRQ_SPORT0_RX |
| 110 | int "IRQ_SPORT0_RX" |
| 111 | default 9 |
| 112 | config IRQ_SPORT0_TX |
| 113 | int "IRQ_SPORT0_TX" |
| 114 | default 9 |
| 115 | config IRQ_SPORT1_RX |
| 116 | int "IRQ_SPORT1_RX" |
| 117 | default 9 |
| 118 | config IRQ_SPORT1_TX |
| 119 | int "IRQ_SPORT1_TX" |
| 120 | default 9 |
| 121 | config IRQ_TWI |
| 122 | int "IRQ_TWI" |
| 123 | default 10 |
| 124 | config IRQ_SPI0 |
| 125 | int "IRQ_SPI" |
| 126 | default 10 |
| 127 | config IRQ_UART0_RX |
| 128 | int "IRQ_UART0_RX" |
| 129 | default 10 |
| 130 | config IRQ_UART0_TX |
| 131 | int "IRQ_UART0_TX" |
| 132 | default 10 |
| 133 | config IRQ_UART1_RX |
| 134 | int "IRQ_UART1_RX" |
| 135 | default 10 |
| 136 | config IRQ_UART1_TX |
| 137 | int "IRQ_UART1_TX" |
| 138 | default 10 |
| 139 | config IRQ_OPTSEC |
| 140 | int "IRQ_OPTSEC" |
| 141 | default 11 |
| 142 | config IRQ_CNT |
| 143 | int "IRQ_CNT" |
| 144 | default 11 |
| 145 | config IRQ_MAC_RX |
| 146 | int "IRQ_MAC_RX" |
| 147 | default 11 |
| 148 | config IRQ_PORTH_INTA |
| 149 | int "IRQ_PORTH_INTA" |
| 150 | default 11 |
| 151 | config IRQ_MAC_TX |
| 152 | int "IRQ_MAC_TX/NFC" |
| 153 | default 11 |
| 154 | config IRQ_PORTH_INTB |
| 155 | int "IRQ_PORTH_INTB" |
| 156 | default 11 |
Yi Li | 6a01f23 | 2009-01-07 23:14:39 +0800 | [diff] [blame] | 157 | config IRQ_TIMER0 |
| 158 | int "IRQ_TIMER0" |
Graf Yang | 1fa9be7 | 2009-05-15 11:01:59 +0000 | [diff] [blame^] | 159 | default 7 if TICKSOURCE_GPTMR0 |
Yi Li | 6a01f23 | 2009-01-07 23:14:39 +0800 | [diff] [blame] | 160 | default 8 |
| 161 | config IRQ_TIMER1 |
| 162 | int "IRQ_TIMER1" |
Bryan Wu | 2f6f4bc | 2008-11-18 17:48:21 +0800 | [diff] [blame] | 163 | default 12 |
Yi Li | 6a01f23 | 2009-01-07 23:14:39 +0800 | [diff] [blame] | 164 | config IRQ_TIMER2 |
| 165 | int "IRQ_TIMER2" |
Bryan Wu | 2f6f4bc | 2008-11-18 17:48:21 +0800 | [diff] [blame] | 166 | default 12 |
Yi Li | 6a01f23 | 2009-01-07 23:14:39 +0800 | [diff] [blame] | 167 | config IRQ_TIMER3 |
| 168 | int "IRQ_TIMER3" |
Bryan Wu | 2f6f4bc | 2008-11-18 17:48:21 +0800 | [diff] [blame] | 169 | default 12 |
Yi Li | 6a01f23 | 2009-01-07 23:14:39 +0800 | [diff] [blame] | 170 | config IRQ_TIMER4 |
| 171 | int "IRQ_TIMER4" |
Bryan Wu | 2f6f4bc | 2008-11-18 17:48:21 +0800 | [diff] [blame] | 172 | default 12 |
Yi Li | 6a01f23 | 2009-01-07 23:14:39 +0800 | [diff] [blame] | 173 | config IRQ_TIMER5 |
| 174 | int "IRQ_TIMER5" |
Bryan Wu | 2f6f4bc | 2008-11-18 17:48:21 +0800 | [diff] [blame] | 175 | default 12 |
Yi Li | 6a01f23 | 2009-01-07 23:14:39 +0800 | [diff] [blame] | 176 | config IRQ_TIMER6 |
| 177 | int "IRQ_TIMER6" |
Bryan Wu | 2f6f4bc | 2008-11-18 17:48:21 +0800 | [diff] [blame] | 178 | default 12 |
Yi Li | 6a01f23 | 2009-01-07 23:14:39 +0800 | [diff] [blame] | 179 | config IRQ_TIMER7 |
| 180 | int "IRQ_TIMER7" |
Bryan Wu | 2f6f4bc | 2008-11-18 17:48:21 +0800 | [diff] [blame] | 181 | default 12 |
| 182 | config IRQ_PORTG_INTA |
| 183 | int "IRQ_PORTG_INTA" |
| 184 | default 12 |
| 185 | config IRQ_PORTG_INTB |
| 186 | int "IRQ_PORTG_INTB" |
| 187 | default 12 |
| 188 | config IRQ_MEM_DMA0 |
| 189 | int "IRQ_MEM_DMA0" |
| 190 | default 13 |
| 191 | config IRQ_MEM_DMA1 |
| 192 | int "IRQ_MEM_DMA1" |
| 193 | default 13 |
| 194 | config IRQ_WATCH |
| 195 | int "IRQ_WATCH" |
| 196 | default 13 |
| 197 | config IRQ_PORTF_INTA |
| 198 | int "IRQ_PORTF_INTA" |
| 199 | default 13 |
| 200 | config IRQ_PORTF_INTB |
| 201 | int "IRQ_PORTF_INTB" |
| 202 | default 13 |
| 203 | config IRQ_SPI0_ERROR |
| 204 | int "IRQ_SPI0_ERROR" |
| 205 | default 7 |
| 206 | config IRQ_SPI1_ERROR |
| 207 | int "IRQ_SPI1_ERROR" |
| 208 | default 7 |
| 209 | config IRQ_RSI_INT0 |
| 210 | int "IRQ_RSI_INT0" |
| 211 | default 7 |
| 212 | config IRQ_RSI_INT1 |
| 213 | int "IRQ_RSI_INT1" |
| 214 | default 7 |
| 215 | config IRQ_PWM_TRIP |
| 216 | int "IRQ_PWM_TRIP" |
| 217 | default 10 |
| 218 | config IRQ_PWM_SYNC |
| 219 | int "IRQ_PWM_SYNC" |
| 220 | default 10 |
| 221 | config IRQ_PTP_STAT |
| 222 | int "IRQ_PTP_STAT" |
| 223 | default 10 |
| 224 | |
| 225 | help |
| 226 | Enter the priority numbers between 7-13 ONLY. Others are Reserved. |
| 227 | This applies to all the above. It is not recommended to assign the |
| 228 | highest priority number 7 to UART or any other device. |
| 229 | |
| 230 | endmenu |
| 231 | |
| 232 | endmenu |
| 233 | |
| 234 | endif |