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