2006-06-29 19:06:33 +04:00
if ARCH_AT91
2013-10-11 14:22:06 +04:00
config HAVE_AT91_UTMI
bool
2013-10-17 20:55:41 +04:00
config HAVE_AT91_USB_CLK
bool
2013-10-11 11:37:46 +04:00
config COMMON_CLK_AT91
bool
select COMMON_CLK
2013-10-11 15:27:06 +04:00
config HAVE_AT91_SMD
bool
2014-09-15 20:15:53 +04:00
config HAVE_AT91_H32MX
bool
2013-03-22 17:24:12 +04:00
config SOC_SAMA5
bool
2014-07-10 21:14:21 +04:00
select ATMEL_AIC5_IRQ
2014-11-21 19:10:06 +03:00
select COMMON_CLK_AT91
2013-03-22 17:24:12 +04:00
select CPU_V7
select GENERIC_CLOCKEVENTS
2014-07-08 20:21:13 +04:00
select MEMORY
select ATMEL_SDRAMC
2013-03-22 17:24:12 +04:00
2006-06-29 19:06:33 +04:00
menu "Atmel AT91 System-on-Chip"
2013-03-22 17:24:11 +04:00
choice
prompt "Core type"
config SOC_SAM_V4_V5
2014-03-13 18:18:31 +04:00
bool "ARM9 AT91SAM9/AT91RM9200"
2013-03-22 17:24:11 +04:00
help
2014-03-13 18:18:31 +04:00
Select this if you are using one of Atmel's AT91SAM9 or
AT91RM9200 SoC.
2013-03-22 17:24:11 +04:00
2013-03-22 17:24:12 +04:00
config SOC_SAM_V7
bool "Cortex A5"
help
Select this if you are using one of Atmel's SAMA5D3 SoC.
2013-03-22 17:24:11 +04:00
endchoice
2012-04-06 07:51:50 +04:00
comment "Atmel AT91 Processor"
2006-06-29 19:06:33 +04:00
2013-03-22 17:24:12 +04:00
if SOC_SAM_V7
config SOC_SAMA5D3
bool "SAMA5D3 family"
select SOC_SAMA5
select HAVE_FB_ATMEL
2013-10-11 14:22:06 +04:00
select HAVE_AT91_UTMI
2013-10-11 15:27:06 +04:00
select HAVE_AT91_SMD
2013-10-17 20:55:41 +04:00
select HAVE_AT91_USB_CLK
2013-03-22 17:24:12 +04:00
help
Select this if you are using one of Atmel's SAMA5D3 family SoC.
2013-11-06 14:01:11 +04:00
This support covers SAMA5D31, SAMA5D33, SAMA5D34, SAMA5D35, SAMA5D36.
2014-09-15 20:15:54 +04:00
config SOC_SAMA5D4
bool "SAMA5D4 family"
select SOC_SAMA5
select CLKSRC_MMIO
select CACHE_L2X0
select HAVE_FB_ATMEL
select HAVE_AT91_UTMI
select HAVE_AT91_SMD
select HAVE_AT91_USB_CLK
select HAVE_AT91_H32MX
help
Select this if you are using one of Atmel's SAMA5D4 family SoC.
2013-03-22 17:24:12 +04:00
endif
2013-03-22 17:24:11 +04:00
if SOC_SAM_V4_V5
2012-04-06 07:51:50 +04:00
config SOC_AT91RM9200
2006-06-29 19:06:33 +04:00
bool "AT91RM9200"
2014-11-21 19:10:06 +03:00
select ATMEL_AIC_IRQ
select COMMON_CLK_AT91
2008-10-26 13:55:14 +03:00
select CPU_ARM920T
2007-07-31 04:41:26 +04:00
select GENERIC_CLOCKEVENTS
2013-10-17 20:55:41 +04:00
select HAVE_AT91_USB_CLK
2006-01-09 20:05:41 +03:00
2015-01-16 00:58:13 +03:00
config SOC_AT91SAM9
bool "AT91SAM9"
select ATMEL_AIC_IRQ
select ATMEL_SDRAMC
select COMMON_CLK_AT91
select CPU_ARM926T
select GENERIC_CLOCKEVENTS
2013-10-11 15:27:06 +04:00
select HAVE_AT91_SMD
2013-10-17 20:55:41 +04:00
select HAVE_AT91_USB_CLK
2015-01-16 00:58:13 +03:00
select HAVE_AT91_UTMI
2012-04-17 10:26:31 +04:00
select HAVE_FB_ATMEL
2015-01-16 00:58:13 +03:00
select MEMORY
2012-04-17 10:26:31 +04:00
help
2015-01-16 00:58:13 +03:00
Select this if you are using one of those Atmel SoC:
AT91SAM9260
AT91SAM9261
AT91SAM9263
AT91SAM9G15
AT91SAM9G20
AT91SAM9G25
AT91SAM9G35
AT91SAM9G45
AT91SAM9G46
AT91SAM9M10
AT91SAM9M11
AT91SAM9N12
AT91SAM9RL
AT91SAM9X25
AT91SAM9X35
AT91SAM9XE
2014-03-13 18:18:31 +04:00
endif # SOC_SAM_V4_V5
2006-06-29 19:06:33 +04:00
comment "AT91 Feature Selections"
2006-01-09 20:05:41 +03:00
2008-09-22 00:35:18 +04:00
config AT91_SLOW_CLOCK
bool "Suspend-to-RAM disables main oscillator"
2015-01-15 17:59:25 +03:00
select SRAM
2008-09-22 00:35:18 +04:00
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.
2007-11-12 19:59:10 +03:00
config AT91_TIMER_HZ
int "Kernel HZ (jiffies per second)"
range 32 1024
depends on ARCH_AT91
2014-11-21 18:22:17 +03:00
default "128" if SOC_AT91RM9200
2007-11-12 19:59:10 +03:00
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.
2006-01-09 20:05:41 +03:00
endmenu
endif