Merge branch 'for-linus' of git://www.jni.nu/cris
[pandora-kernel.git] / arch / arm / mach-at91 / Kconfig
1 if ARCH_AT91
2
3 menu "Atmel AT91 System-on-Chip"
4
5 choice
6         prompt "Atmel AT91 Processor"
7
8 config ARCH_AT91RM9200
9         bool "AT91RM9200"
10         select GENERIC_TIME
11         select GENERIC_CLOCKEVENTS
12
13 config ARCH_AT91SAM9260
14         bool "AT91SAM9260 or AT91SAM9XE"
15         select GENERIC_TIME
16         select GENERIC_CLOCKEVENTS
17
18 config ARCH_AT91SAM9261
19         bool "AT91SAM9261"
20         select GENERIC_TIME
21         select GENERIC_CLOCKEVENTS
22
23 config ARCH_AT91SAM9263
24         bool "AT91SAM9263"
25         select GENERIC_TIME
26         select GENERIC_CLOCKEVENTS
27
28 config ARCH_AT91SAM9RL
29         bool "AT91SAM9RL"
30         select GENERIC_TIME
31         select GENERIC_CLOCKEVENTS
32
33 config ARCH_AT91SAM9G20
34         bool "AT91SAM9G20"
35         select GENERIC_TIME
36         select GENERIC_CLOCKEVENTS
37
38 config ARCH_AT91CAP9
39         bool "AT91CAP9"
40         select GENERIC_TIME
41         select GENERIC_CLOCKEVENTS
42
43 config ARCH_AT91X40
44         bool "AT91x40"
45
46 endchoice
47
48 config AT91_PMC_UNIT
49         bool
50         default !ARCH_AT91X40
51
52 # ----------------------------------------------------------
53
54 if ARCH_AT91RM9200
55
56 comment "AT91RM9200 Board Type"
57
58 config MACH_ONEARM
59         bool "Ajeco 1ARM Single Board Computer"
60         depends on ARCH_AT91RM9200
61         help
62           Select this if you are using Ajeco's 1ARM Single Board Computer.
63           <http://www.ajeco.fi/products.htm>
64
65 config ARCH_AT91RM9200DK
66         bool "Atmel AT91RM9200-DK Development board"
67         depends on ARCH_AT91RM9200
68         help
69           Select this if you are using Atmel's AT91RM9200-DK Development board.
70           (Discontinued)
71
72 config MACH_AT91RM9200EK
73         bool "Atmel AT91RM9200-EK Evaluation Kit"
74         depends on ARCH_AT91RM9200
75         help
76           Select this if you are using Atmel's AT91RM9200-EK Evaluation Kit.
77           <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=3507>
78
79 config MACH_CSB337
80         bool "Cogent CSB337"
81         depends on ARCH_AT91RM9200
82         help
83           Select this if you are using Cogent's CSB337 board.
84           <http://www.cogcomp.com/csb_csb337.htm>
85
86 config MACH_CSB637
87         bool "Cogent CSB637"
88         depends on ARCH_AT91RM9200
89         help
90           Select this if you are using Cogent's CSB637 board.
91           <http://www.cogcomp.com/csb_csb637.htm>
92
93 config MACH_CARMEVA
94         bool "Conitec ARM&EVA"
95         depends on ARCH_AT91RM9200
96         help
97           Select this if you are using Conitec's AT91RM9200-MCU-Module.
98           <http://www.conitec.net/english/linuxboard.htm>
99
100 config MACH_ATEB9200
101         bool "Embest ATEB9200"
102         depends on ARCH_AT91RM9200
103         help
104           Select this if you are using Embest's ATEB9200 board.
105           <http://www.embedinfo.com/english/product/ATEB9200.asp>
106
107 config MACH_KB9200
108         bool "KwikByte KB920x"
109         depends on ARCH_AT91RM9200
110         help
111           Select this if you are using KwikByte's KB920x board.
112           <http://kwikbyte.com/KB9202_description_new.htm>
113
114 config MACH_PICOTUX2XX
115         bool "picotux 200"
116         depends on ARCH_AT91RM9200
117         help
118           Select this if you are using a picotux 200.
119           <http://www.picotux.com/>
120
121 config MACH_KAFA
122         bool "Sperry-Sun KAFA board"
123         depends on ARCH_AT91RM9200
124         help
125           Select this if you are using Sperry-Sun's KAFA board.
126
127 config MACH_ECBAT91
128         bool "emQbit ECB_AT91 SBC"
129         depends on ARCH_AT91RM9200
130         help
131           Select this if you are using emQbit's ECB_AT91 board.
132           <http://wiki.emqbit.com/free-ecb-at91>
133
134 config MACH_YL9200
135         bool "ucDragon YL-9200"
136         depends on ARCH_AT91RM9200
137         help
138           Select this if you are using the ucDragon YL-9200 board.
139
140 endif
141
142 # ----------------------------------------------------------
143
144 if ARCH_AT91SAM9260
145
146 comment "AT91SAM9260 Variants"
147
148 config ARCH_AT91SAM9260_SAM9XE
149         bool "AT91SAM9XE"
150         depends on ARCH_AT91SAM9260
151         help
152           Select this if you are using Atmel's AT91SAM9XE System-on-Chip.
153           They are basically AT91SAM9260s with various sizes of embedded Flash.
154
155 comment "AT91SAM9260 / AT91SAM9XE Board Type"
156
157 config MACH_AT91SAM9260EK
158         bool "Atmel AT91SAM9260-EK / AT91SAM9XE Evaluation Kit"
159         depends on ARCH_AT91SAM9260
160         help
161           Select this if you are using Atmel's AT91SAM9260-EK or AT91SAM9XE Evaluation Kit
162           <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=3933>
163
164 config MACH_CAM60
165         bool "KwikByte KB9260 (CAM60) board"
166         depends on ARCH_AT91SAM9260
167         help
168           Select this if you are using KwikByte's KB9260 (CAM60) board based on the Atmel AT91SAM9260.
169           <http://www.kwikbyte.com/KB9260.html>
170
171 config MACH_SAM9_L9260
172         bool "Olimex SAM9-L9260 board"
173         depends on ARCH_AT91SAM9260
174         help
175           Select this if you are using Olimex's SAM9-L9260 board based on the Atmel AT91SAM9260.
176           <http://www.olimex.com/dev/sam9-L9260.html>
177
178 config MACH_AFEB9260
179         bool "Custom afeb9260 board v1"
180         depends on ARCH_AT91SAM9260
181         help
182           Select this if you are using custom afeb9260 board based on
183           open hardware design. Select this for revision 1 of the board.
184           <svn://194.85.238.22/home/users/george/svn/arm9eb>
185           <http://groups.google.com/group/arm9fpga-evolution-board>
186
187 config MACH_USB_A9260
188         bool "CALAO USB-A9260"
189         depends on ARCH_AT91SAM9260
190         help
191           Select this if you are using a Calao Systems USB-A9260.
192           <http://www.calao-systems.com>
193
194 config MACH_QIL_A9260
195         bool "CALAO QIL-A9260 board"
196         depends on ARCH_AT91SAM9260
197         help
198           Select this if you are using a Calao Systems QIL-A9260 Board.
199           <http://www.calao-systems.com>
200
201 endif
202
203 # ----------------------------------------------------------
204
205 if ARCH_AT91SAM9261
206
207 comment "AT91SAM9261 Board Type"
208
209 config MACH_AT91SAM9261EK
210         bool "Atmel AT91SAM9261-EK Evaluation Kit"
211         depends on ARCH_AT91SAM9261
212         help
213           Select this if you are using Atmel's AT91SAM9261-EK Evaluation Kit.
214           <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=3820>
215
216 endif
217
218 # ----------------------------------------------------------
219
220 if ARCH_AT91SAM9263
221
222 comment "AT91SAM9263 Board Type"
223
224 config MACH_AT91SAM9263EK
225         bool "Atmel AT91SAM9263-EK Evaluation Kit"
226         depends on ARCH_AT91SAM9263
227         help
228           Select this if you are using Atmel's AT91SAM9263-EK Evaluation Kit.
229           <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=4057>
230
231 config MACH_USB_A9263
232         bool "CALAO USB-A9263"
233         depends on ARCH_AT91SAM9263
234         help
235           Select this if you are using a Calao Systems USB-A9263.
236           <http://www.calao-systems.com>
237
238 endif
239
240 # ----------------------------------------------------------
241
242 if ARCH_AT91SAM9RL
243
244 comment "AT91SAM9RL Board Type"
245
246 config MACH_AT91SAM9RLEK
247         bool "Atmel AT91SAM9RL-EK Evaluation Kit"
248         depends on ARCH_AT91SAM9RL
249         help
250           Select this if you are using Atmel's AT91SAM9RL-EK Evaluation Kit.
251
252 endif
253
254 # ----------------------------------------------------------
255
256 if ARCH_AT91SAM9G20
257
258 comment "AT91SAM9G20 Board Type"
259
260 config MACH_AT91SAM9G20EK
261         bool "Atmel AT91SAM9G20-EK Evaluation Kit"
262         depends on ARCH_AT91SAM9G20
263         help
264           Select this if you are using Atmel's AT91SAM9G20-EK Evaluation Kit.
265
266 endif
267
268 # ----------------------------------------------------------
269
270 if ARCH_AT91CAP9
271
272 comment "AT91CAP9 Board Type"
273
274 config MACH_AT91CAP9ADK
275         bool "Atmel AT91CAP9A-DK Evaluation Kit"
276         depends on ARCH_AT91CAP9
277         help
278           Select this if you are using Atmel's AT91CAP9A-DK Evaluation Kit.
279           <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=4138>
280
281 endif
282
283 # ----------------------------------------------------------
284
285 if ARCH_AT91X40
286
287 comment "AT91X40 Board Type"
288
289 config MACH_AT91EB01
290         bool "Atmel AT91EB01 Evaluation Kit"
291         help
292           Select this if you are using Atmel's AT91EB01 Evaluation Kit.
293           It is also a popular target for simulators such as GDB's
294           ARM simulator (commonly known as the ARMulator) and the
295           Skyeye simulator.
296
297 endif
298
299 # ----------------------------------------------------------
300
301 comment "AT91 Board Options"
302
303 config MTD_AT91_DATAFLASH_CARD
304         bool "Enable DataFlash Card support"
305         depends on (ARCH_AT91RM9200DK || MACH_AT91RM9200EK || MACH_AT91SAM9260EK || MACH_AT91SAM9261EK || MACH_AT91SAM9263EK || MACH_AT91SAM9G20EK || MACH_ECBAT91 || MACH_SAM9_L9260 || MACH_AT91CAP9ADK)
306         help
307           Enable support for the DataFlash card.
308
309 config MTD_NAND_ATMEL_BUSWIDTH_16
310         bool "Enable 16-bit data bus interface to NAND flash"
311         depends on (MACH_AT91SAM9260EK || MACH_AT91SAM9261EK || MACH_AT91SAM9263EK || MACH_AT91SAM9G20EK || MACH_AT91CAP9ADK)
312         help
313           On AT91SAM926x boards both types of NAND flash can be present
314           (8 and 16 bit data bus width).
315
316 # ----------------------------------------------------------
317
318 comment "AT91 Feature Selections"
319
320 config AT91_PROGRAMMABLE_CLOCKS
321         bool "Programmable Clocks"
322         help
323           Select this if you need to program one or more of the PCK0..PCK3
324           programmable clock outputs.
325
326 config AT91_SLOW_CLOCK
327         bool "Suspend-to-RAM disables main oscillator"
328         depends on SUSPEND
329         help
330           Select this if you want Suspend-to-RAM to save the most power
331           possible (without powering off the CPU) by disabling the PLLs
332           and main oscillator so that only the 32 KiHz clock is available.
333
334           When only that slow-clock is available, some peripherals lose
335           functionality.  Many can't issue wakeup events unless faster
336           clocks are available.  Some lose their operating state and
337           need to be completely re-initialized.
338
339 config AT91_TIMER_HZ
340        int "Kernel HZ (jiffies per second)"
341        range 32 1024
342        depends on ARCH_AT91
343        default "128" if ARCH_AT91RM9200
344        default "100"
345        help
346           On AT91rm9200 chips where you're using a system clock derived
347           from the 32768 Hz hardware clock, this tick rate should divide
348           it exactly: use a power-of-two value, such as 128 or 256, to
349           reduce timing errors caused by rounding.
350
351           On AT91sam926x chips, or otherwise when using a higher precision
352           system clock (of at least several MHz), rounding is less of a
353           problem so it can be safer to use a decimal values like 100.
354
355 choice
356         prompt "Select a UART for early kernel messages"
357
358 config AT91_EARLY_DBGU
359         bool "DBGU"
360
361 config AT91_EARLY_USART0
362         bool "USART0"
363
364 config AT91_EARLY_USART1
365         bool "USART1"
366
367 config AT91_EARLY_USART2
368         bool "USART2"
369         depends on ! ARCH_AT91X40
370
371 config AT91_EARLY_USART3
372         bool "USART3"
373         depends on (ARCH_AT91RM9200 || ARCH_AT91SAM9RL || ARCH_AT91SAM9260 || ARCH_AT91SAM9G20)
374
375 config AT91_EARLY_USART4
376         bool "USART4"
377         depends on ARCH_AT91SAM9260 || ARCH_AT91SAM9G20
378
379 config AT91_EARLY_USART5
380         bool "USART5"
381         depends on ARCH_AT91SAM9260 || ARCH_AT91SAM9G20
382
383 endchoice
384
385 endmenu
386
387 endif