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