2012-04-11 04:04:59 +02:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
|
|
|
# see misc/tools/kconfig-language.txt.
|
|
|
|
#
|
2012-09-09 17:43:18 +02:00
|
|
|
|
2013-06-07 22:59:33 +02:00
|
|
|
comment "AT91SAM3/4 Configuration Options"
|
2013-03-10 20:31:10 +01:00
|
|
|
|
|
|
|
choice
|
2013-06-07 22:59:33 +02:00
|
|
|
prompt "AT91SAM3/4 Chip Selection"
|
2013-03-10 20:31:10 +01:00
|
|
|
default ARCH_CHIP_AT91SAM3U4E
|
2013-06-02 18:33:57 +02:00
|
|
|
depends on ARCH_CHIP_SAM34
|
2013-03-10 20:31:10 +01:00
|
|
|
|
|
|
|
config ARCH_CHIP_AT91SAM3U4E
|
|
|
|
bool "AT91SAM3U4E"
|
2013-06-02 18:33:57 +02:00
|
|
|
select ARCH_CORTEXM3
|
|
|
|
select ARCH_CHIP_SAM3U
|
2013-03-10 20:31:10 +01:00
|
|
|
|
2013-06-03 23:11:56 +02:00
|
|
|
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
|
|
|
|
|
2013-03-10 20:31:10 +01:00
|
|
|
endchoice
|
|
|
|
|
2013-06-02 18:33:57 +02:00
|
|
|
config ARCH_CHIP_SAM3U
|
|
|
|
bool
|
2013-06-03 23:11:56 +02:00
|
|
|
default n
|
|
|
|
|
|
|
|
config ARCH_CHIP_SAM4L
|
|
|
|
bool
|
|
|
|
default n
|
2013-06-07 21:26:55 +02:00
|
|
|
select ARCH_RAMFUNCS
|
2013-06-03 23:11:56 +02:00
|
|
|
|
|
|
|
config ARCH_CHIP_SAM4S
|
|
|
|
bool
|
|
|
|
default n
|
2013-06-02 18:33:57 +02:00
|
|
|
|
2013-06-09 18:57:42 +02:00
|
|
|
menu "AT91SAM3/4 Peripheral Support"
|
2013-03-10 20:31:10 +01:00
|
|
|
|
2013-06-06 00:41:52 +02:00
|
|
|
config SAM_PICOCACHE
|
|
|
|
bool "PICOCACHE"
|
|
|
|
depends on ARCH_CHIP_SAM4L
|
|
|
|
default y
|
|
|
|
|
2013-06-07 22:59:33 +02:00
|
|
|
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"
|
2013-03-10 20:31:10 +01:00
|
|
|
default n
|
2013-06-07 22:59:33 +02:00
|
|
|
depends on ARCH_CHIP_SAM4L
|
2013-03-10 20:31:10 +01:00
|
|
|
|
2013-06-07 22:59:33 +02:00
|
|
|
config SAM34_AESA
|
|
|
|
bool "Advanced Encryption Standard"
|
2013-03-10 20:31:10 +01:00
|
|
|
default n
|
2013-06-07 22:59:33 +02:00
|
|
|
depends on ARCH_CHIP_SAM4L
|
2013-03-10 20:31:10 +01:00
|
|
|
|
2013-06-07 22:59:33 +02:00
|
|
|
config SAM34_IISC
|
|
|
|
bool "Inter-IC Sound (I2S) Controller"
|
|
|
|
default n
|
|
|
|
depends on ARCH_CHIP_SAM4L
|
|
|
|
|
|
|
|
config SAM34_SPI
|
|
|
|
bool "SPI"
|
2013-03-10 20:31:10 +01:00
|
|
|
default n
|
|
|
|
|
2013-06-07 22:59:33 +02:00
|
|
|
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
|
|
|
|
|
2013-06-02 18:33:57 +02:00
|
|
|
config SAM34_UART
|
2013-03-10 20:31:10 +01:00
|
|
|
bool "UART"
|
|
|
|
default y
|
2013-06-07 22:59:33 +02:00
|
|
|
depends on ARCH_CHIP_SAM3U
|
|
|
|
select ARCH_HAVE_UART
|
|
|
|
|
|
|
|
config SAM34_PICOUART
|
|
|
|
bool "PicoUART"
|
|
|
|
default n
|
|
|
|
depends on ARCH_CHIP_SAM4L
|
2013-03-10 20:31:10 +01:00
|
|
|
select ARCH_HAVE_UART
|
|
|
|
|
2013-06-02 18:33:57 +02:00
|
|
|
config SAM34_USART0
|
2013-03-10 20:31:10 +01:00
|
|
|
bool "USART0"
|
|
|
|
default n
|
2013-06-07 22:59:33 +02:00
|
|
|
select ARCH_HAVE_USART0
|
2013-03-10 20:31:10 +01:00
|
|
|
|
2013-06-02 18:33:57 +02:00
|
|
|
config SAM34_USART1
|
2013-03-10 20:31:10 +01:00
|
|
|
bool "USART1"
|
|
|
|
default n
|
2013-06-07 22:59:33 +02:00
|
|
|
select ARCH_HAVE_USART1
|
2013-03-10 20:31:10 +01:00
|
|
|
|
2013-06-02 18:33:57 +02:00
|
|
|
config SAM34_USART2
|
2013-03-10 20:31:10 +01:00
|
|
|
bool "USART2"
|
|
|
|
default n
|
2013-06-07 22:59:33 +02:00
|
|
|
select ARCH_HAVE_USART2
|
2013-03-10 20:31:10 +01:00
|
|
|
|
2013-06-02 18:33:57 +02:00
|
|
|
config SAM34_USART3
|
2013-03-10 20:31:10 +01:00
|
|
|
bool "USART3"
|
|
|
|
default n
|
2013-06-07 22:59:33 +02:00
|
|
|
select ARCH_HAVE_USART3
|
2013-03-10 20:31:10 +01:00
|
|
|
|
2013-06-07 22:59:33 +02:00
|
|
|
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
|
2013-06-08 17:21:20 +02:00
|
|
|
bool "LCD Controller A"
|
2013-06-07 22:59:33 +02:00
|
|
|
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"
|
2013-06-02 18:33:57 +02:00
|
|
|
default n
|
2013-06-07 22:59:33 +02:00
|
|
|
depends on ARCH_CHIP_SAM3U
|
2013-06-02 18:33:57 +02:00
|
|
|
|
2013-03-10 20:31:10 +01:00
|
|
|
endmenu
|
|
|
|
|
2013-06-08 21:50:42 +02:00
|
|
|
config SAM32_RESET_PERIPHCLKS
|
|
|
|
bool "Enable all peripheral clocks on reset"
|
|
|
|
default n
|
|
|
|
depends on ARCH_CHIP_SAM4L
|
|
|
|
---help---
|
|
|
|
By default, only a few necessary peripheral clocks are enabled at
|
|
|
|
reset. If this setting is enabled, then all clocking will be enabled
|
|
|
|
to all of the selected peripherals on reset.
|
|
|
|
|
2013-06-08 17:21:20 +02:00
|
|
|
comment "AT91SAM3/4 USART Configuration"
|
2013-03-10 20:31:10 +01:00
|
|
|
|
|
|
|
config USART0_ISUART
|
|
|
|
bool "USART0 is a UART"
|
|
|
|
default y
|
2013-06-02 18:33:57 +02:00
|
|
|
depends on SAM34_USART0
|
2013-03-10 20:31:10 +01:00
|
|
|
select ARCH_HAVE_USART0
|
|
|
|
|
|
|
|
config USART1_ISUART
|
|
|
|
bool "USART1 is a UART"
|
|
|
|
default y
|
2013-06-02 18:33:57 +02:00
|
|
|
depends on SAM34_USART1
|
2013-03-10 20:31:10 +01:00
|
|
|
select ARCH_HAVE_USART1
|
|
|
|
|
|
|
|
config USART2_ISUART
|
|
|
|
bool "USART2 is a UART"
|
|
|
|
default n
|
2013-06-02 18:33:57 +02:00
|
|
|
depends on SAM34_USART2
|
2013-03-10 20:31:10 +01:00
|
|
|
select ARCH_HAVE_USART2
|
|
|
|
|
|
|
|
config USART3_ISUART
|
|
|
|
bool "USART3 is a UART"
|
|
|
|
default y
|
2013-06-02 18:33:57 +02:00
|
|
|
depends on SAM34_USART3
|
2013-03-10 20:31:10 +01:00
|
|
|
select ARCH_HAVE_USART2
|
|
|
|
|
2013-06-08 17:21:20 +02:00
|
|
|
comment "AT91SAM3/4 GPIO Interrupt Configuration"
|
2013-03-10 20:31:10 +01:00
|
|
|
|
|
|
|
config GPIOA_IRQ
|
|
|
|
bool "GPIOA interrupts"
|
|
|
|
default n
|
|
|
|
|
|
|
|
config GPIOB_IRQ
|
|
|
|
bool "GPIOB interrupts"
|
|
|
|
default n
|
|
|
|
|
|
|
|
config GPIOC_IRQ
|
|
|
|
bool "GPIOC interrupts"
|
|
|
|
default n
|
|
|
|
|
2013-06-08 17:21:20 +02:00
|
|
|
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
|