Kconfig 13.8 KB
Newer Older
1 2
if ARCH_AT91

3 4 5
config HAVE_AT91_DATAFLASH_CARD
	bool

6 7 8 9 10 11
config HAVE_AT91_DBGU0
	bool

config HAVE_AT91_DBGU1
	bool

12 13
config AT91_SAM9_ALT_RESET
	bool
14
	default !ARCH_AT91X40
15

16 17
config AT91_SAM9G45_RESET
	bool
18
	default !ARCH_AT91X40
19

20 21 22
config SOC_AT91SAM9
	bool
	select CPU_ARM926T
23
	select GENERIC_CLOCKEVENTS
24

25 26
menu "Atmel AT91 System-on-Chip"

27
comment "Atmel AT91 Processor"
28

29 30
config SOC_AT91SAM9
	bool
31 32
	select AT91_SAM9_SMC
	select AT91_SAM9_TIME
33
	select CPU_ARM926T
34
	select MULTI_IRQ_HANDLER
35
	select SPARSE_IRQ
36 37

config SOC_AT91RM9200
38
	bool "AT91RM9200"
39
	select CPU_ARM920T
40
	select GENERIC_CLOCKEVENTS
41
	select HAVE_AT91_DBGU0
42 43
	select MULTI_IRQ_HANDLER
	select SPARSE_IRQ
44

45 46
config SOC_AT91SAM9260
	bool "AT91SAM9260, AT91SAM9XE or AT91SAM9G20"
47
	select HAVE_AT91_DBGU0
48
	select HAVE_NET_MACB
49
	select SOC_AT91SAM9
50 51 52
	help
	  Select this if you are using one of Atmel's AT91SAM9260, AT91SAM9XE
	  or AT91SAM9G20 SoC.
53

54 55
config SOC_AT91SAM9261
	bool "AT91SAM9261 or AT91SAM9G10"
56
	select HAVE_AT91_DBGU0
57
	select HAVE_FB_ATMEL
58
	select SOC_AT91SAM9
59 60
	help
	  Select this if you are using one of Atmel's AT91SAM9261 or AT91SAM9G10 SoC.
61

62
config SOC_AT91SAM9263
63
	bool "AT91SAM9263"
64
	select HAVE_AT91_DBGU1
65
	select HAVE_FB_ATMEL
66
	select HAVE_NET_MACB
67
	select SOC_AT91SAM9
68

69
config SOC_AT91SAM9RL
70
	bool "AT91SAM9RL"
71
	select HAVE_AT91_DBGU0
72
	select HAVE_FB_ATMEL
73
	select SOC_AT91SAM9
74

75
config SOC_AT91SAM9G45
76
	bool "AT91SAM9G45 or AT91SAM9M10 families"
77
	select HAVE_AT91_DBGU1
78
	select HAVE_FB_ATMEL
79
	select HAVE_NET_MACB
80
	select SOC_AT91SAM9
81 82 83
	help
	  Select this if you are using one of Atmel's AT91SAM9G45 family SoC.
	  This support covers AT91SAM9G45, AT91SAM9G46, AT91SAM9M10 and AT91SAM9M11.
84

85
config SOC_AT91SAM9X5
86
	bool "AT91SAM9x5 family"
87
	select HAVE_AT91_DBGU0
88 89
	select HAVE_FB_ATMEL
	select HAVE_NET_MACB
90
	select SOC_AT91SAM9
91 92 93 94 95 96
	help
	  Select this if you are using one of Atmel's AT91SAM9x5 family SoC.
	  This means that your SAM9 name finishes with a '5' (except if it is
	  AT91SAM9G45!).
	  This support covers AT91SAM9G15, AT91SAM9G25, AT91SAM9X25, AT91SAM9G35
	  and AT91SAM9X35.
97

98 99 100 101
config SOC_AT91SAM9N12
	bool "AT91SAM9N12 family"
	select HAVE_AT91_DBGU0
	select HAVE_FB_ATMEL
102
	select SOC_AT91SAM9
103 104 105
	help
	  Select this if you are using Atmel's AT91SAM9N12 SoC.

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
choice
	prompt "Atmel AT91 Processor Devices for non DT boards"

config ARCH_AT91_NONE
	bool "None"

config ARCH_AT91RM9200
	bool "AT91RM9200"
	select SOC_AT91RM9200

config ARCH_AT91SAM9260
	bool "AT91SAM9260 or AT91SAM9XE"
	select SOC_AT91SAM9260

config ARCH_AT91SAM9261
	bool "AT91SAM9261"
	select SOC_AT91SAM9261

config ARCH_AT91SAM9G10
	bool "AT91SAM9G10"
	select SOC_AT91SAM9261

config ARCH_AT91SAM9263
	bool "AT91SAM9263"
	select SOC_AT91SAM9263

config ARCH_AT91SAM9RL
	bool "AT91SAM9RL"
	select SOC_AT91SAM9RL

config ARCH_AT91SAM9G20
	bool "AT91SAM9G20"
	select SOC_AT91SAM9260

config ARCH_AT91SAM9G45
	bool "AT91SAM9G45"
	select SOC_AT91SAM9G45

144 145
config ARCH_AT91X40
	bool "AT91x40"
146
	depends on !MMU
147
	select ARCH_USES_GETTIMEOFFSET
A
Arnd Bergmann 已提交
148 149
	select MULTI_IRQ_HANDLER
	select SPARSE_IRQ
150

151 152
endchoice

153 154 155 156
config AT91_PMC_UNIT
	bool
	default !ARCH_AT91X40

157 158 159
# ----------------------------------------------------------

if ARCH_AT91RM9200
160 161 162

comment "AT91RM9200 Board Type"

163 164 165
config MACH_ONEARM
	bool "Ajeco 1ARM Single Board Computer"
	help
166
	  Select this if you are using Ajeco's 1ARM Single Board Computer.
167
	  <http://www.ajeco.fi/>
168

169 170
config ARCH_AT91RM9200DK
	bool "Atmel AT91RM9200-DK Development board"
171
	select HAVE_AT91_DATAFLASH_CARD
172
	help
173 174 175
	  Select this if you are using Atmel's AT91RM9200-DK Development board.
	  (Discontinued)

176 177
config MACH_AT91RM9200EK
	bool "Atmel AT91RM9200-EK Evaluation Kit"
178
	select HAVE_AT91_DATAFLASH_CARD
179
	help
180 181
	  Select this if you are using Atmel's AT91RM9200-EK Evaluation Kit.
	  <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=3507>
182 183

config MACH_CSB337
184
	bool "Cogent CSB337"
185
	help
186 187
	  Select this if you are using Cogent's CSB337 board.
	  <http://www.cogcomp.com/csb_csb337.htm>
188 189

config MACH_CSB637
190
	bool "Cogent CSB637"
191
	help
192 193
	  Select this if you are using Cogent's CSB637 board.
	  <http://www.cogcomp.com/csb_csb637.htm>
194 195

config MACH_CARMEVA
196
	bool "Conitec ARM&EVA"
197
	help
198
	  Select this if you are using Conitec's AT91RM9200-MCU-Module.
199
	  <http://www.conitec.net/english/linuxboard.php>
200

201 202
config MACH_ATEB9200
	bool "Embest ATEB9200"
203
	help
204 205
	  Select this if you are using Embest's ATEB9200 board.
	  <http://www.embedinfo.com/english/product/ATEB9200.asp>
206

207 208
config MACH_KB9200
	bool "KwikByte KB920x"
209
	help
210
	  Select this if you are using KwikByte's KB920x board.
211
	  <http://www.kwikbyte.com/KB9202.html>
212

213 214 215 216 217 218
config MACH_PICOTUX2XX
	bool "picotux 200"
	help
	  Select this if you are using a picotux 200.
	  <http://www.picotux.com/>

219 220 221
config MACH_KAFA
	bool "Sperry-Sun KAFA board"
	help
222 223
	  Select this if you are using Sperry-Sun's KAFA board.

224 225
config MACH_ECBAT91
	bool "emQbit ECB_AT91 SBC"
226
	select HAVE_AT91_DATAFLASH_CARD
227 228 229 230
	help
	  Select this if you are using emQbit's ECB_AT91 board.
	  <http://wiki.emqbit.com/free-ecb-at91>

231 232 233 234 235
config MACH_YL9200
	bool "ucDragon YL-9200"
	help
	  Select this if you are using the ucDragon YL-9200 board.

236 237 238 239 240 241
config MACH_CPUAT91
	bool "Eukrea CPUAT91"
	help
	  Select this if you are using the Eukrea Electromatique's
	  CPUAT91 board <http://www.eukrea.com/>.

242 243 244 245 246
config MACH_ECO920
	bool "eco920"
	help
	  Select this if you are using the eco920 board

247 248 249 250 251
config MACH_RSI_EWS
	bool "RSI Embedded Webserver"
	depends on ARCH_AT91RM9200
	help
	  Select this if you are using RSIs EWS board.
252 253 254 255 256 257
endif

# ----------------------------------------------------------

if ARCH_AT91SAM9260

258 259 260
comment "AT91SAM9260 Variants"

comment "AT91SAM9260 / AT91SAM9XE Board Type"
261

262
config MACH_AT91SAM9260EK
263
	bool "Atmel AT91SAM9260-EK / AT91SAM9XE Evaluation Kit"
264
	select HAVE_AT91_DATAFLASH_CARD
265
	help
266
	  Select this if you are using Atmel's AT91SAM9260-EK or AT91SAM9XE Evaluation Kit
267 268
	  <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=3933>

269 270 271 272 273 274
config MACH_CAM60
	bool "KwikByte KB9260 (CAM60) board"
	help
	  Select this if you are using KwikByte's KB9260 (CAM60) board based on the Atmel AT91SAM9260.
	  <http://www.kwikbyte.com/KB9260.html>

275 276
config MACH_SAM9_L9260
	bool "Olimex SAM9-L9260 board"
277
	select HAVE_AT91_DATAFLASH_CARD
278 279 280 281
	help
	  Select this if you are using Olimex's SAM9-L9260 board based on the Atmel AT91SAM9260.
	  <http://www.olimex.com/dev/sam9-L9260.html>

282 283 284 285 286 287 288 289
config MACH_AFEB9260
	bool "Custom afeb9260 board v1"
	help
	  Select this if you are using custom afeb9260 board based on
	  open hardware design. Select this for revision 1 of the board.
	  <svn://194.85.238.22/home/users/george/svn/arm9eb>
	  <http://groups.google.com/group/arm9fpga-evolution-board>

290 291 292 293 294 295 296 297 298 299 300 301
config MACH_USB_A9260
	bool "CALAO USB-A9260"
	help
	  Select this if you are using a Calao Systems USB-A9260.
	  <http://www.calao-systems.com>

config MACH_QIL_A9260
	bool "CALAO QIL-A9260 board"
	help
	  Select this if you are using a Calao Systems QIL-A9260 Board.
	  <http://www.calao-systems.com>

302 303 304 305 306 307
config MACH_CPU9260
	bool "Eukrea CPU9260 board"
	help
	  Select this if you are using a Eukrea Electromatique's
	  CPU9260 Board <http://www.eukrea.com/>

308 309 310 311 312 313
config MACH_FLEXIBITY
	bool "Flexibity Connect board"
	help
	  Select this if you are using Flexibity Connect board
	  <http://www.flexibity.com>

314 315 316 317 318 319 320 321
endif

# ----------------------------------------------------------

if ARCH_AT91SAM9261

comment "AT91SAM9261 Board Type"

322 323
config MACH_AT91SAM9261EK
	bool "Atmel AT91SAM9261-EK Evaluation Kit"
324
	select HAVE_AT91_DATAFLASH_CARD
325 326 327 328
	help
	  Select this if you are using Atmel's AT91SAM9261-EK Evaluation Kit.
	  <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=3820>

329 330
endif

331 332
# ----------------------------------------------------------

333 334 335 336 337 338
if ARCH_AT91SAM9G10

comment "AT91SAM9G10 Board Type"

config MACH_AT91SAM9G10EK
	bool "Atmel AT91SAM9G10-EK Evaluation Kit"
339
	select HAVE_AT91_DATAFLASH_CARD
340 341 342 343 344 345 346 347
	help
	  Select this if you are using Atmel's AT91SAM9G10-EK Evaluation Kit.
	  <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=4588>

endif

# ----------------------------------------------------------

348 349 350 351 352 353
if ARCH_AT91SAM9263

comment "AT91SAM9263 Board Type"

config MACH_AT91SAM9263EK
	bool "Atmel AT91SAM9263-EK Evaluation Kit"
354
	select HAVE_AT91_DATAFLASH_CARD
355 356 357 358
	help
	  Select this if you are using Atmel's AT91SAM9263-EK Evaluation Kit.
	  <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=4057>

359 360 361 362 363 364
config MACH_USB_A9263
	bool "CALAO USB-A9263"
	help
	  Select this if you are using a Calao Systems USB-A9263.
	  <http://www.calao-systems.com>

365 366
config MACH_NEOCORE926
	bool "Adeneo NEOCORE926"
367
	select HAVE_AT91_DATAFLASH_CARD
368 369 370
	help
	  Select this if you are using the Adeneo Neocore 926 board.

371 372 373 374
endif

# ----------------------------------------------------------

375 376 377 378 379 380 381 382 383 384 385 386 387
if ARCH_AT91SAM9RL

comment "AT91SAM9RL Board Type"

config MACH_AT91SAM9RLEK
	bool "Atmel AT91SAM9RL-EK Evaluation Kit"
	help
	  Select this if you are using Atmel's AT91SAM9RL-EK Evaluation Kit.

endif

# ----------------------------------------------------------

388 389 390 391 392 393
if ARCH_AT91SAM9G20

comment "AT91SAM9G20 Board Type"

config MACH_AT91SAM9G20EK
	bool "Atmel AT91SAM9G20-EK Evaluation Kit"
394
	select HAVE_AT91_DATAFLASH_CARD
395
	help
396 397 398 399
	  Select this if you are using Atmel's AT91SAM9G20-EK Evaluation Kit
	  that embeds only one SD/MMC slot.

config MACH_AT91SAM9G20EK_2MMC
400
	depends on MACH_AT91SAM9G20EK
401 402 403 404 405
	bool "Atmel AT91SAM9G20-EK Evaluation Kit with 2 SD/MMC Slots"
	help
	  Select this if you are using an Atmel AT91SAM9G20-EK Evaluation Kit
	  with 2 SD/MMC Slots. This is the case for AT91SAM9G20-EK rev. C and
	  onwards.
406
	  <http://www.atmel.com/tools/SAM9G20-EK.aspx>
407

408 409 410 411 412 413
config MACH_CPU9G20
	bool "Eukrea CPU9G20 board"
	help
	  Select this if you are using a Eukrea Electromatique's
	  CPU9G20 Board <http://www.eukrea.com/>

414 415 416 417 418 419
config MACH_ACMENETUSFOXG20
	bool "Acme Systems srl FOX Board G20"
	help
	  Select this if you are using Acme Systems
	  FOX Board G20 <http://www.acmesystems.it>

420 421 422 423 424 425 426 427 428 429 430 431 432
config MACH_PORTUXG20
	bool "taskit PortuxG20"
	help
	  Select this if you are using taskit's PortuxG20.
	  <http://www.taskit.de/en/>

config MACH_STAMP9G20
	bool "taskit Stamp9G20 CPU module"
	help
	  Select this if you are using taskit's Stamp9G20 CPU module on its
	  evaluation board.
	  <http://www.taskit.de/en/>

433 434 435 436 437 438
config MACH_PCONTROL_G20
	bool "PControl G20 CPU module"
	help
	  Select this if you are using taskit's Stamp9G20 CPU module on this
	  carrier board, beeing the decentralized unit of a building automation
	  system; featuring nvram, eth-switch, iso-rs485, display, io
I
Igor Plyatov 已提交
439 440 441 442 443 444 445

config MACH_GSIA18S
	bool "GS_IA18_S board"
	help
	  This enables support for the GS_IA18_S board
	  produced by GeoSIG Ltd company. This is an internet accelerograph.
	  <http://www.geosig.com>
446 447 448 449 450 451 452 453

config MACH_USB_A9G20
	bool "CALAO USB-A9G20"
	depends on ARCH_AT91SAM9G20
	help
	  Select this if you are using a Calao Systems USB-A9G20.
	  <http://www.calao-systems.com>

454 455
endif

456 457 458 459 460 461 462 463 464 465 466
if (ARCH_AT91SAM9260 || ARCH_AT91SAM9G20)
comment "AT91SAM9260/AT91SAM9G20 boards"

config MACH_SNAPPER_9260
        bool "Bluewater Systems Snapper 9260/9G20 module"
        help
          Select this if you are using the Bluewater Systems Snapper 9260 or
          Snapper 9G20 modules.
          <http://www.bluewatersys.com/>
endif

467 468
# ----------------------------------------------------------

469 470 471 472
if ARCH_AT91SAM9G45

comment "AT91SAM9G45 Board Type"

473 474
config MACH_AT91SAM9M10G45EK
	bool "Atmel AT91SAM9M10G45-EK Evaluation Kits"
475
	help
476 477 478 479
	  Select this if you are using Atmel's AT91SAM9M10G45-EK Evaluation Kit.
	  Those boards can be populated with any SoC of AT91SAM9G45 or AT91SAM9M10
	  families: AT91SAM9G45, AT91SAM9G46, AT91SAM9M10 and AT91SAM9M11.
	  <http://www.atmel.com/tools/SAM9M10-G45-EK.aspx>
480 481 482 483 484

endif

# ----------------------------------------------------------

485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500
if ARCH_AT91X40

comment "AT91X40 Board Type"

config MACH_AT91EB01
	bool "Atmel AT91EB01 Evaluation Kit"
	help
	  Select this if you are using Atmel's AT91EB01 Evaluation Kit.
	  It is also a popular target for simulators such as GDB's
	  ARM simulator (commonly known as the ARMulator) and the
	  Skyeye simulator.

endif

# ----------------------------------------------------------

501 502 503 504
comment "Generic Board Type"

config MACH_AT91SAM_DT
	bool "Atmel AT91SAM Evaluation Kits with device-tree support"
505
	depends on SOC_AT91SAM9
506 507 508 509 510 511 512
	select USE_OF
	help
	  Select this if you want to experiment device-tree with
	  an Atmel Evaluation Kit.

# ----------------------------------------------------------

513 514 515 516
comment "AT91 Board Options"

config MTD_AT91_DATAFLASH_CARD
	bool "Enable DataFlash Card support"
517
	depends on HAVE_AT91_DATAFLASH_CARD
518 519 520
	help
	  Enable support for the DataFlash card.

521
# ----------------------------------------------------------
522

523
comment "AT91 Feature Selections"
524 525 526 527 528 529 530

config AT91_PROGRAMMABLE_CLOCKS
	bool "Programmable Clocks"
	help
	  Select this if you need to program one or more of the PCK0..PCK3
	  programmable clock outputs.

531 532 533 534 535 536 537 538 539 540 541 542 543
config AT91_SLOW_CLOCK
	bool "Suspend-to-RAM disables main oscillator"
	depends on SUSPEND
	help
	  Select this if you want Suspend-to-RAM to save the most power
	  possible (without powering off the CPU) by disabling the PLLs
	  and main oscillator so that only the 32 KiHz clock is available.

	  When only that slow-clock is available, some peripherals lose
	  functionality.  Many can't issue wakeup events unless faster
	  clocks are available.  Some lose their operating state and
	  need to be completely re-initialized.

544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559
config AT91_TIMER_HZ
       int "Kernel HZ (jiffies per second)"
       range 32 1024
       depends on ARCH_AT91
       default "128" if ARCH_AT91RM9200
       default "100"
       help
	  On AT91rm9200 chips where you're using a system clock derived
	  from the 32768 Hz hardware clock, this tick rate should divide
	  it exactly: use a power-of-two value, such as 128 or 256, to
	  reduce timing errors caused by rounding.

	  On AT91sam926x chips, or otherwise when using a higher precision
	  system clock (of at least several MHz), rounding is less of a
	  problem so it can be safer to use a decimal values like 100.

560 561 562
endmenu

endif