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