19d041268SAndrew Victorif ARCH_AT91 29d041268SAndrew Victor 313079a73SJean-Christophe PLAGNIOL-VILLARDconfig HAVE_AT91_DBGU0 413079a73SJean-Christophe PLAGNIOL-VILLARD bool 513079a73SJean-Christophe PLAGNIOL-VILLARD 613079a73SJean-Christophe PLAGNIOL-VILLARDconfig HAVE_AT91_DBGU1 713079a73SJean-Christophe PLAGNIOL-VILLARD bool 813079a73SJean-Christophe PLAGNIOL-VILLARD 98f0cdcc5SLudovic Desrochesconfig AT91_PMC_UNIT 108f0cdcc5SLudovic Desroches bool 118f0cdcc5SLudovic Desroches default !ARCH_AT91X40 128f0cdcc5SLudovic Desroches 13c0177594SJean-Christophe PLAGNIOL-VILLARDconfig AT91_SAM9_ALT_RESET 14c0177594SJean-Christophe PLAGNIOL-VILLARD bool 1521ea52aaSJean-Christophe PLAGNIOL-VILLARD default !ARCH_AT91X40 16c0177594SJean-Christophe PLAGNIOL-VILLARD 1714f991a7SJean-Christophe PLAGNIOL-VILLARDconfig AT91_SAM9G45_RESET 1814f991a7SJean-Christophe PLAGNIOL-VILLARD bool 1921ea52aaSJean-Christophe PLAGNIOL-VILLARD default !ARCH_AT91X40 2014f991a7SJean-Christophe PLAGNIOL-VILLARD 21fc05b657SLudovic Desrochesconfig AT91_SAM9_TIME 22fc05b657SLudovic Desroches bool 23fc05b657SLudovic Desroches 241441bd32SJean-Christophe PLAGNIOL-VILLARDconfig SOC_AT91SAM9 251441bd32SJean-Christophe PLAGNIOL-VILLARD bool 26fc05b657SLudovic Desroches select AT91_SAM9_TIME 271441bd32SJean-Christophe PLAGNIOL-VILLARD select CPU_ARM926T 28b1b3f49cSRussell King select GENERIC_CLOCKEVENTS 2908d04a13SJean-Christophe PLAGNIOL-VILLARD select MULTI_IRQ_HANDLER 3008d04a13SJean-Christophe PLAGNIOL-VILLARD select SPARSE_IRQ 311441bd32SJean-Christophe PLAGNIOL-VILLARD 329d041268SAndrew Victormenu "Atmel AT91 System-on-Chip" 339d041268SAndrew Victor 348f0cdcc5SLudovic Desrocheschoice 358f0cdcc5SLudovic Desroches 368f0cdcc5SLudovic Desroches prompt "Core type" 378f0cdcc5SLudovic Desroches 388f0cdcc5SLudovic Desrochesconfig SOC_SAM_V4_V5 398f0cdcc5SLudovic Desroches bool "ARM7/ARM9" 408f0cdcc5SLudovic Desroches help 418f0cdcc5SLudovic Desroches Select this if you are using one of Atmel's AT91SAM9, AT91RM9200 428f0cdcc5SLudovic Desroches or AT91X40 SoC. 438f0cdcc5SLudovic Desroches 448f0cdcc5SLudovic Desrochesendchoice 458f0cdcc5SLudovic Desroches 461e3ce2b8SJean-Christophe PLAGNIOL-VILLARDcomment "Atmel AT91 Processor" 479d041268SAndrew Victor 488f0cdcc5SLudovic Desrochesif SOC_SAM_V4_V5 491e3ce2b8SJean-Christophe PLAGNIOL-VILLARDconfig SOC_AT91RM9200 509d041268SAndrew Victor bool "AT91RM9200" 51c750815eSRussell King select CPU_ARM920T 525e802dfaSDavid Brownell select GENERIC_CLOCKEVENTS 5313079a73SJean-Christophe PLAGNIOL-VILLARD select HAVE_AT91_DBGU0 54b1b3f49cSRussell King select MULTI_IRQ_HANDLER 55b1b3f49cSRussell King select SPARSE_IRQ 569d041268SAndrew Victor 571e3ce2b8SJean-Christophe PLAGNIOL-VILLARDconfig SOC_AT91SAM9260 581e3ce2b8SJean-Christophe PLAGNIOL-VILLARD bool "AT91SAM9260, AT91SAM9XE or AT91SAM9G20" 5913079a73SJean-Christophe PLAGNIOL-VILLARD select HAVE_AT91_DBGU0 60b1b3f49cSRussell King select SOC_AT91SAM9 611e3ce2b8SJean-Christophe PLAGNIOL-VILLARD help 621e3ce2b8SJean-Christophe PLAGNIOL-VILLARD Select this if you are using one of Atmel's AT91SAM9260, AT91SAM9XE 631e3ce2b8SJean-Christophe PLAGNIOL-VILLARD or AT91SAM9G20 SoC. 649d041268SAndrew Victor 651e3ce2b8SJean-Christophe PLAGNIOL-VILLARDconfig SOC_AT91SAM9261 661e3ce2b8SJean-Christophe PLAGNIOL-VILLARD bool "AT91SAM9261 or AT91SAM9G10" 6713079a73SJean-Christophe PLAGNIOL-VILLARD select HAVE_AT91_DBGU0 680912e535SNicolas Ferre select HAVE_FB_ATMEL 69b1b3f49cSRussell King select SOC_AT91SAM9 701e3ce2b8SJean-Christophe PLAGNIOL-VILLARD help 711e3ce2b8SJean-Christophe PLAGNIOL-VILLARD Select this if you are using one of Atmel's AT91SAM9261 or AT91SAM9G10 SoC. 72b319ff80SNicolas Ferre 731e3ce2b8SJean-Christophe PLAGNIOL-VILLARDconfig SOC_AT91SAM9263 74b2c65616SAndrew Victor bool "AT91SAM9263" 751e3ce2b8SJean-Christophe PLAGNIOL-VILLARD select HAVE_AT91_DBGU1 760912e535SNicolas Ferre select HAVE_FB_ATMEL 77b1b3f49cSRussell King select SOC_AT91SAM9 78b2c65616SAndrew Victor 791e3ce2b8SJean-Christophe PLAGNIOL-VILLARDconfig SOC_AT91SAM9RL 80877d7720SAndrew Victor bool "AT91SAM9RL" 811e3ce2b8SJean-Christophe PLAGNIOL-VILLARD select HAVE_AT91_DBGU0 820912e535SNicolas Ferre select HAVE_FB_ATMEL 83b1b3f49cSRussell King select SOC_AT91SAM9 84877d7720SAndrew Victor 851e3ce2b8SJean-Christophe PLAGNIOL-VILLARDconfig SOC_AT91SAM9G45 86ca1dcbf7SNicolas Ferre bool "AT91SAM9G45 or AT91SAM9M10 families" 871e3ce2b8SJean-Christophe PLAGNIOL-VILLARD select HAVE_AT91_DBGU1 880912e535SNicolas Ferre select HAVE_FB_ATMEL 89b1b3f49cSRussell King select SOC_AT91SAM9 90ca1dcbf7SNicolas Ferre help 91ca1dcbf7SNicolas Ferre Select this if you are using one of Atmel's AT91SAM9G45 family SoC. 92ca1dcbf7SNicolas Ferre This support covers AT91SAM9G45, AT91SAM9G46, AT91SAM9M10 and AT91SAM9M11. 93789b23bcSNicolas Ferre 941e3ce2b8SJean-Christophe PLAGNIOL-VILLARDconfig SOC_AT91SAM9X5 959a3ee403SNicolas Ferre bool "AT91SAM9x5 family" 961e3ce2b8SJean-Christophe PLAGNIOL-VILLARD select HAVE_AT91_DBGU0 979a3ee403SNicolas Ferre select HAVE_FB_ATMEL 98b1b3f49cSRussell King select SOC_AT91SAM9 99a26e1af5SNicolas Ferre help 100a26e1af5SNicolas Ferre Select this if you are using one of Atmel's AT91SAM9x5 family SoC. 101a26e1af5SNicolas Ferre This means that your SAM9 name finishes with a '5' (except if it is 102a26e1af5SNicolas Ferre AT91SAM9G45!). 103a26e1af5SNicolas Ferre This support covers AT91SAM9G15, AT91SAM9G25, AT91SAM9X25, AT91SAM9G35 104a26e1af5SNicolas Ferre and AT91SAM9X35. 1059a3ee403SNicolas Ferre 10674db4fb9SHong Xuconfig SOC_AT91SAM9N12 10774db4fb9SHong Xu bool "AT91SAM9N12 family" 10874db4fb9SHong Xu select HAVE_AT91_DBGU0 10974db4fb9SHong Xu select HAVE_FB_ATMEL 110b1b3f49cSRussell King select SOC_AT91SAM9 11174db4fb9SHong Xu help 11274db4fb9SHong Xu Select this if you are using Atmel's AT91SAM9N12 SoC. 11374db4fb9SHong Xu 1149d041268SAndrew Victor# ---------------------------------------------------------- 1159d041268SAndrew Victor 1163ae8dbdcSJean-Christophe PLAGNIOL-VILLARDsource arch/arm/mach-at91/Kconfig.non_dt 1178f0cdcc5SLudovic Desrochesendif # SOC_SAM_V4_V5 1189f1ccefeSGreg Ungerer 11949fe2ba3SNicolas Ferrecomment "Generic Board Type" 12049fe2ba3SNicolas Ferre 121397f8c3cSJoachim Eastwoodconfig MACH_AT91RM9200_DT 122397f8c3cSJoachim Eastwood bool "Atmel AT91RM9200 Evaluation Kits with device-tree support" 123397f8c3cSJoachim Eastwood depends on SOC_AT91RM9200 124397f8c3cSJoachim Eastwood select USE_OF 125397f8c3cSJoachim Eastwood help 126397f8c3cSJoachim Eastwood Select this if you want to experiment device-tree with 127397f8c3cSJoachim Eastwood an Atmel RM9200 Evaluation Kit. 128397f8c3cSJoachim Eastwood 1294afcd1dbSJean-Christophe PLAGNIOL-VILLARDconfig MACH_AT91SAM9_DT 13049fe2ba3SNicolas Ferre bool "Atmel AT91SAM Evaluation Kits with device-tree support" 13135ed3c7aSJoachim Eastwood depends on SOC_AT91SAM9 13249fe2ba3SNicolas Ferre select USE_OF 13349fe2ba3SNicolas Ferre help 13449fe2ba3SNicolas Ferre Select this if you want to experiment device-tree with 13549fe2ba3SNicolas Ferre an Atmel Evaluation Kit. 13649fe2ba3SNicolas Ferre 13749fe2ba3SNicolas Ferre# ---------------------------------------------------------- 13849fe2ba3SNicolas Ferre 1399d041268SAndrew Victorcomment "AT91 Feature Selections" 1409d041268SAndrew Victor 1419d041268SAndrew Victorconfig AT91_PROGRAMMABLE_CLOCKS 1429d041268SAndrew Victor bool "Programmable Clocks" 1439d041268SAndrew Victor help 1449d041268SAndrew Victor Select this if you need to program one or more of the PCK0..PCK3 1459d041268SAndrew Victor programmable clock outputs. 1469d041268SAndrew Victor 147eaad2db0SAndrew Victorconfig AT91_SLOW_CLOCK 148eaad2db0SAndrew Victor bool "Suspend-to-RAM disables main oscillator" 149eaad2db0SAndrew Victor depends on SUSPEND 150eaad2db0SAndrew Victor help 151eaad2db0SAndrew Victor Select this if you want Suspend-to-RAM to save the most power 152eaad2db0SAndrew Victor possible (without powering off the CPU) by disabling the PLLs 153eaad2db0SAndrew Victor and main oscillator so that only the 32 KiHz clock is available. 154eaad2db0SAndrew Victor 155eaad2db0SAndrew Victor When only that slow-clock is available, some peripherals lose 156eaad2db0SAndrew Victor functionality. Many can't issue wakeup events unless faster 157eaad2db0SAndrew Victor clocks are available. Some lose their operating state and 158eaad2db0SAndrew Victor need to be completely re-initialized. 159eaad2db0SAndrew Victor 1605248c657SDavid Brownellconfig AT91_TIMER_HZ 1615248c657SDavid Brownell int "Kernel HZ (jiffies per second)" 1625248c657SDavid Brownell range 32 1024 1635248c657SDavid Brownell depends on ARCH_AT91 1645248c657SDavid Brownell default "128" if ARCH_AT91RM9200 1655248c657SDavid Brownell default "100" 1665248c657SDavid Brownell help 1675248c657SDavid Brownell On AT91rm9200 chips where you're using a system clock derived 1685248c657SDavid Brownell from the 32768 Hz hardware clock, this tick rate should divide 1695248c657SDavid Brownell it exactly: use a power-of-two value, such as 128 or 256, to 1705248c657SDavid Brownell reduce timing errors caused by rounding. 1715248c657SDavid Brownell 1725248c657SDavid Brownell On AT91sam926x chips, or otherwise when using a higher precision 1735248c657SDavid Brownell system clock (of at least several MHz), rounding is less of a 1745248c657SDavid Brownell problem so it can be safer to use a decimal values like 100. 1755248c657SDavid Brownell 1769d041268SAndrew Victorendmenu 1779d041268SAndrew Victor 1789d041268SAndrew Victorendif 179