4301c6bad80cbf6b3e2dafbf77ca0bfecd023793
[pandora-kernel.git] / arch / arm / mach-at91 / Kconfig
1 if ARCH_AT91
2
3 menu "Atmel AT91 System-on-Chip"
4
5 choice
6         prompt "Atmel AT91 Processor"
7
8 config ARCH_AT91RM9200
9         bool "AT91RM9200"
10         select CPU_ARM920T
11         select GENERIC_TIME
12         select GENERIC_CLOCKEVENTS
13
14 config ARCH_AT91SAM9260
15         bool "AT91SAM9260 or AT91SAM9XE"
16         select CPU_ARM926T
17         select GENERIC_TIME
18         select GENERIC_CLOCKEVENTS
19
20 config ARCH_AT91SAM9261
21         bool "AT91SAM9261"
22         select CPU_ARM926T
23         select GENERIC_TIME
24         select GENERIC_CLOCKEVENTS
25
26 config ARCH_AT91SAM9G10
27         bool "AT91SAM9G10"
28         select CPU_ARM926T
29         select GENERIC_TIME
30         select GENERIC_CLOCKEVENTS
31
32 config ARCH_AT91SAM9263
33         bool "AT91SAM9263"
34         select CPU_ARM926T
35         select GENERIC_TIME
36         select GENERIC_CLOCKEVENTS
37
38 config ARCH_AT91SAM9RL
39         bool "AT91SAM9RL"
40         select CPU_ARM926T
41         select GENERIC_TIME
42         select GENERIC_CLOCKEVENTS
43
44 config ARCH_AT91SAM9G20
45         bool "AT91SAM9G20"
46         select CPU_ARM926T
47         select GENERIC_TIME
48         select GENERIC_CLOCKEVENTS
49
50 config ARCH_AT91SAM9G45
51         bool "AT91SAM9G45"
52         select CPU_ARM926T
53         select GENERIC_TIME
54         select GENERIC_CLOCKEVENTS
55
56 config ARCH_AT91CAP9
57         bool "AT91CAP9"
58         select CPU_ARM926T
59         select GENERIC_TIME
60         select GENERIC_CLOCKEVENTS
61
62 config ARCH_AT91X40
63         bool "AT91x40"
64
65 endchoice
66
67 config AT91_PMC_UNIT
68         bool
69         default !ARCH_AT91X40
70
71 # ----------------------------------------------------------
72
73 if ARCH_AT91RM9200
74
75 comment "AT91RM9200 Board Type"
76
77 config MACH_ONEARM
78         bool "Ajeco 1ARM Single Board Computer"
79         help
80           Select this if you are using Ajeco's 1ARM Single Board Computer.
81           <http://www.ajeco.fi/products.htm>
82
83 config ARCH_AT91RM9200DK
84         bool "Atmel AT91RM9200-DK Development board"
85         help
86           Select this if you are using Atmel's AT91RM9200-DK Development board.
87           (Discontinued)
88
89 config MACH_AT91RM9200EK
90         bool "Atmel AT91RM9200-EK Evaluation Kit"
91         help
92           Select this if you are using Atmel's AT91RM9200-EK Evaluation Kit.
93           <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=3507>
94
95 config MACH_CSB337
96         bool "Cogent CSB337"
97         help
98           Select this if you are using Cogent's CSB337 board.
99           <http://www.cogcomp.com/csb_csb337.htm>
100
101 config MACH_CSB637
102         bool "Cogent CSB637"
103         help
104           Select this if you are using Cogent's CSB637 board.
105           <http://www.cogcomp.com/csb_csb637.htm>
106
107 config MACH_CARMEVA
108         bool "Conitec ARM&EVA"
109         help
110           Select this if you are using Conitec's AT91RM9200-MCU-Module.
111           <http://www.conitec.net/english/linuxboard.htm>
112
113 config MACH_ATEB9200
114         bool "Embest ATEB9200"
115         help
116           Select this if you are using Embest's ATEB9200 board.
117           <http://www.embedinfo.com/english/product/ATEB9200.asp>
118
119 config MACH_KB9200
120         bool "KwikByte KB920x"
121         help
122           Select this if you are using KwikByte's KB920x board.
123           <http://kwikbyte.com/KB9202_description_new.htm>
124
125 config MACH_PICOTUX2XX
126         bool "picotux 200"
127         help
128           Select this if you are using a picotux 200.
129           <http://www.picotux.com/>
130
131 config MACH_KAFA
132         bool "Sperry-Sun KAFA board"
133         help
134           Select this if you are using Sperry-Sun's KAFA board.
135
136 config MACH_ECBAT91
137         bool "emQbit ECB_AT91 SBC"
138         help
139           Select this if you are using emQbit's ECB_AT91 board.
140           <http://wiki.emqbit.com/free-ecb-at91>
141
142 config MACH_YL9200
143         bool "ucDragon YL-9200"
144         help
145           Select this if you are using the ucDragon YL-9200 board.
146
147 config MACH_CPUAT91
148         bool "Eukrea CPUAT91"
149         help
150           Select this if you are using the Eukrea Electromatique's
151           CPUAT91 board <http://www.eukrea.com/>.
152
153 endif
154
155 # ----------------------------------------------------------
156
157 if ARCH_AT91SAM9260
158
159 comment "AT91SAM9260 Variants"
160
161 config ARCH_AT91SAM9260_SAM9XE
162         bool "AT91SAM9XE"
163         help
164           Select this if you are using Atmel's AT91SAM9XE System-on-Chip.
165           They are basically AT91SAM9260s with various sizes of embedded Flash.
166
167 comment "AT91SAM9260 / AT91SAM9XE Board Type"
168
169 config MACH_AT91SAM9260EK
170         bool "Atmel AT91SAM9260-EK / AT91SAM9XE Evaluation Kit"
171         help
172           Select this if you are using Atmel's AT91SAM9260-EK or AT91SAM9XE Evaluation Kit
173           <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=3933>
174
175 config MACH_CAM60
176         bool "KwikByte KB9260 (CAM60) board"
177         help
178           Select this if you are using KwikByte's KB9260 (CAM60) board based on the Atmel AT91SAM9260.
179           <http://www.kwikbyte.com/KB9260.html>
180
181 config MACH_SAM9_L9260
182         bool "Olimex SAM9-L9260 board"
183         help
184           Select this if you are using Olimex's SAM9-L9260 board based on the Atmel AT91SAM9260.
185           <http://www.olimex.com/dev/sam9-L9260.html>
186
187 config MACH_AFEB9260
188         bool "Custom afeb9260 board v1"
189         help
190           Select this if you are using custom afeb9260 board based on
191           open hardware design. Select this for revision 1 of the board.
192           <svn://194.85.238.22/home/users/george/svn/arm9eb>
193           <http://groups.google.com/group/arm9fpga-evolution-board>
194
195 config MACH_USB_A9260
196         bool "CALAO USB-A9260"
197         help
198           Select this if you are using a Calao Systems USB-A9260.
199           <http://www.calao-systems.com>
200
201 config MACH_QIL_A9260
202         bool "CALAO QIL-A9260 board"
203         help
204           Select this if you are using a Calao Systems QIL-A9260 Board.
205           <http://www.calao-systems.com>
206
207 config MACH_CPU9260
208         bool "Eukrea CPU9260 board"
209         help
210           Select this if you are using a Eukrea Electromatique's
211           CPU9260 Board <http://www.eukrea.com/>
212
213 endif
214
215 # ----------------------------------------------------------
216
217 if ARCH_AT91SAM9261
218
219 comment "AT91SAM9261 Board Type"
220
221 config MACH_AT91SAM9261EK
222         bool "Atmel AT91SAM9261-EK Evaluation Kit"
223         help
224           Select this if you are using Atmel's AT91SAM9261-EK Evaluation Kit.
225           <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=3820>
226
227 endif
228
229 # ----------------------------------------------------------
230
231 if ARCH_AT91SAM9G10
232
233 comment "AT91SAM9G10 Board Type"
234
235 config MACH_AT91SAM9G10EK
236         bool "Atmel AT91SAM9G10-EK Evaluation Kit"
237         help
238           Select this if you are using Atmel's AT91SAM9G10-EK Evaluation Kit.
239           <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=4588>
240
241 endif
242
243 # ----------------------------------------------------------
244
245 if ARCH_AT91SAM9263
246
247 comment "AT91SAM9263 Board Type"
248
249 config MACH_AT91SAM9263EK
250         bool "Atmel AT91SAM9263-EK Evaluation Kit"
251         help
252           Select this if you are using Atmel's AT91SAM9263-EK Evaluation Kit.
253           <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=4057>
254
255 config MACH_USB_A9263
256         bool "CALAO USB-A9263"
257         help
258           Select this if you are using a Calao Systems USB-A9263.
259           <http://www.calao-systems.com>
260
261 config MACH_NEOCORE926
262         bool "Adeneo NEOCORE926"
263         help
264           Select this if you are using the Adeneo Neocore 926 board.
265
266 endif
267
268 # ----------------------------------------------------------
269
270 if ARCH_AT91SAM9RL
271
272 comment "AT91SAM9RL Board Type"
273
274 config MACH_AT91SAM9RLEK
275         bool "Atmel AT91SAM9RL-EK Evaluation Kit"
276         help
277           Select this if you are using Atmel's AT91SAM9RL-EK Evaluation Kit.
278
279 endif
280
281 # ----------------------------------------------------------
282
283 if ARCH_AT91SAM9G20
284
285 comment "AT91SAM9G20 Board Type"
286
287 config MACH_AT91SAM9G20EK
288         bool "Atmel AT91SAM9G20-EK Evaluation Kit"
289         help
290           Select this if you are using Atmel's AT91SAM9G20-EK Evaluation Kit
291           that embeds only one SD/MMC slot.
292
293 config MACH_AT91SAM9G20EK_2MMC
294         bool "Atmel AT91SAM9G20-EK Evaluation Kit with 2 SD/MMC Slots"
295         help
296           Select this if you are using an Atmel AT91SAM9G20-EK Evaluation Kit
297           with 2 SD/MMC Slots. This is the case for AT91SAM9G20-EK rev. C and
298           onwards.
299
300 config MACH_CPU9G20
301         bool "Eukrea CPU9G20 board"
302         help
303           Select this if you are using a Eukrea Electromatique's
304           CPU9G20 Board <http://www.eukrea.com/>
305
306 endif
307
308 # ----------------------------------------------------------
309
310 if ARCH_AT91SAM9G45
311
312 comment "AT91SAM9G45 Board Type"
313
314 config MACH_AT91SAM9G45EKES
315         bool "Atmel AT91SAM9G45-EKES Evaluation Kit"
316         help
317           Select this if you are using Atmel's AT91SAM9G45-EKES Evaluation Kit.
318           "ES" at the end of the name means that this board is an
319           Engineering Sample.
320
321 endif
322
323 # ----------------------------------------------------------
324
325 if ARCH_AT91CAP9
326
327 comment "AT91CAP9 Board Type"
328
329 config MACH_AT91CAP9ADK
330         bool "Atmel AT91CAP9A-DK Evaluation Kit"
331         help
332           Select this if you are using Atmel's AT91CAP9A-DK Evaluation Kit.
333           <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=4138>
334
335 endif
336
337 # ----------------------------------------------------------
338
339 if ARCH_AT91X40
340
341 comment "AT91X40 Board Type"
342
343 config MACH_AT91EB01
344         bool "Atmel AT91EB01 Evaluation Kit"
345         help
346           Select this if you are using Atmel's AT91EB01 Evaluation Kit.
347           It is also a popular target for simulators such as GDB's
348           ARM simulator (commonly known as the ARMulator) and the
349           Skyeye simulator.
350
351 endif
352
353 # ----------------------------------------------------------
354
355 comment "AT91 Board Options"
356
357 config MTD_AT91_DATAFLASH_CARD
358         bool "Enable DataFlash Card support"
359         depends on (ARCH_AT91RM9200DK || MACH_AT91RM9200EK || MACH_AT91SAM9260EK || MACH_AT91SAM9261EK || MACH_AT91SAM9G10EK || MACH_AT91SAM9263EK || MACH_AT91SAM9G20EK || MACH_ECBAT91 || MACH_SAM9_L9260 || MACH_AT91CAP9ADK || MACH_NEOCORE926)
360         help
361           Enable support for the DataFlash card.
362
363 config MTD_NAND_ATMEL_BUSWIDTH_16
364         bool "Enable 16-bit data bus interface to NAND flash"
365         depends on (MACH_AT91SAM9260EK || MACH_AT91SAM9261EK || MACH_AT91SAM9G10EK || MACH_AT91SAM9263EK || MACH_AT91SAM9G20EK || MACH_AT91SAM9G20EK_2MMC || MACH_AT91SAM9G45EKES || MACH_AT91CAP9ADK)
366         help
367           On AT91SAM926x boards both types of NAND flash can be present
368           (8 and 16 bit data bus width).
369
370 # ----------------------------------------------------------
371
372 comment "AT91 Feature Selections"
373
374 config AT91_PROGRAMMABLE_CLOCKS
375         bool "Programmable Clocks"
376         help
377           Select this if you need to program one or more of the PCK0..PCK3
378           programmable clock outputs.
379
380 config AT91_SLOW_CLOCK
381         bool "Suspend-to-RAM disables main oscillator"
382         depends on SUSPEND
383         help
384           Select this if you want Suspend-to-RAM to save the most power
385           possible (without powering off the CPU) by disabling the PLLs
386           and main oscillator so that only the 32 KiHz clock is available.
387
388           When only that slow-clock is available, some peripherals lose
389           functionality.  Many can't issue wakeup events unless faster
390           clocks are available.  Some lose their operating state and
391           need to be completely re-initialized.
392
393 config AT91_TIMER_HZ
394        int "Kernel HZ (jiffies per second)"
395        range 32 1024
396        depends on ARCH_AT91
397        default "128" if ARCH_AT91RM9200
398        default "100"
399        help
400           On AT91rm9200 chips where you're using a system clock derived
401           from the 32768 Hz hardware clock, this tick rate should divide
402           it exactly: use a power-of-two value, such as 128 or 256, to
403           reduce timing errors caused by rounding.
404
405           On AT91sam926x chips, or otherwise when using a higher precision
406           system clock (of at least several MHz), rounding is less of a
407           problem so it can be safer to use a decimal values like 100.
408
409 choice
410         prompt "Select a UART for early kernel messages"
411
412 config AT91_EARLY_DBGU
413         bool "DBGU"
414
415 config AT91_EARLY_USART0
416         bool "USART0"
417
418 config AT91_EARLY_USART1
419         bool "USART1"
420
421 config AT91_EARLY_USART2
422         bool "USART2"
423         depends on ! ARCH_AT91X40
424
425 config AT91_EARLY_USART3
426         bool "USART3"
427         depends on (ARCH_AT91RM9200 || ARCH_AT91SAM9RL || ARCH_AT91SAM9260 || ARCH_AT91SAM9G20 || ARCH_AT91SAM9G45)
428
429 config AT91_EARLY_USART4
430         bool "USART4"
431         depends on ARCH_AT91SAM9260 || ARCH_AT91SAM9G20
432
433 config AT91_EARLY_USART5
434         bool "USART5"
435         depends on ARCH_AT91SAM9260 || ARCH_AT91SAM9G20
436
437 endchoice
438
439 endmenu
440
441 endif