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