Merge branch 'core/topology' of git://git.kernel.org/pub/scm/linux/kernel/git/tip...
[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_USB_A9260
179         bool "CALAO USB-A9260"
180         depends on ARCH_AT91SAM9260
181         help
182           Select this if you are using a Calao Systems USB-A9260.
183           <http://www.calao-systems.com>
184
185 config MACH_QIL_A9260
186         bool "CALAO QIL-A9260 board"
187         depends on ARCH_AT91SAM9260
188         help
189           Select this if you are using a Calao Systems QIL-A9260 Board.
190           <http://www.calao-systems.com>
191
192 endif
193
194 # ----------------------------------------------------------
195
196 if ARCH_AT91SAM9261
197
198 comment "AT91SAM9261 Board Type"
199
200 config MACH_AT91SAM9261EK
201         bool "Atmel AT91SAM9261-EK Evaluation Kit"
202         depends on ARCH_AT91SAM9261
203         help
204           Select this if you are using Atmel's AT91SAM9261-EK Evaluation Kit.
205           <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=3820>
206
207 endif
208
209 # ----------------------------------------------------------
210
211 if ARCH_AT91SAM9263
212
213 comment "AT91SAM9263 Board Type"
214
215 config MACH_AT91SAM9263EK
216         bool "Atmel AT91SAM9263-EK Evaluation Kit"
217         depends on ARCH_AT91SAM9263
218         help
219           Select this if you are using Atmel's AT91SAM9263-EK Evaluation Kit.
220           <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=4057>
221
222 config MACH_USB_A9263
223         bool "CALAO USB-A9263"
224         depends on ARCH_AT91SAM9263
225         help
226           Select this if you are using a Calao Systems USB-A9263.
227           <http://www.calao-systems.com>
228
229 endif
230
231 # ----------------------------------------------------------
232
233 if ARCH_AT91SAM9RL
234
235 comment "AT91SAM9RL Board Type"
236
237 config MACH_AT91SAM9RLEK
238         bool "Atmel AT91SAM9RL-EK Evaluation Kit"
239         depends on ARCH_AT91SAM9RL
240         help
241           Select this if you are using Atmel's AT91SAM9RL-EK Evaluation Kit.
242
243 endif
244
245 # ----------------------------------------------------------
246
247 if ARCH_AT91SAM9G20
248
249 comment "AT91SAM9G20 Board Type"
250
251 config MACH_AT91SAM9G20EK
252         bool "Atmel AT91SAM9G20-EK Evaluation Kit"
253         depends on ARCH_AT91SAM9G20
254         help
255           Select this if you are using Atmel's AT91SAM9G20-EK Evaluation Kit.
256
257 endif
258
259 # ----------------------------------------------------------
260
261 if ARCH_AT91CAP9
262
263 comment "AT91CAP9 Board Type"
264
265 config MACH_AT91CAP9ADK
266         bool "Atmel AT91CAP9A-DK Evaluation Kit"
267         depends on ARCH_AT91CAP9
268         help
269           Select this if you are using Atmel's AT91CAP9A-DK Evaluation Kit.
270           <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=4138>
271
272 endif
273
274 # ----------------------------------------------------------
275
276 if ARCH_AT91X40
277
278 comment "AT91X40 Board Type"
279
280 config MACH_AT91EB01
281         bool "Atmel AT91EB01 Evaluation Kit"
282         help
283           Select this if you are using Atmel's AT91EB01 Evaluation Kit.
284           It is also a popular target for simulators such as GDB's
285           ARM simulator (commonly known as the ARMulator) and the
286           Skyeye simulator.
287
288 endif
289
290 # ----------------------------------------------------------
291
292 comment "AT91 Board Options"
293
294 config MTD_AT91_DATAFLASH_CARD
295         bool "Enable DataFlash Card support"
296         depends on (ARCH_AT91RM9200DK || MACH_AT91RM9200EK || MACH_AT91SAM9260EK || MACH_AT91SAM9261EK || MACH_AT91SAM9263EK || MACH_AT91SAM9G20EK || MACH_ECBAT91 || MACH_SAM9_L9260 || MACH_AT91CAP9ADK)
297         help
298           Enable support for the DataFlash card.
299
300 config MTD_NAND_AT91_BUSWIDTH_16
301         bool "Enable 16-bit data bus interface to NAND flash"
302         depends on (MACH_AT91SAM9260EK || MACH_AT91SAM9261EK || MACH_AT91SAM9263EK || MACH_AT91SAM9G20EK || MACH_AT91CAP9ADK)
303         help
304           On AT91SAM926x boards both types of NAND flash can be present
305           (8 and 16 bit data bus width).
306
307 # ----------------------------------------------------------
308
309 comment "AT91 Feature Selections"
310
311 config AT91_PROGRAMMABLE_CLOCKS
312         bool "Programmable Clocks"
313         help
314           Select this if you need to program one or more of the PCK0..PCK3
315           programmable clock outputs.
316
317 config AT91_TIMER_HZ
318        int "Kernel HZ (jiffies per second)"
319        range 32 1024
320        depends on ARCH_AT91
321        default "128" if ARCH_AT91RM9200
322        default "100"
323        help
324           On AT91rm9200 chips where you're using a system clock derived
325           from the 32768 Hz hardware clock, this tick rate should divide
326           it exactly: use a power-of-two value, such as 128 or 256, to
327           reduce timing errors caused by rounding.
328
329           On AT91sam926x chips, or otherwise when using a higher precision
330           system clock (of at least several MHz), rounding is less of a
331           problem so it can be safer to use a decimal values like 100.
332
333 choice
334         prompt "Select a UART for early kernel messages"
335
336 config AT91_EARLY_DBGU
337         bool "DBGU"
338
339 config AT91_EARLY_USART0
340         bool "USART0"
341
342 config AT91_EARLY_USART1
343         bool "USART1"
344
345 config AT91_EARLY_USART2
346         bool "USART2"
347         depends on ! ARCH_AT91X40
348
349 config AT91_EARLY_USART3
350         bool "USART3"
351         depends on (ARCH_AT91RM9200 || ARCH_AT91SAM9RL || ARCH_AT91SAM9260 || ARCH_AT91SAM9G20)
352
353 config AT91_EARLY_USART4
354         bool "USART4"
355         depends on ARCH_AT91SAM9260 || ARCH_AT91SAM9G20
356
357 config AT91_EARLY_USART5
358         bool "USART5"
359         depends on ARCH_AT91SAM9260 || ARCH_AT91SAM9G20
360
361 endchoice
362
363 endmenu
364
365 endif