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