ARN: at91: introduce SOC_AT91xxx define to allow to compile SoC core support
[deliverable/linux.git] / arch / arm / mach-at91 / Kconfig
1 if ARCH_AT91
2
3 config HAVE_AT91_DATAFLASH_CARD
4 bool
5
6 config HAVE_AT91_DBGU0
7 bool
8
9 config HAVE_AT91_DBGU1
10 bool
11
12 config AT91_SAM9_ALT_RESET
13 bool
14 default !ARCH_AT91X40
15
16 config AT91_SAM9G45_RESET
17 bool
18 default !ARCH_AT91X40
19
20 config SOC_AT91SAM9
21 bool
22 select GENERIC_CLOCKEVENTS
23 select CPU_ARM926T
24
25 menu "Atmel AT91 System-on-Chip"
26
27 comment "Atmel AT91 Processor"
28
29 config SOC_AT91SAM9
30 bool
31 select CPU_ARM926T
32 select AT91_SAM9_TIME
33 select AT91_SAM9_SMC
34
35 config SOC_AT91RM9200
36 bool "AT91RM9200"
37 select CPU_ARM920T
38 select GENERIC_CLOCKEVENTS
39 select HAVE_AT91_DBGU0
40
41 config SOC_AT91SAM9260
42 bool "AT91SAM9260, AT91SAM9XE or AT91SAM9G20"
43 select SOC_AT91SAM9
44 select HAVE_AT91_DBGU0
45 select HAVE_NET_MACB
46 help
47 Select this if you are using one of Atmel's AT91SAM9260, AT91SAM9XE
48 or AT91SAM9G20 SoC.
49
50 config SOC_AT91SAM9261
51 bool "AT91SAM9261 or AT91SAM9G10"
52 select SOC_AT91SAM9
53 select HAVE_AT91_DBGU0
54 select HAVE_FB_ATMEL
55 help
56 Select this if you are using one of Atmel's AT91SAM9261 or AT91SAM9G10 SoC.
57
58 config SOC_AT91SAM9263
59 bool "AT91SAM9263"
60 select SOC_AT91SAM9
61 select HAVE_AT91_DBGU1
62 select HAVE_FB_ATMEL
63 select HAVE_NET_MACB
64
65 config SOC_AT91SAM9RL
66 bool "AT91SAM9RL"
67 select SOC_AT91SAM9
68 select HAVE_AT91_DBGU0
69 select HAVE_FB_ATMEL
70
71 config SOC_AT91SAM9G45
72 bool "AT91SAM9G45 or AT91SAM9M10 families"
73 select SOC_AT91SAM9
74 select HAVE_AT91_DBGU1
75 select HAVE_FB_ATMEL
76 select HAVE_NET_MACB
77 help
78 Select this if you are using one of Atmel's AT91SAM9G45 family SoC.
79 This support covers AT91SAM9G45, AT91SAM9G46, AT91SAM9M10 and AT91SAM9M11.
80
81 config SOC_AT91SAM9X5
82 bool "AT91SAM9x5 family"
83 select SOC_AT91SAM9
84 select HAVE_AT91_DBGU0
85 select HAVE_FB_ATMEL
86 select HAVE_NET_MACB
87 help
88 Select this if you are using one of Atmel's AT91SAM9x5 family SoC.
89 This means that your SAM9 name finishes with a '5' (except if it is
90 AT91SAM9G45!).
91 This support covers AT91SAM9G15, AT91SAM9G25, AT91SAM9X25, AT91SAM9G35
92 and AT91SAM9X35.
93
94 choice
95 prompt "Atmel AT91 Processor Devices for non DT boards"
96
97 config ARCH_AT91_NONE
98 bool "None"
99
100 config ARCH_AT91RM9200
101 bool "AT91RM9200"
102 select SOC_AT91RM9200
103
104 config ARCH_AT91SAM9260
105 bool "AT91SAM9260 or AT91SAM9XE"
106 select SOC_AT91SAM9260
107
108 config ARCH_AT91SAM9261
109 bool "AT91SAM9261"
110 select SOC_AT91SAM9261
111
112 config ARCH_AT91SAM9G10
113 bool "AT91SAM9G10"
114 select SOC_AT91SAM9261
115
116 config ARCH_AT91SAM9263
117 bool "AT91SAM9263"
118 select SOC_AT91SAM9263
119
120 config ARCH_AT91SAM9RL
121 bool "AT91SAM9RL"
122 select SOC_AT91SAM9RL
123
124 config ARCH_AT91SAM9G20
125 bool "AT91SAM9G20"
126 select SOC_AT91SAM9260
127
128 config ARCH_AT91SAM9G45
129 bool "AT91SAM9G45"
130 select SOC_AT91SAM9G45
131
132 config ARCH_AT91X40
133 bool "AT91x40"
134 depends on !MMU
135 select ARCH_USES_GETTIMEOFFSET
136
137 endchoice
138
139 config AT91_PMC_UNIT
140 bool
141 default !ARCH_AT91X40
142
143 # ----------------------------------------------------------
144
145 if ARCH_AT91RM9200
146
147 comment "AT91RM9200 Board Type"
148
149 config MACH_ONEARM
150 bool "Ajeco 1ARM Single Board Computer"
151 help
152 Select this if you are using Ajeco's 1ARM Single Board Computer.
153 <http://www.ajeco.fi/>
154
155 config ARCH_AT91RM9200DK
156 bool "Atmel AT91RM9200-DK Development board"
157 select HAVE_AT91_DATAFLASH_CARD
158 help
159 Select this if you are using Atmel's AT91RM9200-DK Development board.
160 (Discontinued)
161
162 config MACH_AT91RM9200EK
163 bool "Atmel AT91RM9200-EK Evaluation Kit"
164 select HAVE_AT91_DATAFLASH_CARD
165 help
166 Select this if you are using Atmel's AT91RM9200-EK Evaluation Kit.
167 <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=3507>
168
169 config MACH_CSB337
170 bool "Cogent CSB337"
171 help
172 Select this if you are using Cogent's CSB337 board.
173 <http://www.cogcomp.com/csb_csb337.htm>
174
175 config MACH_CSB637
176 bool "Cogent CSB637"
177 help
178 Select this if you are using Cogent's CSB637 board.
179 <http://www.cogcomp.com/csb_csb637.htm>
180
181 config MACH_CARMEVA
182 bool "Conitec ARM&EVA"
183 help
184 Select this if you are using Conitec's AT91RM9200-MCU-Module.
185 <http://www.conitec.net/english/linuxboard.php>
186
187 config MACH_ATEB9200
188 bool "Embest ATEB9200"
189 help
190 Select this if you are using Embest's ATEB9200 board.
191 <http://www.embedinfo.com/english/product/ATEB9200.asp>
192
193 config MACH_KB9200
194 bool "KwikByte KB920x"
195 help
196 Select this if you are using KwikByte's KB920x board.
197 <http://www.kwikbyte.com/KB9202.html>
198
199 config MACH_PICOTUX2XX
200 bool "picotux 200"
201 help
202 Select this if you are using a picotux 200.
203 <http://www.picotux.com/>
204
205 config MACH_KAFA
206 bool "Sperry-Sun KAFA board"
207 help
208 Select this if you are using Sperry-Sun's KAFA board.
209
210 config MACH_ECBAT91
211 bool "emQbit ECB_AT91 SBC"
212 select HAVE_AT91_DATAFLASH_CARD
213 help
214 Select this if you are using emQbit's ECB_AT91 board.
215 <http://wiki.emqbit.com/free-ecb-at91>
216
217 config MACH_YL9200
218 bool "ucDragon YL-9200"
219 help
220 Select this if you are using the ucDragon YL-9200 board.
221
222 config MACH_CPUAT91
223 bool "Eukrea CPUAT91"
224 help
225 Select this if you are using the Eukrea Electromatique's
226 CPUAT91 board <http://www.eukrea.com/>.
227
228 config MACH_ECO920
229 bool "eco920"
230 help
231 Select this if you are using the eco920 board
232
233 config MACH_RSI_EWS
234 bool "RSI Embedded Webserver"
235 depends on ARCH_AT91RM9200
236 help
237 Select this if you are using RSIs EWS board.
238 endif
239
240 # ----------------------------------------------------------
241
242 if ARCH_AT91SAM9260
243
244 comment "AT91SAM9260 Variants"
245
246 comment "AT91SAM9260 / AT91SAM9XE Board Type"
247
248 config MACH_AT91SAM9260EK
249 bool "Atmel AT91SAM9260-EK / AT91SAM9XE Evaluation Kit"
250 select HAVE_AT91_DATAFLASH_CARD
251 help
252 Select this if you are using Atmel's AT91SAM9260-EK or AT91SAM9XE Evaluation Kit
253 <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=3933>
254
255 config MACH_CAM60
256 bool "KwikByte KB9260 (CAM60) board"
257 help
258 Select this if you are using KwikByte's KB9260 (CAM60) board based on the Atmel AT91SAM9260.
259 <http://www.kwikbyte.com/KB9260.html>
260
261 config MACH_SAM9_L9260
262 bool "Olimex SAM9-L9260 board"
263 select HAVE_AT91_DATAFLASH_CARD
264 help
265 Select this if you are using Olimex's SAM9-L9260 board based on the Atmel AT91SAM9260.
266 <http://www.olimex.com/dev/sam9-L9260.html>
267
268 config MACH_AFEB9260
269 bool "Custom afeb9260 board v1"
270 help
271 Select this if you are using custom afeb9260 board based on
272 open hardware design. Select this for revision 1 of the board.
273 <svn://194.85.238.22/home/users/george/svn/arm9eb>
274 <http://groups.google.com/group/arm9fpga-evolution-board>
275
276 config MACH_USB_A9260
277 bool "CALAO USB-A9260"
278 help
279 Select this if you are using a Calao Systems USB-A9260.
280 <http://www.calao-systems.com>
281
282 config MACH_QIL_A9260
283 bool "CALAO QIL-A9260 board"
284 help
285 Select this if you are using a Calao Systems QIL-A9260 Board.
286 <http://www.calao-systems.com>
287
288 config MACH_CPU9260
289 bool "Eukrea CPU9260 board"
290 help
291 Select this if you are using a Eukrea Electromatique's
292 CPU9260 Board <http://www.eukrea.com/>
293
294 config MACH_FLEXIBITY
295 bool "Flexibity Connect board"
296 help
297 Select this if you are using Flexibity Connect board
298 <http://www.flexibity.com>
299
300 endif
301
302 # ----------------------------------------------------------
303
304 if ARCH_AT91SAM9261
305
306 comment "AT91SAM9261 Board Type"
307
308 config MACH_AT91SAM9261EK
309 bool "Atmel AT91SAM9261-EK Evaluation Kit"
310 select HAVE_AT91_DATAFLASH_CARD
311 help
312 Select this if you are using Atmel's AT91SAM9261-EK Evaluation Kit.
313 <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=3820>
314
315 endif
316
317 # ----------------------------------------------------------
318
319 if ARCH_AT91SAM9G10
320
321 comment "AT91SAM9G10 Board Type"
322
323 config MACH_AT91SAM9G10EK
324 bool "Atmel AT91SAM9G10-EK Evaluation Kit"
325 select HAVE_AT91_DATAFLASH_CARD
326 help
327 Select this if you are using Atmel's AT91SAM9G10-EK Evaluation Kit.
328 <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=4588>
329
330 endif
331
332 # ----------------------------------------------------------
333
334 if ARCH_AT91SAM9263
335
336 comment "AT91SAM9263 Board Type"
337
338 config MACH_AT91SAM9263EK
339 bool "Atmel AT91SAM9263-EK Evaluation Kit"
340 select HAVE_AT91_DATAFLASH_CARD
341 help
342 Select this if you are using Atmel's AT91SAM9263-EK Evaluation Kit.
343 <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=4057>
344
345 config MACH_USB_A9263
346 bool "CALAO USB-A9263"
347 help
348 Select this if you are using a Calao Systems USB-A9263.
349 <http://www.calao-systems.com>
350
351 config MACH_NEOCORE926
352 bool "Adeneo NEOCORE926"
353 select HAVE_AT91_DATAFLASH_CARD
354 help
355 Select this if you are using the Adeneo Neocore 926 board.
356
357 endif
358
359 # ----------------------------------------------------------
360
361 if ARCH_AT91SAM9RL
362
363 comment "AT91SAM9RL Board Type"
364
365 config MACH_AT91SAM9RLEK
366 bool "Atmel AT91SAM9RL-EK Evaluation Kit"
367 help
368 Select this if you are using Atmel's AT91SAM9RL-EK Evaluation Kit.
369
370 endif
371
372 # ----------------------------------------------------------
373
374 if ARCH_AT91SAM9G20
375
376 comment "AT91SAM9G20 Board Type"
377
378 config MACH_AT91SAM9G20EK
379 bool "Atmel AT91SAM9G20-EK Evaluation Kit"
380 select HAVE_AT91_DATAFLASH_CARD
381 help
382 Select this if you are using Atmel's AT91SAM9G20-EK Evaluation Kit
383 that embeds only one SD/MMC slot.
384
385 config MACH_AT91SAM9G20EK_2MMC
386 depends on MACH_AT91SAM9G20EK
387 bool "Atmel AT91SAM9G20-EK Evaluation Kit with 2 SD/MMC Slots"
388 help
389 Select this if you are using an Atmel AT91SAM9G20-EK Evaluation Kit
390 with 2 SD/MMC Slots. This is the case for AT91SAM9G20-EK rev. C and
391 onwards.
392 <http://www.atmel.com/tools/SAM9G20-EK.aspx>
393
394 config MACH_CPU9G20
395 bool "Eukrea CPU9G20 board"
396 help
397 Select this if you are using a Eukrea Electromatique's
398 CPU9G20 Board <http://www.eukrea.com/>
399
400 config MACH_ACMENETUSFOXG20
401 bool "Acme Systems srl FOX Board G20"
402 help
403 Select this if you are using Acme Systems
404 FOX Board G20 <http://www.acmesystems.it>
405
406 config MACH_PORTUXG20
407 bool "taskit PortuxG20"
408 help
409 Select this if you are using taskit's PortuxG20.
410 <http://www.taskit.de/en/>
411
412 config MACH_STAMP9G20
413 bool "taskit Stamp9G20 CPU module"
414 help
415 Select this if you are using taskit's Stamp9G20 CPU module on its
416 evaluation board.
417 <http://www.taskit.de/en/>
418
419 config MACH_PCONTROL_G20
420 bool "PControl G20 CPU module"
421 help
422 Select this if you are using taskit's Stamp9G20 CPU module on this
423 carrier board, beeing the decentralized unit of a building automation
424 system; featuring nvram, eth-switch, iso-rs485, display, io
425
426 config MACH_GSIA18S
427 bool "GS_IA18_S board"
428 help
429 This enables support for the GS_IA18_S board
430 produced by GeoSIG Ltd company. This is an internet accelerograph.
431 <http://www.geosig.com>
432
433 config MACH_USB_A9G20
434 bool "CALAO USB-A9G20"
435 depends on ARCH_AT91SAM9G20
436 help
437 Select this if you are using a Calao Systems USB-A9G20.
438 <http://www.calao-systems.com>
439
440 endif
441
442 if (ARCH_AT91SAM9260 || ARCH_AT91SAM9G20)
443 comment "AT91SAM9260/AT91SAM9G20 boards"
444
445 config MACH_SNAPPER_9260
446 bool "Bluewater Systems Snapper 9260/9G20 module"
447 help
448 Select this if you are using the Bluewater Systems Snapper 9260 or
449 Snapper 9G20 modules.
450 <http://www.bluewatersys.com/>
451 endif
452
453 # ----------------------------------------------------------
454
455 if ARCH_AT91SAM9G45
456
457 comment "AT91SAM9G45 Board Type"
458
459 config MACH_AT91SAM9M10G45EK
460 bool "Atmel AT91SAM9M10G45-EK Evaluation Kits"
461 help
462 Select this if you are using Atmel's AT91SAM9M10G45-EK Evaluation Kit.
463 Those boards can be populated with any SoC of AT91SAM9G45 or AT91SAM9M10
464 families: AT91SAM9G45, AT91SAM9G46, AT91SAM9M10 and AT91SAM9M11.
465 <http://www.atmel.com/tools/SAM9M10-G45-EK.aspx>
466
467 endif
468
469 # ----------------------------------------------------------
470
471 if ARCH_AT91X40
472
473 comment "AT91X40 Board Type"
474
475 config MACH_AT91EB01
476 bool "Atmel AT91EB01 Evaluation Kit"
477 help
478 Select this if you are using Atmel's AT91EB01 Evaluation Kit.
479 It is also a popular target for simulators such as GDB's
480 ARM simulator (commonly known as the ARMulator) and the
481 Skyeye simulator.
482
483 endif
484
485 # ----------------------------------------------------------
486
487 comment "Generic Board Type"
488
489 config MACH_AT91SAM_DT
490 bool "Atmel AT91SAM Evaluation Kits with device-tree support"
491 select USE_OF
492 help
493 Select this if you want to experiment device-tree with
494 an Atmel Evaluation Kit.
495
496 # ----------------------------------------------------------
497
498 comment "AT91 Board Options"
499
500 config MTD_AT91_DATAFLASH_CARD
501 bool "Enable DataFlash Card support"
502 depends on HAVE_AT91_DATAFLASH_CARD
503 help
504 Enable support for the DataFlash card.
505
506 # ----------------------------------------------------------
507
508 comment "AT91 Feature Selections"
509
510 config AT91_PROGRAMMABLE_CLOCKS
511 bool "Programmable Clocks"
512 help
513 Select this if you need to program one or more of the PCK0..PCK3
514 programmable clock outputs.
515
516 config AT91_SLOW_CLOCK
517 bool "Suspend-to-RAM disables main oscillator"
518 depends on SUSPEND
519 help
520 Select this if you want Suspend-to-RAM to save the most power
521 possible (without powering off the CPU) by disabling the PLLs
522 and main oscillator so that only the 32 KiHz clock is available.
523
524 When only that slow-clock is available, some peripherals lose
525 functionality. Many can't issue wakeup events unless faster
526 clocks are available. Some lose their operating state and
527 need to be completely re-initialized.
528
529 config AT91_TIMER_HZ
530 int "Kernel HZ (jiffies per second)"
531 range 32 1024
532 depends on ARCH_AT91
533 default "128" if ARCH_AT91RM9200
534 default "100"
535 help
536 On AT91rm9200 chips where you're using a system clock derived
537 from the 32768 Hz hardware clock, this tick rate should divide
538 it exactly: use a power-of-two value, such as 128 or 256, to
539 reduce timing errors caused by rounding.
540
541 On AT91sam926x chips, or otherwise when using a higher precision
542 system clock (of at least several MHz), rounding is less of a
543 problem so it can be safer to use a decimal values like 100.
544
545 endmenu
546
547 endif
This page took 0.044282 seconds and 5 git commands to generate.