Mike Frysinger | 5df326a | 2009-11-16 23:49:41 +0000 | [diff] [blame^] | 1 | config BF542 |
| 2 | def_bool y |
| 3 | depends on BF542_std || BF542M |
| 4 | config BF544 |
| 5 | def_bool y |
| 6 | depends on BF544_std || BF544M |
| 7 | config BF547 |
| 8 | def_bool y |
| 9 | depends on BF547_std || BF547M |
| 10 | config BF548 |
| 11 | def_bool y |
| 12 | depends on BF548_std || BF548M |
| 13 | config BF549 |
| 14 | def_bool y |
| 15 | depends on BF549_std || BF549M |
| 16 | |
| 17 | config BF54xM |
| 18 | def_bool y |
| 19 | depends on (BF542M || BF544M || BF547M || BF548M || BF549M) |
| 20 | |
| 21 | config BF54x |
| 22 | def_bool y |
| 23 | depends on (BF542 || BF544 || BF547 || BF548 || BF549) |
| 24 | |
Roy Huang | 24a07a1 | 2007-07-12 22:41:45 +0800 | [diff] [blame] | 25 | if (BF54x) |
| 26 | |
Mike Frysinger | 4f25eb8 | 2007-11-15 20:49:44 +0800 | [diff] [blame] | 27 | source "arch/blackfin/mach-bf548/boards/Kconfig" |
| 28 | |
Roy Huang | 24a07a1 | 2007-07-12 22:41:45 +0800 | [diff] [blame] | 29 | menu "BF548 Specific Configuration" |
| 30 | |
Michael Hennerich | a924db7 | 2007-08-03 17:43:29 +0800 | [diff] [blame] | 31 | config DEB_DMA_URGENT |
| 32 | bool "DMA has priority over core for ext. accesses" |
| 33 | depends on BF54x |
Cliff Cai | b8aab6f | 2007-12-24 12:33:20 +0800 | [diff] [blame] | 34 | default y |
Michael Hennerich | a924db7 | 2007-08-03 17:43:29 +0800 | [diff] [blame] | 35 | help |
| 36 | Treat any DEB1, DEB2 and DEB3 request as Urgent |
| 37 | |
Sonic Zhang | 8d5c2f0 | 2009-03-30 09:07:26 +0000 | [diff] [blame] | 38 | config BF548_ATAPI_ALTERNATIVE_PORT |
| 39 | bool "BF548 ATAPI alternative port via GPIO" |
| 40 | help |
| 41 | BF548 ATAPI data and address PINs can be routed through |
| 42 | async address or GPIO port F and G. Select y to route it |
| 43 | to GPIO. |
| 44 | |
Roy Huang | 24a07a1 | 2007-07-12 22:41:45 +0800 | [diff] [blame] | 45 | comment "Interrupt Priority Assignment" |
| 46 | menu "Priority" |
| 47 | |
| 48 | config IRQ_PLL_WAKEUP |
| 49 | int "IRQ_PLL_WAKEUP" |
| 50 | default 7 |
| 51 | config IRQ_DMAC0_ERR |
| 52 | int "IRQ_DMAC0_ERR" |
| 53 | default 7 |
| 54 | config IRQ_EPPI0_ERR |
| 55 | int "IRQ_EPPI0_ERR" |
| 56 | default 7 |
| 57 | config IRQ_SPORT0_ERR |
| 58 | int "IRQ_SPORT0_ERR" |
| 59 | default 7 |
| 60 | config IRQ_SPORT1_ERR |
| 61 | int "IRQ_SPORT1_ERR" |
| 62 | default 7 |
| 63 | config IRQ_SPI0_ERR |
| 64 | int "IRQ_SPI0_ERR" |
| 65 | default 7 |
| 66 | config IRQ_UART0_ERR |
| 67 | int "IRQ_UART0_ERR" |
| 68 | default 7 |
| 69 | config IRQ_RTC |
| 70 | int "IRQ_RTC" |
| 71 | default 8 |
| 72 | config IRQ_EPPI0 |
| 73 | int "IRQ_EPPI0" |
| 74 | default 8 |
| 75 | config IRQ_SPORT0_RX |
| 76 | int "IRQ_SPORT0_RX" |
| 77 | default 9 |
| 78 | config IRQ_SPORT0_TX |
| 79 | int "IRQ_SPORT0_TX" |
| 80 | default 9 |
| 81 | config IRQ_SPORT1_RX |
| 82 | int "IRQ_SPORT1_RX" |
| 83 | default 9 |
| 84 | config IRQ_SPORT1_TX |
| 85 | int "IRQ_SPORT1_TX" |
| 86 | default 9 |
| 87 | config IRQ_SPI0 |
| 88 | int "IRQ_SPI0" |
| 89 | default 10 |
| 90 | config IRQ_UART0_RX |
| 91 | int "IRQ_UART0_RX" |
| 92 | default 10 |
| 93 | config IRQ_UART0_TX |
| 94 | int "IRQ_UART0_TX" |
| 95 | default 10 |
| 96 | config IRQ_TIMER8 |
| 97 | int "IRQ_TIMER8" |
| 98 | default 11 |
| 99 | config IRQ_TIMER9 |
| 100 | int "IRQ_TIMER9" |
| 101 | default 11 |
| 102 | config IRQ_TIMER10 |
| 103 | int "IRQ_TIMER10" |
| 104 | default 11 |
| 105 | config IRQ_PINT0 |
| 106 | int "IRQ_PINT0" |
| 107 | default 12 |
| 108 | config IRQ_PINT1 |
| 109 | int "IRQ_PINT0" |
| 110 | default 12 |
| 111 | config IRQ_MDMAS0 |
| 112 | int "IRQ_MDMAS0" |
| 113 | default 13 |
| 114 | config IRQ_MDMAS1 |
| 115 | int "IRQ_DMDMAS1" |
| 116 | default 13 |
| 117 | config IRQ_WATCHDOG |
| 118 | int "IRQ_WATCHDOG" |
| 119 | default 13 |
| 120 | config IRQ_DMAC1_ERR |
| 121 | int "IRQ_DMAC1_ERR" |
| 122 | default 7 |
| 123 | config IRQ_SPORT2_ERR |
| 124 | int "IRQ_SPORT2_ERR" |
| 125 | default 7 |
| 126 | config IRQ_SPORT3_ERR |
| 127 | int "IRQ_SPORT3_ERR" |
| 128 | default 7 |
| 129 | config IRQ_MXVR_DATA |
| 130 | int "IRQ MXVR Data" |
| 131 | default 7 |
| 132 | config IRQ_SPI1_ERR |
| 133 | int "IRQ_SPI1_ERR" |
| 134 | default 7 |
| 135 | config IRQ_SPI2_ERR |
| 136 | int "IRQ_SPI2_ERR" |
| 137 | default 7 |
| 138 | config IRQ_UART1_ERR |
| 139 | int "IRQ_UART1_ERR" |
| 140 | default 7 |
| 141 | config IRQ_UART2_ERR |
| 142 | int "IRQ_UART2_ERR" |
| 143 | default 7 |
| 144 | config IRQ_CAN0_ERR |
| 145 | int "IRQ_CAN0_ERR" |
| 146 | default 7 |
| 147 | config IRQ_SPORT2_RX |
| 148 | int "IRQ_SPORT2_RX" |
| 149 | default 9 |
| 150 | config IRQ_SPORT2_TX |
| 151 | int "IRQ_SPORT2_TX" |
| 152 | default 9 |
| 153 | config IRQ_SPORT3_RX |
| 154 | int "IRQ_SPORT3_RX" |
| 155 | default 9 |
| 156 | config IRQ_SPORT3_TX |
| 157 | int "IRQ_SPORT3_TX" |
| 158 | default 9 |
| 159 | config IRQ_EPPI1 |
| 160 | int "IRQ_EPPI1" |
| 161 | default 9 |
| 162 | config IRQ_EPPI2 |
| 163 | int "IRQ_EPPI2" |
| 164 | default 9 |
| 165 | config IRQ_SPI1 |
| 166 | int "IRQ_SPI1" |
| 167 | default 10 |
| 168 | config IRQ_SPI2 |
| 169 | int "IRQ_SPI2" |
| 170 | default 10 |
| 171 | config IRQ_UART1_RX |
| 172 | int "IRQ_UART1_RX" |
| 173 | default 10 |
| 174 | config IRQ_UART1_TX |
| 175 | int "IRQ_UART1_TX" |
| 176 | default 10 |
| 177 | config IRQ_ATAPI_RX |
| 178 | int "IRQ_ATAPI_RX" |
| 179 | default 10 |
| 180 | config IRQ_ATAPI_TX |
| 181 | int "IRQ_ATAPI_TX" |
| 182 | default 10 |
| 183 | config IRQ_TWI0 |
| 184 | int "IRQ_TWI0" |
| 185 | default 11 |
| 186 | config IRQ_TWI1 |
| 187 | int "IRQ_TWI1" |
| 188 | default 11 |
| 189 | config IRQ_CAN0_RX |
| 190 | int "IRQ_CAN_RX" |
| 191 | default 11 |
| 192 | config IRQ_CAN0_TX |
| 193 | int "IRQ_CAN_TX" |
| 194 | default 11 |
| 195 | config IRQ_MDMAS2 |
| 196 | int "IRQ_MDMAS2" |
| 197 | default 13 |
| 198 | config IRQ_MDMAS3 |
| 199 | int "IRQ_DMMAS3" |
| 200 | default 13 |
| 201 | config IRQ_MXVR_ERR |
| 202 | int "IRQ_MXVR_ERR" |
| 203 | default 11 |
| 204 | config IRQ_MXVR_MSG |
| 205 | int "IRQ_MXVR_MSG" |
| 206 | default 11 |
| 207 | config IRQ_MXVR_PKT |
| 208 | int "IRQ_MXVR_PKT" |
| 209 | default 11 |
| 210 | config IRQ_EPPI1_ERR |
| 211 | int "IRQ_EPPI1_ERR" |
| 212 | default 7 |
| 213 | config IRQ_EPPI2_ERR |
| 214 | int "IRQ_EPPI2_ERR" |
| 215 | default 7 |
| 216 | config IRQ_UART3_ERR |
| 217 | int "IRQ_UART3_ERR" |
| 218 | default 7 |
| 219 | config IRQ_HOST_ERR |
| 220 | int "IRQ_HOST_ERR" |
| 221 | default 7 |
| 222 | config IRQ_PIXC_ERR |
| 223 | int "IRQ_PIXC_ERR" |
| 224 | default 7 |
| 225 | config IRQ_NFC_ERR |
| 226 | int "IRQ_NFC_ERR" |
| 227 | default 7 |
| 228 | config IRQ_ATAPI_ERR |
| 229 | int "IRQ_ATAPI_ERR" |
| 230 | default 7 |
| 231 | config IRQ_CAN1_ERR |
| 232 | int "IRQ_CAN1_ERR" |
| 233 | default 7 |
| 234 | config IRQ_HS_DMA_ERR |
| 235 | int "IRQ Handshake DMA Status" |
| 236 | default 7 |
| 237 | config IRQ_PIXC_IN0 |
| 238 | int "IRQ PIXC IN0" |
| 239 | default 8 |
| 240 | config IRQ_PIXC_IN1 |
| 241 | int "IRQ PIXC IN1" |
| 242 | default 8 |
| 243 | config IRQ_PIXC_OUT |
| 244 | int "IRQ PIXC OUT" |
| 245 | default 8 |
| 246 | config IRQ_SDH |
| 247 | int "IRQ SDH" |
| 248 | default 8 |
| 249 | config IRQ_CNT |
| 250 | int "IRQ CNT" |
| 251 | default 8 |
| 252 | config IRQ_KEY |
| 253 | int "IRQ KEY" |
| 254 | default 8 |
| 255 | config IRQ_CAN1_RX |
| 256 | int "IRQ CAN1 RX" |
| 257 | default 11 |
| 258 | config IRQ_CAN1_TX |
| 259 | int "IRQ_CAN1_TX" |
| 260 | default 11 |
| 261 | config IRQ_SDH_MASK0 |
| 262 | int "IRQ_SDH_MASK0" |
| 263 | default 11 |
| 264 | config IRQ_SDH_MASK1 |
| 265 | int "IRQ_SDH_MASK1" |
| 266 | default 11 |
| 267 | config IRQ_USB_INT0 |
| 268 | int "IRQ USB INT0" |
| 269 | default 11 |
| 270 | config IRQ_USB_INT1 |
| 271 | int "IRQ USB INT1" |
| 272 | default 11 |
| 273 | config IRQ_USB_INT2 |
| 274 | int "IRQ USB INT2" |
| 275 | default 11 |
| 276 | config IRQ_USB_DMA |
| 277 | int "IRQ USB DMA" |
| 278 | default 11 |
| 279 | config IRQ_OTPSEC |
| 280 | int "IRQ OPTSEC" |
| 281 | default 11 |
| 282 | config IRQ_TIMER0 |
| 283 | int "IRQ_TIMER0" |
Graf Yang | 1fa9be7 | 2009-05-15 11:01:59 +0000 | [diff] [blame] | 284 | default 7 if TICKSOURCE_GPTMR0 |
Yi Li | 6a01f23 | 2009-01-07 23:14:39 +0800 | [diff] [blame] | 285 | default 8 |
Roy Huang | 24a07a1 | 2007-07-12 22:41:45 +0800 | [diff] [blame] | 286 | config IRQ_TIMER1 |
| 287 | int "IRQ_TIMER1" |
| 288 | default 11 |
| 289 | config IRQ_TIMER2 |
| 290 | int "IRQ_TIMER2" |
| 291 | default 11 |
| 292 | config IRQ_TIMER3 |
| 293 | int "IRQ_TIMER3" |
| 294 | default 11 |
| 295 | config IRQ_TIMER4 |
| 296 | int "IRQ_TIMER4" |
| 297 | default 11 |
| 298 | config IRQ_TIMER5 |
| 299 | int "IRQ_TIMER5" |
| 300 | default 11 |
| 301 | config IRQ_TIMER6 |
| 302 | int "IRQ_TIMER6" |
| 303 | default 11 |
| 304 | config IRQ_TIMER7 |
| 305 | int "IRQ_TIMER7" |
| 306 | default 11 |
| 307 | config IRQ_PINT2 |
| 308 | int "IRQ_PIN2" |
| 309 | default 11 |
| 310 | config IRQ_PINT3 |
| 311 | int "IRQ_PIN3" |
| 312 | default 11 |
| 313 | |
| 314 | help |
| 315 | Enter the priority numbers between 7-13 ONLY. Others are Reserved. |
| 316 | This applies to all the above. It is not recommended to assign the |
| 317 | highest priority number 7 to UART or any other device. |
| 318 | |
| 319 | endmenu |
| 320 | |
Michael Hennerich | 34e0fc8 | 2007-07-12 16:17:18 +0800 | [diff] [blame] | 321 | comment "Pin Interrupt to Port Assignment" |
| 322 | menu "Assignment" |
| 323 | |
| 324 | config PINTx_REASSIGN |
| 325 | bool "Reprogram PINT Assignment" |
Michael Hennerich | 31430ba | 2007-07-24 16:27:25 +0800 | [diff] [blame] | 326 | default y |
Michael Hennerich | 34e0fc8 | 2007-07-12 16:17:18 +0800 | [diff] [blame] | 327 | help |
| 328 | The interrupt assignment registers controls the pin-to-interrupt |
| 329 | assignment in a byte-wide manner. Each option allows you to select |
| 330 | a set of pins (High/Low Byte) of an specific Port being mapped |
| 331 | to one of the four PIN Interrupts IRQ_PINTx. |
| 332 | |
| 333 | You shouldn't change any of these unless you know exactly what you're doing. |
| 334 | Please consult the Blackfin BF54x Processor Hardware Reference Manual. |
| 335 | |
| 336 | config PINT0_ASSIGN |
| 337 | hex "PINT0_ASSIGN" |
| 338 | depends on PINTx_REASSIGN |
| 339 | default 0x00000101 |
| 340 | config PINT1_ASSIGN |
| 341 | hex "PINT1_ASSIGN" |
| 342 | depends on PINTx_REASSIGN |
| 343 | default 0x01010000 |
| 344 | config PINT2_ASSIGN |
| 345 | hex "PINT2_ASSIGN" |
| 346 | depends on PINTx_REASSIGN |
Michael Hennerich | 31430ba | 2007-07-24 16:27:25 +0800 | [diff] [blame] | 347 | default 0x07000101 |
Michael Hennerich | 34e0fc8 | 2007-07-12 16:17:18 +0800 | [diff] [blame] | 348 | config PINT3_ASSIGN |
| 349 | hex "PINT3_ASSIGN" |
| 350 | depends on PINTx_REASSIGN |
| 351 | default 0x02020303 |
| 352 | |
| 353 | endmenu |
| 354 | |
Roy Huang | 24a07a1 | 2007-07-12 22:41:45 +0800 | [diff] [blame] | 355 | endmenu |
| 356 | |
| 357 | endif |