Merge git://git.infradead.org/battery-2.6
[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 endif
130
131 # ----------------------------------------------------------
132
133 if ARCH_AT91SAM9260
134
135 comment "AT91SAM9260 Variants"
136
137 config ARCH_AT91SAM9260_SAM9XE
138         bool "AT91SAM9XE"
139         depends on ARCH_AT91SAM9260
140         help
141           Select this if you are using Atmel's AT91SAM9XE System-on-Chip.
142           They are basically AT91SAM9260s with various sizes of embedded Flash.
143
144 comment "AT91SAM9260 / AT91SAM9XE Board Type"
145
146 config MACH_AT91SAM9260EK
147         bool "Atmel AT91SAM9260-EK / AT91SAM9XE Evaluation Kit"
148         depends on ARCH_AT91SAM9260
149         help
150           Select this if you are using Atmel's AT91SAM9260-EK or AT91SAM9XE Evaluation Kit
151           <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=3933>
152
153 config MACH_CAM60
154         bool "KwikByte KB9260 (CAM60) board"
155         depends on ARCH_AT91SAM9260
156         help
157           Select this if you are using KwikByte's KB9260 (CAM60) board based on the Atmel AT91SAM9260.
158           <http://www.kwikbyte.com/KB9260.html>
159
160 config MACH_SAM9_L9260
161         bool "Olimex SAM9-L9260 board"
162         depends on ARCH_AT91SAM9260
163         help
164           Select this if you are using Olimex's SAM9-L9260 board based on the Atmel AT91SAM9260.
165           <http://www.olimex.com/dev/sam9-L9260.html>
166
167 endif
168
169 # ----------------------------------------------------------
170
171 if ARCH_AT91SAM9261
172
173 comment "AT91SAM9261 Board Type"
174
175 config MACH_AT91SAM9261EK
176         bool "Atmel AT91SAM9261-EK Evaluation Kit"
177         depends on ARCH_AT91SAM9261
178         help
179           Select this if you are using Atmel's AT91SAM9261-EK Evaluation Kit.
180           <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=3820>
181
182 endif
183
184 # ----------------------------------------------------------
185
186 if ARCH_AT91SAM9263
187
188 comment "AT91SAM9263 Board Type"
189
190 config MACH_AT91SAM9263EK
191         bool "Atmel AT91SAM9263-EK Evaluation Kit"
192         depends on ARCH_AT91SAM9263
193         help
194           Select this if you are using Atmel's AT91SAM9263-EK Evaluation Kit.
195           <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=4057>
196
197 endif
198
199 # ----------------------------------------------------------
200
201 if ARCH_AT91SAM9RL
202
203 comment "AT91SAM9RL Board Type"
204
205 config MACH_AT91SAM9RLEK
206         bool "Atmel AT91SAM9RL-EK Evaluation Kit"
207         depends on ARCH_AT91SAM9RL
208         help
209           Select this if you are using Atmel's AT91SAM9RL-EK Evaluation Kit.
210
211 endif
212
213 # ----------------------------------------------------------
214
215 if ARCH_AT91CAP9
216
217 comment "AT91CAP9 Board Type"
218
219 config MACH_AT91CAP9ADK
220         bool "Atmel AT91CAP9A-DK Evaluation Kit"
221         depends on ARCH_AT91CAP9
222         help
223           Select this if you are using Atmel's AT91CAP9A-DK Evaluation Kit.
224           <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=4138>
225
226 endif
227
228 # ----------------------------------------------------------
229
230 if ARCH_AT91X40
231
232 comment "AT91X40 Board Type"
233
234 config MACH_AT91EB01
235         bool "Atmel AT91EB01 Evaluation Kit"
236         help
237           Select this if you are using Atmel's AT91EB01 Evaluation Kit.
238           It is also a popular target for simulators such as GDB's
239           ARM simulator (commonly known as the ARMulator) and the
240           Skyeye simulator.
241
242 endif
243
244 # ----------------------------------------------------------
245
246 comment "AT91 Board Options"
247
248 config MTD_AT91_DATAFLASH_CARD
249         bool "Enable DataFlash Card support"
250         depends on (ARCH_AT91RM9200DK || MACH_AT91RM9200EK || MACH_AT91SAM9260EK || MACH_AT91SAM9261EK || MACH_AT91SAM9263EK || MACH_AT91CAP9ADK || MACH_SAM9_L9260 || MACH_ECBAT91)
251         help
252           Enable support for the DataFlash card.
253
254 config MTD_NAND_AT91_BUSWIDTH_16
255         bool "Enable 16-bit data bus interface to NAND flash"
256         depends on (MACH_AT91SAM9260EK || MACH_AT91SAM9261EK || MACH_AT91SAM9263EK || MACH_AT91CAP9ADK)
257         help
258           On AT91SAM926x boards both types of NAND flash can be present
259           (8 and 16 bit data bus width).
260
261 # ----------------------------------------------------------
262
263 comment "AT91 Feature Selections"
264
265 config AT91_PROGRAMMABLE_CLOCKS
266         bool "Programmable Clocks"
267         help
268           Select this if you need to program one or more of the PCK0..PCK3
269           programmable clock outputs.
270
271 config AT91_TIMER_HZ
272        int "Kernel HZ (jiffies per second)"
273        range 32 1024
274        depends on ARCH_AT91
275        default "128" if ARCH_AT91RM9200
276        default "100"
277        help
278           On AT91rm9200 chips where you're using a system clock derived
279           from the 32768 Hz hardware clock, this tick rate should divide
280           it exactly: use a power-of-two value, such as 128 or 256, to
281           reduce timing errors caused by rounding.
282
283           On AT91sam926x chips, or otherwise when using a higher precision
284           system clock (of at least several MHz), rounding is less of a
285           problem so it can be safer to use a decimal values like 100.
286
287 choice
288         prompt "Select a UART for early kernel messages"
289
290 config AT91_EARLY_DBGU
291         bool "DBGU"
292
293 config AT91_EARLY_USART0
294         bool "USART0"
295
296 config AT91_EARLY_USART1
297         bool "USART1"
298
299 config AT91_EARLY_USART2
300         bool "USART2"
301         depends on ! ARCH_AT91X40
302
303 config AT91_EARLY_USART3
304         bool "USART3"
305         depends on (ARCH_AT91RM9200 || ARCH_AT91SAM9RL || ARCH_AT91SAM9260)
306
307 config AT91_EARLY_USART4
308         bool "USART4"
309         depends on ARCH_AT91SAM9260
310
311 config AT91_EARLY_USART5
312         bool "USART5"
313         depends on ARCH_AT91SAM9260
314
315 endchoice
316
317 endmenu
318
319 endif