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