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