blob: 26e8bb0174f8fa66cbc307e9dcac59ee80eb3af8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
|
#
# For a description of the syntax of this configuration file,
# see misc/tools/kconfig-language.txt.
#
comment "AT91SAM3/4 Configuration Options"
choice
prompt "AT91SAM3/4 Chip Selection"
default ARCH_CHIP_AT91SAM3U4E
depends on ARCH_CHIP_SAM34
config ARCH_CHIP_AT91SAM3U4E
bool "AT91SAM3U4E"
select ARCH_CORTEXM3
select ARCH_CHIP_SAM3U
config ARCH_CHIP_SAM34_NDMACHANC2C
bool "ATSAM4LC2C"
select ARCH_CORTEXM4
select ARCH_CHIP_SAM4L
config ARCH_CHIP_ATSAM4LC2B
bool "ATSAM4LC2B"
select ARCH_CORTEXM4
select ARCH_CHIP_SAM4L
config ARCH_CHIP_ATSAM4LC2A
bool "ATSAM4LC2A"
select ARCH_CORTEXM4
select ARCH_CHIP_SAM4L
config ARCH_CHIP_ATSAM4LC4C
bool "ATSAM4LC4C"
select ARCH_CORTEXM4
select ARCH_CHIP_SAM4L
config ARCH_CHIP_ATSAM4LC4B
bool "ATSAM4LC4B"
select ARCH_CORTEXM4
select ARCH_CHIP_SAM4L
config ARCH_CHIP_ATSAM4LC4A
bool "ATSAM4LC4A"
select ARCH_CORTEXM4
select ARCH_CHIP_SAM4L
config ARCH_CHIP_ATSAM4LS2C
bool "ATSAM4LS2C"
select ARCH_CORTEXM4
select ARCH_CHIP_SAM4L
config ARCH_CHIP_ATSAM4LS2B
bool "ATSAM4LS2B"
select ARCH_CORTEXM4
select ARCH_CHIP_SAM4L
config ARCH_CHIP_ATSAM4LS2A
bool "ATSAM4LS2A"
select ARCH_CORTEXM4
select ARCH_CHIP_SAM4L
config ARCH_CHIP_ATSAM4LS4C
bool "ATSAM4LS4C"
select ARCH_CORTEXM4
select ARCH_CHIP_SAM4L
config ARCH_CHIP_ATSAM4LS4B
bool "ATSAM4LS4B"
select ARCH_CORTEXM4
select ARCH_CHIP_SAM4L
config ARCH_CHIP_ATSAM4LS4A
bool "ATSAM4LS4A"
select ARCH_CORTEXM4
select ARCH_CHIP_SAM4L
config CONFIG_ARCH_CHIP_ATSAM4SD32C
bool "ATSAM4SD32C"
select ARCH_CORTEXM4
select ARCH_CHIP_SAM4S
config CONFIG_ARCH_CHIP_ATSAM4SD32B
bool "ATSAM4SD32B"
select ARCH_CORTEXM4
select ARCH_CHIP_SAM4S
config CONFIG_ARCH_CHIP_ATSAM4SD16C
bool "ATSAM4SD16C"
select ARCH_CORTEXM4
select ARCH_CHIP_SAM4S
config CONFIG_ARCH_CHIP_ATSAM4SD16B
bool "ATSAM4SD16B"
select ARCH_CORTEXM4
select ARCH_CHIP_SAM4S
config CONFIG_ARCH_CHIP_ATSAM4SA16C
bool "ATSAM4SA16C"
select ARCH_CORTEXM4
select ARCH_CHIP_SAM4S
config CONFIG_ARCH_CHIP_ATSAM4SA16B
bool "ATSAM4SA16B"
select ARCH_CORTEXM4
select ARCH_CHIP_SAM4S
config CONFIG_ARCH_CHIP_ATSAM4S16C
bool "ATSAM4S16C"
select ARCH_CORTEXM4
select ARCH_CHIP_SAM4S
config CONFIG_ARCH_CHIP_ATSAM4S16B
bool "ATSAM4S16B"
select ARCH_CORTEXM4
select ARCH_CHIP_SAM4S
config CONFIG_ARCH_CHIP_ATSAM4S8C
bool "ATSAM4S8C"
select ARCH_CORTEXM4
select ARCH_CHIP_SAM4S
config CONFIG_ARCH_CHIP_ATSAM4S8B
bool "ATSAM4S8B"
select ARCH_CORTEXM4
select ARCH_CHIP_SAM4S
endchoice
config ARCH_CHIP_SAM3U
bool
default n
config ARCH_CHIP_SAM4L
bool
default n
select ARCH_RAMFUNCS
config ARCH_CHIP_SAM4S
bool
default n
menu "AT91SAM3 Peripheral Support"
config SAM_PICOCACHE
bool "PICOCACHE"
depends on ARCH_CHIP_SAM4L
default y
config SAM34_OCD
bool "On-chip DEBUG"
depends on ARCH_CHIP_SAM4L
default y if DEBUG_SYMBOLS
default n if !DEBUG_SYMBOLS
config SAM34_APBA
bool "APBA bridge"
default n
depends on ARCH_CHIP_SAM4L
config SAM34_AESA
bool "Advanced Encryption Standard"
default n
depends on ARCH_CHIP_SAM4L
config SAM34_IISC
bool "Inter-IC Sound (I2S) Controller"
default n
depends on ARCH_CHIP_SAM4L
config SAM34_SPI
bool "SPI"
default n
config SAM34_TC0
bool "Timer/Counter 0"
default n
depends on ARCH_CHIP_SAM4L
config SAM34_TC1
bool "Timer/Counter 1"
default n
depends on ARCH_CHIP_SAM4L
config SAM34_TWIM0
bool "Two-wire Master Interface 0"
default n
depends on ARCH_CHIP_SAM4L
config SAM34_TWIS0
bool "Two-wire Slave Interface 0"
default n
depends on ARCH_CHIP_SAM4L
config SAM34_TWIM1
bool "Two-wire Master Interface 1"
default n
depends on ARCH_CHIP_SAM4L
config SAM34_TWIS1
bool "Two-wire Slave Interface 1"
default n
depends on ARCH_CHIP_SAM4L
config SAM34_TWIM2
bool "Two-wire Master Interface 2"
default n
depends on ARCH_CHIP_SAM4L
config SAM34_TWIM3
bool "Two-wire Master Interface 3"
default n
depends on ARCH_CHIP_SAM4L
config SAM34_UART
bool "UART"
default y
depends on ARCH_CHIP_SAM3U
select ARCH_HAVE_UART
config SAM34_PICOUART
bool "PicoUART"
default n
depends on ARCH_CHIP_SAM4L
select ARCH_HAVE_UART
config SAM34_USART0
bool "USART0"
default n
select ARCH_HAVE_USART0
config SAM34_USART1
bool "USART1"
default n
select ARCH_HAVE_USART1
config SAM34_USART2
bool "USART2"
default n
select ARCH_HAVE_USART2
config SAM34_USART3
bool "USART3"
default n
select ARCH_HAVE_USART3
config SAM34_ADCIFE
bool "ADC controller interface"
default n
depends on ARCH_CHIP_SAM4L
config SAM34_DACC
bool "DAC Controller"
default n
depends on ARCH_CHIP_SAM4L
config SAM34_ACIFC
bool "Analog Comparator Interface"
default n
depends on ARCH_CHIP_SAM4L
config SAM34_GLOC
bool "GLOC"
default n
depends on ARCH_CHIP_SAM4L
config SAM34_ABDACB
bool "Audio Bitstream DAC"
default n
depends on ARCH_CHIP_SAM4L
config SAM34_TRNG
bool "True Random Number Generator"
default n
depends on ARCH_CHIP_SAM4L
config SAM34_PARC
bool "Parallel Capture"
default n
depends on ARCH_CHIP_SAM4L
config SAM34_CATB
bool "Capacitive Touch Module B"
default n
depends on ARCH_CHIP_SAM4L
config SAM34_LCDCA
bool "LCD Controller A"
default n
depends on ARCH_CHIP_SAM4L
config SAM34_HRAMC1
bool "HRAMC1 (picoCache RAM)"
default n
depends on ARCH_CHIP_SAM4L
config SAM34_NAND
bool "NAND support"
default n
depends on ARCH_CHIP_SAM3U
config SAM34_HMATRIX
bool "HMATRIX"
default n
depends on ARCH_CHIP_SAM4L
config SAM34_PDCA
bool "Peripheral DMA controller"
default n
depends on ARCH_CHIP_SAM4L
select ARCH_DMA
config SAM34_DMA
bool "DMA"
default n
depends on ARCH_CHIP_SAM3U
select ARCH_DMA
config SAM34_CRCCU
bool "CRC Calculation Unit"
default n
depends on ARCH_CHIP_SAM4L
config SAM34_USBC
bool "USB 2.0 Interface"
default n
depends on ARCH_CHIP_SAM4L
config SAM34_PEVC
bool "Peripheral Event Controller"
default n
depends on ARCH_CHIP_SAM4L
config SAM34_CHIPID
bool "Chip ID"
default n
depends on ARCH_CHIP_SAM4L
config SAM34_FREQM
bool "Frequency Mete"
default n
depends on ARCH_CHIP_SAM4L
config SAM34_AST
bool "Asynchronous Timer"
default n
depends on ARCH_CHIP_SAM4L
config SAM34_WDT
bool "Watchdog Timer"
default n
config SAM34_EIC
bool "External Interrupt Controller"
default n
depends on ARCH_CHIP_SAM4L
config SAM34_HSMCI
bool "HSMCI"
default n
depends on ARCH_CHIP_SAM3U
endmenu
comment "AT91SAM3/4 USART Configuration"
config USART0_ISUART
bool "USART0 is a UART"
default y
depends on SAM34_USART0
select ARCH_HAVE_USART0
config USART1_ISUART
bool "USART1 is a UART"
default y
depends on SAM34_USART1
select ARCH_HAVE_USART1
config USART2_ISUART
bool "USART2 is a UART"
default n
depends on SAM34_USART2
select ARCH_HAVE_USART2
config USART3_ISUART
bool "USART3 is a UART"
default y
depends on SAM34_USART3
select ARCH_HAVE_USART2
comment "AT91SAM3/4 GPIO Interrupt Configuration"
config GPIOA_IRQ
bool "GPIOA interrupts"
default n
config GPIOB_IRQ
bool "GPIOB interrupts"
default n
config GPIOC_IRQ
bool "GPIOC interrupts"
default n
if SAM34_WDT
comment "AT91SAM3/4 Watchdog Configuration"|
config WDT_ENABLED_ON_RESET
bool "Enabled on reset"
default n
---help---
The WDT can be enabled at reset. This is controlled by the WDTAUTO
fuse. The WDT will be set in basic mode, RCSYS is set as source for
CLK_CNT, and PSEL will be set to a value giving Tpsel above 100 ms
(SAM4L)
This setting informs that start-up logic that the watchdog is
enabled.
config WDT_DISABLE_ON_RESET
bool "Disable on reset"
default n
depends on WDT_ENABLED_ON_RESET
---help---
If the WDT can be enabled at reset then this setting may be used to
configure and disable the watchdog timer very early in the boot
sequence.
endif
|