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