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