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