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