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