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" |
| 159 | default 8 |
| 160 | config IRQ_TIMER1 |
| 161 | int "IRQ_TIMER1" |
Bryan Wu | 2f6f4bc | 2008-11-18 17:48:21 +0800 | [diff] [blame] | 162 | default 12 |
Yi Li | 6a01f23 | 2009-01-07 23:14:39 +0800 | [diff] [blame] | 163 | config IRQ_TIMER2 |
| 164 | int "IRQ_TIMER2" |
Bryan Wu | 2f6f4bc | 2008-11-18 17:48:21 +0800 | [diff] [blame] | 165 | default 12 |
Yi Li | 6a01f23 | 2009-01-07 23:14:39 +0800 | [diff] [blame] | 166 | config IRQ_TIMER3 |
| 167 | int "IRQ_TIMER3" |
Bryan Wu | 2f6f4bc | 2008-11-18 17:48:21 +0800 | [diff] [blame] | 168 | default 12 |
Yi Li | 6a01f23 | 2009-01-07 23:14:39 +0800 | [diff] [blame] | 169 | config IRQ_TIMER4 |
| 170 | int "IRQ_TIMER4" |
Bryan Wu | 2f6f4bc | 2008-11-18 17:48:21 +0800 | [diff] [blame] | 171 | default 12 |
Yi Li | 6a01f23 | 2009-01-07 23:14:39 +0800 | [diff] [blame] | 172 | config IRQ_TIMER5 |
| 173 | int "IRQ_TIMER5" |
Bryan Wu | 2f6f4bc | 2008-11-18 17:48:21 +0800 | [diff] [blame] | 174 | default 12 |
Yi Li | 6a01f23 | 2009-01-07 23:14:39 +0800 | [diff] [blame] | 175 | config IRQ_TIMER6 |
| 176 | int "IRQ_TIMER6" |
Bryan Wu | 2f6f4bc | 2008-11-18 17:48:21 +0800 | [diff] [blame] | 177 | default 12 |
Yi Li | 6a01f23 | 2009-01-07 23:14:39 +0800 | [diff] [blame] | 178 | config IRQ_TIMER7 |
| 179 | int "IRQ_TIMER7" |
Bryan Wu | 2f6f4bc | 2008-11-18 17:48:21 +0800 | [diff] [blame] | 180 | default 12 |
| 181 | config IRQ_PORTG_INTA |
| 182 | int "IRQ_PORTG_INTA" |
| 183 | default 12 |
| 184 | config IRQ_PORTG_INTB |
| 185 | int "IRQ_PORTG_INTB" |
| 186 | default 12 |
| 187 | config IRQ_MEM_DMA0 |
| 188 | int "IRQ_MEM_DMA0" |
| 189 | default 13 |
| 190 | config IRQ_MEM_DMA1 |
| 191 | int "IRQ_MEM_DMA1" |
| 192 | default 13 |
| 193 | config IRQ_WATCH |
| 194 | int "IRQ_WATCH" |
| 195 | default 13 |
| 196 | config IRQ_PORTF_INTA |
| 197 | int "IRQ_PORTF_INTA" |
| 198 | default 13 |
| 199 | config IRQ_PORTF_INTB |
| 200 | int "IRQ_PORTF_INTB" |
| 201 | default 13 |
| 202 | config IRQ_SPI0_ERROR |
| 203 | int "IRQ_SPI0_ERROR" |
| 204 | default 7 |
| 205 | config IRQ_SPI1_ERROR |
| 206 | int "IRQ_SPI1_ERROR" |
| 207 | default 7 |
| 208 | config IRQ_RSI_INT0 |
| 209 | int "IRQ_RSI_INT0" |
| 210 | default 7 |
| 211 | config IRQ_RSI_INT1 |
| 212 | int "IRQ_RSI_INT1" |
| 213 | default 7 |
| 214 | config IRQ_PWM_TRIP |
| 215 | int "IRQ_PWM_TRIP" |
| 216 | default 10 |
| 217 | config IRQ_PWM_SYNC |
| 218 | int "IRQ_PWM_SYNC" |
| 219 | default 10 |
| 220 | config IRQ_PTP_STAT |
| 221 | int "IRQ_PTP_STAT" |
| 222 | default 10 |
| 223 | |
| 224 | help |
| 225 | Enter the priority numbers between 7-13 ONLY. Others are Reserved. |
| 226 | This applies to all the above. It is not recommended to assign the |
| 227 | highest priority number 7 to UART or any other device. |
| 228 | |
| 229 | endmenu |
| 230 | |
| 231 | endmenu |
| 232 | |
| 233 | endif |