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