diff options
Diffstat (limited to 'arch/arm/mach-at91/Kconfig')
| -rw-r--r-- | arch/arm/mach-at91/Kconfig | 395 |
1 files changed, 183 insertions, 212 deletions
diff --git a/arch/arm/mach-at91/Kconfig b/arch/arm/mach-at91/Kconfig index 074dcd5d9a7..45b55e0f0db 100644 --- a/arch/arm/mach-at91/Kconfig +++ b/arch/arm/mach-at91/Kconfig @@ -1,241 +1,242 @@ if ARCH_AT91 -menu "Atmel AT91 System-on-Chip" - -choice - prompt "Atmel AT91 Processor" +config HAVE_AT91_UTMI + bool -config ARCH_AT91RM9200 - bool "AT91RM9200" - select GENERIC_TIME - select GENERIC_CLOCKEVENTS +config HAVE_AT91_USB_CLK + bool -config ARCH_AT91SAM9260 - bool "AT91SAM9260 or AT91SAM9XE" +config HAVE_AT91_DBGU0 + bool -config ARCH_AT91SAM9261 - bool "AT91SAM9261" +config HAVE_AT91_DBGU1 + bool -config ARCH_AT91SAM9263 - bool "AT91SAM9263" +config AT91_USE_OLD_CLK + bool -config ARCH_AT91SAM9RL - bool "AT91SAM9RL" +config AT91_PMC_UNIT + bool + default !ARCH_AT91X40 -config ARCH_AT91CAP9 - bool "AT91CAP9" +config COMMON_CLK_AT91 + bool + default AT91_PMC_UNIT && USE_OF && !AT91_USE_OLD_CLK + select COMMON_CLK -config ARCH_AT91X40 - bool "AT91x40" +config OLD_CLK_AT91 + bool + default AT91_PMC_UNIT && AT91_USE_OLD_CLK -endchoice +config AT91_SAM9_ALT_RESET + bool + default !ARCH_AT91X40 -config AT91_PMC_UNIT +config AT91_SAM9G45_RESET bool default !ARCH_AT91X40 -# ---------------------------------------------------------- +config AT91_SAM9_TIME + bool -if ARCH_AT91RM9200 +config HAVE_AT91_SMD + bool -comment "AT91RM9200 Board Type" +config SOC_AT91SAM9 + bool + select AT91_SAM9_TIME + select CPU_ARM926T + select GENERIC_CLOCKEVENTS + select MULTI_IRQ_HANDLER + select SPARSE_IRQ -config MACH_ONEARM - bool "Ajeco 1ARM Single Board Computer" - depends on ARCH_AT91RM9200 - help - Select this if you are using Ajeco's 1ARM Single Board Computer. - <http://www.ajeco.fi/products.htm> +config SOC_SAMA5 + bool + select AT91_SAM9_TIME + select CPU_V7 + select GENERIC_CLOCKEVENTS + select MULTI_IRQ_HANDLER + select SPARSE_IRQ + select USE_OF -config ARCH_AT91RM9200DK - bool "Atmel AT91RM9200-DK Development board" - depends on ARCH_AT91RM9200 - help - Select this if you are using Atmel's AT91RM9200-DK Development board. - (Discontinued) +menu "Atmel AT91 System-on-Chip" -config MACH_AT91RM9200EK - bool "Atmel AT91RM9200-EK Evaluation Kit" - depends on ARCH_AT91RM9200 - help - Select this if you are using Atmel's AT91RM9200-EK Evaluation Kit. - <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=3507> +choice -config MACH_CSB337 - bool "Cogent CSB337" - depends on ARCH_AT91RM9200 - help - Select this if you are using Cogent's CSB337 board. - <http://www.cogcomp.com/csb_csb337.htm> + prompt "Core type" -config MACH_CSB637 - bool "Cogent CSB637" - depends on ARCH_AT91RM9200 - help - Select this if you are using Cogent's CSB637 board. - <http://www.cogcomp.com/csb_csb637.htm> +config ARCH_AT91X40 + bool "ARM7 AT91X40" + depends on !MMU + select CPU_ARM7TDMI + select ARCH_USES_GETTIMEOFFSET + select MULTI_IRQ_HANDLER + select SPARSE_IRQ -config MACH_CARMEVA - bool "Conitec ARM&EVA" - depends on ARCH_AT91RM9200 help - Select this if you are using Conitec's AT91RM9200-MCU-Module. - <http://www.conitec.net/english/linuxboard.htm> + Select this if you are using one of Atmel's AT91X40 SoC. -config MACH_ATEB9200 - bool "Embest ATEB9200" - depends on ARCH_AT91RM9200 +config SOC_SAM_V4_V5 + bool "ARM9 AT91SAM9/AT91RM9200" help - Select this if you are using Embest's ATEB9200 board. - <http://www.embedinfo.com/english/product/ATEB9200.asp> + Select this if you are using one of Atmel's AT91SAM9 or + AT91RM9200 SoC. -config MACH_KB9200 - bool "KwikByte KB920x" - depends on ARCH_AT91RM9200 +config SOC_SAM_V7 + bool "Cortex A5" help - Select this if you are using KwikByte's KB920x board. - <http://kwikbyte.com/KB9202_description_new.htm> + Select this if you are using one of Atmel's SAMA5D3 SoC. -config MACH_PICOTUX2XX - bool "picotux 200" - depends on ARCH_AT91RM9200 - help - Select this if you are using a picotux 200. - <http://www.picotux.com/> +endchoice -config MACH_KAFA - bool "Sperry-Sun KAFA board" - depends on ARCH_AT91RM9200 +comment "Atmel AT91 Processor" + +if SOC_SAM_V7 +config SOC_SAMA5D3 + bool "SAMA5D3 family" + select SOC_SAMA5 + select HAVE_FB_ATMEL + select HAVE_AT91_DBGU1 + select HAVE_AT91_UTMI + select HAVE_AT91_SMD + select HAVE_AT91_USB_CLK help - Select this if you are using Sperry-Sun's KAFA board. - + Select this if you are using one of Atmel's SAMA5D3 family SoC. + This support covers SAMA5D31, SAMA5D33, SAMA5D34, SAMA5D35, SAMA5D36. endif -# ---------------------------------------------------------- - -if ARCH_AT91SAM9260 - -comment "AT91SAM9260 Variants" - -config ARCH_AT91SAM9260_SAM9XE - bool "AT91SAM9XE" - depends on ARCH_AT91SAM9260 +if SOC_SAM_V4_V5 +config SOC_AT91RM9200 + bool "AT91RM9200" + select CPU_ARM920T + select GENERIC_CLOCKEVENTS + select HAVE_AT91_DBGU0 + select MULTI_IRQ_HANDLER + select SPARSE_IRQ + select AT91_USE_OLD_CLK + select HAVE_AT91_USB_CLK + +config SOC_AT91SAM9260 + bool "AT91SAM9260, AT91SAM9XE or AT91SAM9G20" + select HAVE_AT91_DBGU0 + select SOC_AT91SAM9 + select AT91_USE_OLD_CLK + select HAVE_AT91_USB_CLK help - Select this if you are using Atmel's AT91SAM9XE System-on-Chip. - They are basically AT91SAM9260s with various sizes of embedded Flash. - -comment "AT91SAM9260 / AT91SAM9XE Board Type" - -config MACH_AT91SAM9260EK - bool "Atmel AT91SAM9260-EK / AT91SAM9XE Evaluation Kit" - depends on ARCH_AT91SAM9260 + Select this if you are using one of Atmel's AT91SAM9260, AT91SAM9XE + or AT91SAM9G20 SoC. + +config SOC_AT91SAM9261 + bool "AT91SAM9261 or AT91SAM9G10" + select HAVE_AT91_DBGU0 + select HAVE_FB_ATMEL + select SOC_AT91SAM9 + select HAVE_AT91_USB_CLK help - Select this if you are using Atmel's AT91SAM9260-EK or AT91SAM9XE Evaluation Kit - <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=3933> + Select this if you are using one of Atmel's AT91SAM9261 or AT91SAM9G10 SoC. -endif - -# ---------------------------------------------------------- - -if ARCH_AT91SAM9261 - -comment "AT91SAM9261 Board Type" +config SOC_AT91SAM9263 + bool "AT91SAM9263" + select HAVE_AT91_DBGU1 + select HAVE_FB_ATMEL + select SOC_AT91SAM9 + select AT91_USE_OLD_CLK + select HAVE_AT91_USB_CLK -config MACH_AT91SAM9261EK - bool "Atmel AT91SAM9261-EK Evaluation Kit" - depends on ARCH_AT91SAM9261 +config SOC_AT91SAM9RL + bool "AT91SAM9RL" + select HAVE_AT91_DBGU0 + select HAVE_FB_ATMEL + select SOC_AT91SAM9 + select HAVE_AT91_UTMI + +config SOC_AT91SAM9G45 + bool "AT91SAM9G45 or AT91SAM9M10 families" + select HAVE_AT91_DBGU1 + select HAVE_FB_ATMEL + select SOC_AT91SAM9 + select AT91_USE_OLD_CLK + select HAVE_AT91_UTMI + select HAVE_AT91_USB_CLK 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> - -endif - -# ---------------------------------------------------------- - -if ARCH_AT91SAM9263 - -comment "AT91SAM9263 Board Type" - -config MACH_AT91SAM9263EK - bool "Atmel AT91SAM9263-EK Evaluation Kit" - depends on ARCH_AT91SAM9263 + Select this if you are using one of Atmel's AT91SAM9G45 family SoC. + This support covers AT91SAM9G45, AT91SAM9G46, AT91SAM9M10 and AT91SAM9M11. + +config SOC_AT91SAM9X5 + bool "AT91SAM9x5 family" + select HAVE_AT91_DBGU0 + select HAVE_FB_ATMEL + select SOC_AT91SAM9 + select HAVE_AT91_UTMI + select HAVE_AT91_SMD + select HAVE_AT91_USB_CLK 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> - -endif - -# ---------------------------------------------------------- - -if ARCH_AT91SAM9RL - -comment "AT91SAM9RL Board Type" - -config MACH_AT91SAM9RLEK - bool "Atmel AT91SAM9RL-EK Evaluation Kit" - depends on ARCH_AT91SAM9RL + 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. + +config SOC_AT91SAM9N12 + bool "AT91SAM9N12 family" + select HAVE_AT91_DBGU0 + select HAVE_FB_ATMEL + select SOC_AT91SAM9 + select HAVE_AT91_USB_CLK help - Select this if you are using Atmel's AT91SAM9RL-EK Evaluation Kit. - -endif + Select this if you are using Atmel's AT91SAM9N12 SoC. # ---------------------------------------------------------- +endif # SOC_SAM_V4_V5 -if ARCH_AT91CAP9 - -comment "AT91CAP9 Board Type" - -config MACH_AT91CAP9ADK - bool "Atmel AT91CAP9A-DK Evaluation Kit" - depends on ARCH_AT91CAP9 - help - Select this if you are using Atmel's AT91CAP9A-DK Evaluation Kit. - <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=4138> +if SOC_SAM_V4_V5 || ARCH_AT91X40 +source arch/arm/mach-at91/Kconfig.non_dt endif -# ---------------------------------------------------------- - -if ARCH_AT91X40 - -comment "AT91X40 Board Type" +comment "Generic Board Type" -config MACH_AT91EB01 - bool "Atmel AT91EB01 Evaluation Kit" +config MACH_AT91RM9200_DT + bool "Atmel AT91RM9200 Evaluation Kits with device-tree support" + depends on SOC_AT91RM9200 + select USE_OF 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 - -# ---------------------------------------------------------- + Select this if you want to experiment device-tree with + an Atmel RM9200 Evaluation Kit. -comment "AT91 Board Options" - -config MTD_AT91_DATAFLASH_CARD - bool "Enable DataFlash Card support" - depends on (ARCH_AT91RM9200DK || MACH_AT91RM9200EK || MACH_AT91SAM9260EK || MACH_AT91SAM9261EK || MACH_AT91SAM9263EK || MACH_AT91CAP9ADK) +config MACH_AT91SAM9_DT + bool "Atmel AT91SAM Evaluation Kits with device-tree support" + depends on SOC_AT91SAM9 + select USE_OF help - Enable support for the DataFlash card. - -config MTD_NAND_AT91_BUSWIDTH_16 - bool "Enable 16-bit data bus interface to NAND flash" - depends on (MACH_AT91SAM9260EK || MACH_AT91SAM9261EK || MACH_AT91SAM9263EK || MACH_AT91CAP9ADK) + Select this if you want to experiment device-tree with + an Atmel Evaluation Kit. + +config MACH_SAMA5_DT + bool "Atmel SAMA5 Evaluation Kits with device-tree support" + depends on SOC_SAMA5 + select USE_OF + select PHYLIB if NETDEVICES help - On AT91SAM926x boards both types of NAND flash can be present - (8 and 16 bit data bus width). + Select this if you want to experiment device-tree with + an Atmel Evaluation Kit. # ---------------------------------------------------------- comment "AT91 Feature Selections" -config AT91_PROGRAMMABLE_CLOCKS - bool "Programmable Clocks" +config AT91_SLOW_CLOCK + bool "Suspend-to-RAM disables main oscillator" + depends on SUSPEND help - Select this if you need to program one or more of the PCK0..PCK3 - programmable clock outputs. + 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. config AT91_TIMER_HZ int "Kernel HZ (jiffies per second)" @@ -253,36 +254,6 @@ config AT91_TIMER_HZ 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. -choice - prompt "Select a UART for early kernel messages" - -config AT91_EARLY_DBGU - bool "DBGU" - -config AT91_EARLY_USART0 - bool "USART0" - -config AT91_EARLY_USART1 - bool "USART1" - -config AT91_EARLY_USART2 - bool "USART2" - depends on ! ARCH_AT91X40 - -config AT91_EARLY_USART3 - bool "USART3" - depends on (ARCH_AT91RM9200 || ARCH_AT91SAM9RL || ARCH_AT91SAM9260) - -config AT91_EARLY_USART4 - bool "USART4" - depends on ARCH_AT91SAM9260 - -config AT91_EARLY_USART5 - bool "USART5" - depends on ARCH_AT91SAM9260 - -endchoice - endmenu endif |
