blob: 95dc71aaa6687f39289a6c147682e1aab19a340d [file] [log] [blame]
Andrew Victor8fc5ffa2006-06-29 16:06:33 +01001if ARCH_AT91
SAN People73a59c12006-01-09 17:05:41 +00002
Andrew Victor8fc5ffa2006-06-29 16:06:33 +01003menu "Atmel AT91 System-on-Chip"
4
Andrew Victor05043d02006-12-01 11:51:19 +01005choice
6 prompt "Atmel AT91 Processor"
Andrew Victor8fc5ffa2006-06-29 16:06:33 +01007
8config ARCH_AT91RM9200
9 bool "AT91RM9200"
Russell Kingc7508152008-10-26 10:55:14 +000010 select CPU_ARM920T
David Brownell5e802df2007-07-31 01:41:26 +010011 select GENERIC_TIME
12 select GENERIC_CLOCKEVENTS
Andrew Victor8fc5ffa2006-06-29 16:06:33 +010013
14config ARCH_AT91SAM9260
Andrew Victorf7eee892007-02-15 08:17:38 +010015 bool "AT91SAM9260 or AT91SAM9XE"
Russell Kingc7508152008-10-26 10:55:14 +000016 select CPU_ARM926T
Andrew Victorad48ce72008-04-16 20:43:49 +010017 select GENERIC_TIME
18 select GENERIC_CLOCKEVENTS
Andrew Victor8fc5ffa2006-06-29 16:06:33 +010019
20config ARCH_AT91SAM9261
21 bool "AT91SAM9261"
Russell Kingc7508152008-10-26 10:55:14 +000022 select CPU_ARM926T
Andrew Victorad48ce72008-04-16 20:43:49 +010023 select GENERIC_TIME
24 select GENERIC_CLOCKEVENTS
Andrew Victor8fc5ffa2006-06-29 16:06:33 +010025
Andrew Victorb2c65612007-02-08 09:42:40 +010026config ARCH_AT91SAM9263
27 bool "AT91SAM9263"
Russell Kingc7508152008-10-26 10:55:14 +000028 select CPU_ARM926T
Andrew Victorad48ce72008-04-16 20:43:49 +010029 select GENERIC_TIME
30 select GENERIC_CLOCKEVENTS
Andrew Victorb2c65612007-02-08 09:42:40 +010031
Andrew Victor877d7722007-05-11 20:49:56 +010032config ARCH_AT91SAM9RL
33 bool "AT91SAM9RL"
Russell Kingc7508152008-10-26 10:55:14 +000034 select CPU_ARM926T
Andrew Victorad48ce72008-04-16 20:43:49 +010035 select GENERIC_TIME
36 select GENERIC_CLOCKEVENTS
Andrew Victor877d7722007-05-11 20:49:56 +010037
sedji gaouaou61352662008-07-10 10:15:35 +010038config ARCH_AT91SAM9G20
39 bool "AT91SAM9G20"
Russell Kingc7508152008-10-26 10:55:14 +000040 select CPU_ARM926T
sedji gaouaou61352662008-07-10 10:15:35 +010041 select GENERIC_TIME
42 select GENERIC_CLOCKEVENTS
43
Andrew Victor2b3b3512008-01-24 15:10:39 +010044config ARCH_AT91CAP9
45 bool "AT91CAP9"
Russell Kingc7508152008-10-26 10:55:14 +000046 select CPU_ARM926T
Andrew Victorad48ce72008-04-16 20:43:49 +010047 select GENERIC_TIME
48 select GENERIC_CLOCKEVENTS
Andrew Victor2b3b3512008-01-24 15:10:39 +010049
Greg Ungerer9f1ccef2007-07-30 02:39:21 +010050config ARCH_AT91X40
51 bool "AT91x40"
52
Andrew Victor05043d02006-12-01 11:51:19 +010053endchoice
54
Greg Ungerer9f1ccef2007-07-30 02:39:21 +010055config AT91_PMC_UNIT
56 bool
57 default !ARCH_AT91X40
58
Andrew Victor8fc5ffa2006-06-29 16:06:33 +010059# ----------------------------------------------------------
60
61if ARCH_AT91RM9200
SAN People73a59c12006-01-09 17:05:41 +000062
63comment "AT91RM9200 Board Type"
64
Lennert Buytenhekb184a4c2006-06-26 17:48:29 +010065config MACH_ONEARM
66 bool "Ajeco 1ARM Single Board Computer"
67 depends on ARCH_AT91RM9200
68 help
Andrew Victor8fc5ffa2006-06-29 16:06:33 +010069 Select this if you are using Ajeco's 1ARM Single Board Computer.
70 <http://www.ajeco.fi/products.htm>
Lennert Buytenhekb184a4c2006-06-26 17:48:29 +010071
SAN People73a59c12006-01-09 17:05:41 +000072config ARCH_AT91RM9200DK
73 bool "Atmel AT91RM9200-DK Development board"
74 depends on ARCH_AT91RM9200
75 help
Andrew Victor8fc5ffa2006-06-29 16:06:33 +010076 Select this if you are using Atmel's AT91RM9200-DK Development board.
77 (Discontinued)
78
SAN People73a59c12006-01-09 17:05:41 +000079config MACH_AT91RM9200EK
80 bool "Atmel AT91RM9200-EK Evaluation Kit"
81 depends on ARCH_AT91RM9200
82 help
Andrew Victor8fc5ffa2006-06-29 16:06:33 +010083 Select this if you are using Atmel's AT91RM9200-EK Evaluation Kit.
84 <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=3507>
SAN People73a59c12006-01-09 17:05:41 +000085
86config MACH_CSB337
Andrew Victor8fc5ffa2006-06-29 16:06:33 +010087 bool "Cogent CSB337"
SAN People73a59c12006-01-09 17:05:41 +000088 depends on ARCH_AT91RM9200
89 help
Andrew Victor8fc5ffa2006-06-29 16:06:33 +010090 Select this if you are using Cogent's CSB337 board.
91 <http://www.cogcomp.com/csb_csb337.htm>
SAN People73a59c12006-01-09 17:05:41 +000092
93config MACH_CSB637
Andrew Victor8fc5ffa2006-06-29 16:06:33 +010094 bool "Cogent CSB637"
SAN People73a59c12006-01-09 17:05:41 +000095 depends on ARCH_AT91RM9200
96 help
Andrew Victor8fc5ffa2006-06-29 16:06:33 +010097 Select this if you are using Cogent's CSB637 board.
98 <http://www.cogcomp.com/csb_csb637.htm>
SAN People73a59c12006-01-09 17:05:41 +000099
100config MACH_CARMEVA
Andrew Victor8fc5ffa2006-06-29 16:06:33 +0100101 bool "Conitec ARM&EVA"
SAN People73a59c12006-01-09 17:05:41 +0000102 depends on ARCH_AT91RM9200
103 help
Andrew Victor8fc5ffa2006-06-29 16:06:33 +0100104 Select this if you are using Conitec's AT91RM9200-MCU-Module.
105 <http://www.conitec.net/english/linuxboard.htm>
SAN People73a59c12006-01-09 17:05:41 +0000106
Andrew Victor6902f522006-06-20 19:30:18 +0100107config MACH_ATEB9200
Andrew Victor8fc5ffa2006-06-29 16:06:33 +0100108 bool "Embest ATEB9200"
Andrew Victor6902f522006-06-20 19:30:18 +0100109 depends on ARCH_AT91RM9200
110 help
Andrew Victor8fc5ffa2006-06-29 16:06:33 +0100111 Select this if you are using Embest's ATEB9200 board.
112 <http://www.embedinfo.com/english/product/ATEB9200.asp>
113
114config MACH_KB9200
115 bool "KwikByte KB920x"
116 depends on ARCH_AT91RM9200
117 help
118 Select this if you are using KwikByte's KB920x board.
119 <http://kwikbyte.com/KB9202_description_new.htm>
Andrew Victor6902f522006-06-20 19:30:18 +0100120
Simon Richter5d01f132007-04-02 14:06:29 +0100121config MACH_PICOTUX2XX
122 bool "picotux 200"
123 depends on ARCH_AT91RM9200
124 help
125 Select this if you are using a picotux 200.
126 <http://www.picotux.com/>
127
Andrew Victor6902f522006-06-20 19:30:18 +0100128config MACH_KAFA
129 bool "Sperry-Sun KAFA board"
130 depends on ARCH_AT91RM9200
131 help
Andrew Victor8fc5ffa2006-06-29 16:06:33 +0100132 Select this if you are using Sperry-Sun's KAFA board.
133
Andrew Victor2f036ac2008-04-15 21:10:11 +0100134config MACH_ECBAT91
135 bool "emQbit ECB_AT91 SBC"
136 depends on ARCH_AT91RM9200
137 help
138 Select this if you are using emQbit's ECB_AT91 board.
139 <http://wiki.emqbit.com/free-ecb-at91>
140
Andrew Victore3ba22d2008-05-24 17:06:45 +0100141config MACH_YL9200
142 bool "ucDragon YL-9200"
143 depends on ARCH_AT91RM9200
144 help
145 Select this if you are using the ucDragon YL-9200 board.
146
Andrew Victor8fc5ffa2006-06-29 16:06:33 +0100147endif
148
149# ----------------------------------------------------------
150
151if ARCH_AT91SAM9260
152
Andrew Victorf7eee892007-02-15 08:17:38 +0100153comment "AT91SAM9260 Variants"
Andrew Victor8fc5ffa2006-06-29 16:06:33 +0100154
Andrew Victorf7eee892007-02-15 08:17:38 +0100155config ARCH_AT91SAM9260_SAM9XE
156 bool "AT91SAM9XE"
Andrew Victor58a0cd72006-12-01 14:51:13 +0100157 depends on ARCH_AT91SAM9260
158 help
Andrew Victorf7eee892007-02-15 08:17:38 +0100159 Select this if you are using Atmel's AT91SAM9XE System-on-Chip.
Matt LaPlantea982ac02007-05-09 07:35:06 +0200160 They are basically AT91SAM9260s with various sizes of embedded Flash.
Andrew Victorf7eee892007-02-15 08:17:38 +0100161
162comment "AT91SAM9260 / AT91SAM9XE Board Type"
163
164config MACH_AT91SAM9260EK
165 bool "Atmel AT91SAM9260-EK / AT91SAM9XE Evaluation Kit"
166 depends on ARCH_AT91SAM9260
167 help
168 Select this if you are using Atmel's AT91SAM9260-EK or AT91SAM9XE Evaluation Kit
Andrew Victor58a0cd72006-12-01 14:51:13 +0100169 <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=3933>
170
Andrew Victor35131fb2008-04-15 21:05:03 +0100171config MACH_CAM60
172 bool "KwikByte KB9260 (CAM60) board"
173 depends on ARCH_AT91SAM9260
174 help
175 Select this if you are using KwikByte's KB9260 (CAM60) board based on the Atmel AT91SAM9260.
176 <http://www.kwikbyte.com/KB9260.html>
177
Andrew Victor66dbfc62008-04-15 21:07:08 +0100178config MACH_SAM9_L9260
179 bool "Olimex SAM9-L9260 board"
180 depends on ARCH_AT91SAM9260
181 help
182 Select this if you are using Olimex's SAM9-L9260 board based on the Atmel AT91SAM9260.
183 <http://www.olimex.com/dev/sam9-L9260.html>
184
Sergey Lapin9c784f92008-08-03 02:29:48 +0100185config MACH_AFEB9260
186 bool "Custom afeb9260 board v1"
187 depends on ARCH_AT91SAM9260
188 help
189 Select this if you are using custom afeb9260 board based on
190 open hardware design. Select this for revision 1 of the board.
191 <svn://194.85.238.22/home/users/george/svn/arm9eb>
192 <http://groups.google.com/group/arm9fpga-evolution-board>
193
Andrew Victorca0a7892008-05-24 17:47:04 +0100194config MACH_USB_A9260
195 bool "CALAO USB-A9260"
196 depends on ARCH_AT91SAM9260
197 help
198 Select this if you are using a Calao Systems USB-A9260.
199 <http://www.calao-systems.com>
200
201config MACH_QIL_A9260
202 bool "CALAO QIL-A9260 board"
203 depends on ARCH_AT91SAM9260
204 help
205 Select this if you are using a Calao Systems QIL-A9260 Board.
206 <http://www.calao-systems.com>
207
Andrew Victor8fc5ffa2006-06-29 16:06:33 +0100208endif
209
210# ----------------------------------------------------------
211
212if ARCH_AT91SAM9261
213
214comment "AT91SAM9261 Board Type"
215
Andrew Victor58a0cd72006-12-01 14:51:13 +0100216config MACH_AT91SAM9261EK
217 bool "Atmel AT91SAM9261-EK Evaluation Kit"
218 depends on ARCH_AT91SAM9261
219 help
220 Select this if you are using Atmel's AT91SAM9261-EK Evaluation Kit.
221 <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=3820>
222
Andrew Victor8fc5ffa2006-06-29 16:06:33 +0100223endif
Andrew Victor6902f522006-06-20 19:30:18 +0100224
Andrew Victor58a0cd72006-12-01 14:51:13 +0100225# ----------------------------------------------------------
226
Andrew Victore6d92e62007-02-08 10:22:16 +0100227if ARCH_AT91SAM9263
228
229comment "AT91SAM9263 Board Type"
230
231config MACH_AT91SAM9263EK
232 bool "Atmel AT91SAM9263-EK Evaluation Kit"
233 depends on ARCH_AT91SAM9263
234 help
235 Select this if you are using Atmel's AT91SAM9263-EK Evaluation Kit.
236 <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=4057>
237
Andrew Victorca0a7892008-05-24 17:47:04 +0100238config MACH_USB_A9263
239 bool "CALAO USB-A9263"
240 depends on ARCH_AT91SAM9263
241 help
242 Select this if you are using a Calao Systems USB-A9263.
243 <http://www.calao-systems.com>
244
Andrew Victore6d92e62007-02-08 10:22:16 +0100245endif
246
247# ----------------------------------------------------------
248
Andrew Victorc42dcb32007-05-11 19:24:18 +0100249if ARCH_AT91SAM9RL
250
251comment "AT91SAM9RL Board Type"
252
253config MACH_AT91SAM9RLEK
254 bool "Atmel AT91SAM9RL-EK Evaluation Kit"
255 depends on ARCH_AT91SAM9RL
256 help
257 Select this if you are using Atmel's AT91SAM9RL-EK Evaluation Kit.
258
259endif
260
261# ----------------------------------------------------------
262
sedji gaouaou61352662008-07-10 10:15:35 +0100263if ARCH_AT91SAM9G20
264
265comment "AT91SAM9G20 Board Type"
266
267config MACH_AT91SAM9G20EK
268 bool "Atmel AT91SAM9G20-EK Evaluation Kit"
269 depends on ARCH_AT91SAM9G20
270 help
271 Select this if you are using Atmel's AT91SAM9G20-EK Evaluation Kit.
272
273endif
274
275# ----------------------------------------------------------
276
Andrew Victor86640ca2008-01-24 15:16:41 +0100277if ARCH_AT91CAP9
278
279comment "AT91CAP9 Board Type"
280
281config MACH_AT91CAP9ADK
282 bool "Atmel AT91CAP9A-DK Evaluation Kit"
283 depends on ARCH_AT91CAP9
284 help
285 Select this if you are using Atmel's AT91CAP9A-DK Evaluation Kit.
286 <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=4138>
287
288endif
289
290# ----------------------------------------------------------
291
Greg Ungerer9f1ccef2007-07-30 02:39:21 +0100292if ARCH_AT91X40
293
294comment "AT91X40 Board Type"
295
296config MACH_AT91EB01
297 bool "Atmel AT91EB01 Evaluation Kit"
298 help
299 Select this if you are using Atmel's AT91EB01 Evaluation Kit.
300 It is also a popular target for simulators such as GDB's
301 ARM simulator (commonly known as the ARMulator) and the
302 Skyeye simulator.
303
304endif
305
306# ----------------------------------------------------------
307
Andrew Victor58a0cd72006-12-01 14:51:13 +0100308comment "AT91 Board Options"
309
310config MTD_AT91_DATAFLASH_CARD
311 bool "Enable DataFlash Card support"
sedji gaouaou61352662008-07-10 10:15:35 +0100312 depends on (ARCH_AT91RM9200DK || MACH_AT91RM9200EK || MACH_AT91SAM9260EK || MACH_AT91SAM9261EK || MACH_AT91SAM9263EK || MACH_AT91SAM9G20EK || MACH_ECBAT91 || MACH_SAM9_L9260 || MACH_AT91CAP9ADK)
Andrew Victor58a0cd72006-12-01 14:51:13 +0100313 help
314 Enable support for the DataFlash card.
315
Pieter du Preezf6ed6f72008-08-01 10:06:40 +0100316config MTD_NAND_ATMEL_BUSWIDTH_16
Andrew Victor58a0cd72006-12-01 14:51:13 +0100317 bool "Enable 16-bit data bus interface to NAND flash"
sedji gaouaou61352662008-07-10 10:15:35 +0100318 depends on (MACH_AT91SAM9260EK || MACH_AT91SAM9261EK || MACH_AT91SAM9263EK || MACH_AT91SAM9G20EK || MACH_AT91CAP9ADK)
Andrew Victor58a0cd72006-12-01 14:51:13 +0100319 help
320 On AT91SAM926x boards both types of NAND flash can be present
321 (8 and 16 bit data bus width).
SAN People73a59c12006-01-09 17:05:41 +0000322
Andrew Victor8fc5ffa2006-06-29 16:06:33 +0100323# ----------------------------------------------------------
324
325comment "AT91 Feature Selections"
SAN People73a59c12006-01-09 17:05:41 +0000326
327config AT91_PROGRAMMABLE_CLOCKS
328 bool "Programmable Clocks"
329 help
330 Select this if you need to program one or more of the PCK0..PCK3
331 programmable clock outputs.
332
Andrew Victoreaad2db2008-09-21 21:35:18 +0100333config AT91_SLOW_CLOCK
334 bool "Suspend-to-RAM disables main oscillator"
335 depends on SUSPEND
336 help
337 Select this if you want Suspend-to-RAM to save the most power
338 possible (without powering off the CPU) by disabling the PLLs
339 and main oscillator so that only the 32 KiHz clock is available.
340
341 When only that slow-clock is available, some peripherals lose
342 functionality. Many can't issue wakeup events unless faster
343 clocks are available. Some lose their operating state and
344 need to be completely re-initialized.
345
David Brownell5248c652007-11-12 17:59:10 +0100346config AT91_TIMER_HZ
347 int "Kernel HZ (jiffies per second)"
348 range 32 1024
349 depends on ARCH_AT91
350 default "128" if ARCH_AT91RM9200
351 default "100"
352 help
353 On AT91rm9200 chips where you're using a system clock derived
354 from the 32768 Hz hardware clock, this tick rate should divide
355 it exactly: use a power-of-two value, such as 128 or 256, to
356 reduce timing errors caused by rounding.
357
358 On AT91sam926x chips, or otherwise when using a higher precision
359 system clock (of at least several MHz), rounding is less of a
360 problem so it can be safer to use a decimal values like 100.
361
Guennadi Liakhovetskifa3218d2008-01-29 15:43:13 +0100362choice
363 prompt "Select a UART for early kernel messages"
364
365config AT91_EARLY_DBGU
366 bool "DBGU"
367
368config AT91_EARLY_USART0
369 bool "USART0"
370
371config AT91_EARLY_USART1
372 bool "USART1"
373
374config AT91_EARLY_USART2
375 bool "USART2"
376 depends on ! ARCH_AT91X40
377
378config AT91_EARLY_USART3
379 bool "USART3"
sedji gaouaou61352662008-07-10 10:15:35 +0100380 depends on (ARCH_AT91RM9200 || ARCH_AT91SAM9RL || ARCH_AT91SAM9260 || ARCH_AT91SAM9G20)
Guennadi Liakhovetskifa3218d2008-01-29 15:43:13 +0100381
382config AT91_EARLY_USART4
383 bool "USART4"
sedji gaouaou61352662008-07-10 10:15:35 +0100384 depends on ARCH_AT91SAM9260 || ARCH_AT91SAM9G20
Guennadi Liakhovetskifa3218d2008-01-29 15:43:13 +0100385
386config AT91_EARLY_USART5
387 bool "USART5"
sedji gaouaou61352662008-07-10 10:15:35 +0100388 depends on ARCH_AT91SAM9260 || ARCH_AT91SAM9G20
Guennadi Liakhovetskifa3218d2008-01-29 15:43:13 +0100389
390endchoice
391
SAN People73a59c12006-01-09 17:05:41 +0000392endmenu
393
394endif