19d041268SAndrew Victorif ARCH_AT91 29d041268SAndrew Victor 3f090fb37SBoris BREZILLONconfig HAVE_AT91_UTMI 4f090fb37SBoris BREZILLON bool 5f090fb37SBoris BREZILLON 6c84a61d8SBoris BREZILLONconfig HAVE_AT91_USB_CLK 7c84a61d8SBoris BREZILLON bool 8c84a61d8SBoris BREZILLON 913079a73SJean-Christophe PLAGNIOL-VILLARDconfig HAVE_AT91_DBGU0 1013079a73SJean-Christophe PLAGNIOL-VILLARD bool 1113079a73SJean-Christophe PLAGNIOL-VILLARD 1213079a73SJean-Christophe PLAGNIOL-VILLARDconfig HAVE_AT91_DBGU1 1313079a73SJean-Christophe PLAGNIOL-VILLARD bool 1413079a73SJean-Christophe PLAGNIOL-VILLARD 15c8a8c630SBoris BREZILLONconfig AT91_USE_OLD_CLK 16c8a8c630SBoris BREZILLON bool 17c8a8c630SBoris BREZILLON 188f0cdcc5SLudovic Desrochesconfig AT91_PMC_UNIT 198f0cdcc5SLudovic Desroches bool 208f0cdcc5SLudovic Desroches default !ARCH_AT91X40 218f0cdcc5SLudovic Desroches 22c8a8c630SBoris BREZILLONconfig COMMON_CLK_AT91 23c8a8c630SBoris BREZILLON bool 24c8a8c630SBoris BREZILLON default AT91_PMC_UNIT && USE_OF && !AT91_USE_OLD_CLK 25c8a8c630SBoris BREZILLON select COMMON_CLK 26c8a8c630SBoris BREZILLON 27c8a8c630SBoris BREZILLONconfig OLD_CLK_AT91 28c8a8c630SBoris BREZILLON bool 29c8a8c630SBoris BREZILLON default AT91_PMC_UNIT && AT91_USE_OLD_CLK 30c8a8c630SBoris BREZILLON 31c0177594SJean-Christophe PLAGNIOL-VILLARDconfig AT91_SAM9_ALT_RESET 32c0177594SJean-Christophe PLAGNIOL-VILLARD bool 3321ea52aaSJean-Christophe PLAGNIOL-VILLARD default !ARCH_AT91X40 34c0177594SJean-Christophe PLAGNIOL-VILLARD 3514f991a7SJean-Christophe PLAGNIOL-VILLARDconfig AT91_SAM9G45_RESET 3614f991a7SJean-Christophe PLAGNIOL-VILLARD bool 3721ea52aaSJean-Christophe PLAGNIOL-VILLARD default !ARCH_AT91X40 3814f991a7SJean-Christophe PLAGNIOL-VILLARD 39fc05b657SLudovic Desrochesconfig AT91_SAM9_TIME 40fc05b657SLudovic Desroches bool 41fc05b657SLudovic Desroches 42a9c0688fSBoris BREZILLONconfig HAVE_AT91_SMD 43a9c0688fSBoris BREZILLON bool 44a9c0688fSBoris BREZILLON 451441bd32SJean-Christophe PLAGNIOL-VILLARDconfig SOC_AT91SAM9 461441bd32SJean-Christophe PLAGNIOL-VILLARD bool 47fc05b657SLudovic Desroches select AT91_SAM9_TIME 481441bd32SJean-Christophe PLAGNIOL-VILLARD select CPU_ARM926T 49b1b3f49cSRussell King select GENERIC_CLOCKEVENTS 5008d04a13SJean-Christophe PLAGNIOL-VILLARD select MULTI_IRQ_HANDLER 5108d04a13SJean-Christophe PLAGNIOL-VILLARD select SPARSE_IRQ 5263e60368SAlexandre Belloni select MEMORY if USE_OF 5363e60368SAlexandre Belloni select ATMEL_SDRAMC if USE_OF 541441bd32SJean-Christophe PLAGNIOL-VILLARD 558f4b4794SLudovic Desrochesconfig SOC_SAMA5 568f4b4794SLudovic Desroches bool 578f4b4794SLudovic Desroches select AT91_SAM9_TIME 588f4b4794SLudovic Desroches select CPU_V7 598f4b4794SLudovic Desroches select GENERIC_CLOCKEVENTS 608f4b4794SLudovic Desroches select MULTI_IRQ_HANDLER 618f4b4794SLudovic Desroches select SPARSE_IRQ 62a1628604SArnd Bergmann select USE_OF 6363e60368SAlexandre Belloni select MEMORY 6463e60368SAlexandre Belloni select ATMEL_SDRAMC 658f4b4794SLudovic Desroches 669d041268SAndrew Victormenu "Atmel AT91 System-on-Chip" 679d041268SAndrew Victor 688f0cdcc5SLudovic Desrocheschoice 698f0cdcc5SLudovic Desroches 708f0cdcc5SLudovic Desroches prompt "Core type" 718f0cdcc5SLudovic Desroches 72fe138c23SArnd Bergmannconfig ARCH_AT91X40 73fe138c23SArnd Bergmann bool "ARM7 AT91X40" 74fe138c23SArnd Bergmann depends on !MMU 75fe138c23SArnd Bergmann select CPU_ARM7TDMI 76fe138c23SArnd Bergmann select ARCH_USES_GETTIMEOFFSET 77fe138c23SArnd Bergmann select MULTI_IRQ_HANDLER 78fe138c23SArnd Bergmann select SPARSE_IRQ 79fe138c23SArnd Bergmann 808f0cdcc5SLudovic Desroches help 81fe138c23SArnd Bergmann Select this if you are using one of Atmel's AT91X40 SoC. 82fe138c23SArnd Bergmann 83fe138c23SArnd Bergmannconfig SOC_SAM_V4_V5 84fe138c23SArnd Bergmann bool "ARM9 AT91SAM9/AT91RM9200" 85fe138c23SArnd Bergmann help 86fe138c23SArnd Bergmann Select this if you are using one of Atmel's AT91SAM9 or 87fe138c23SArnd Bergmann AT91RM9200 SoC. 888f0cdcc5SLudovic Desroches 898f4b4794SLudovic Desrochesconfig SOC_SAM_V7 908f4b4794SLudovic Desroches bool "Cortex A5" 918f4b4794SLudovic Desroches help 928f4b4794SLudovic Desroches Select this if you are using one of Atmel's SAMA5D3 SoC. 938f4b4794SLudovic Desroches 948f0cdcc5SLudovic Desrochesendchoice 958f0cdcc5SLudovic Desroches 961e3ce2b8SJean-Christophe PLAGNIOL-VILLARDcomment "Atmel AT91 Processor" 979d041268SAndrew Victor 988f4b4794SLudovic Desrochesif SOC_SAM_V7 998f4b4794SLudovic Desrochesconfig SOC_SAMA5D3 1008f4b4794SLudovic Desroches bool "SAMA5D3 family" 1018f4b4794SLudovic Desroches select SOC_SAMA5 1028f4b4794SLudovic Desroches select HAVE_FB_ATMEL 1038f4b4794SLudovic Desroches select HAVE_AT91_DBGU1 104f090fb37SBoris BREZILLON select HAVE_AT91_UTMI 105a9c0688fSBoris BREZILLON select HAVE_AT91_SMD 106c84a61d8SBoris BREZILLON select HAVE_AT91_USB_CLK 1078f4b4794SLudovic Desroches help 1088f4b4794SLudovic Desroches Select this if you are using one of Atmel's SAMA5D3 family SoC. 1097f457160SJosh Wu This support covers SAMA5D31, SAMA5D33, SAMA5D34, SAMA5D35, SAMA5D36. 1108f4b4794SLudovic Desrochesendif 1118f4b4794SLudovic Desroches 1128f0cdcc5SLudovic Desrochesif SOC_SAM_V4_V5 1131e3ce2b8SJean-Christophe PLAGNIOL-VILLARDconfig SOC_AT91RM9200 1149d041268SAndrew Victor bool "AT91RM9200" 115c750815eSRussell King select CPU_ARM920T 1165e802dfaSDavid Brownell select GENERIC_CLOCKEVENTS 11713079a73SJean-Christophe PLAGNIOL-VILLARD select HAVE_AT91_DBGU0 118b1b3f49cSRussell King select MULTI_IRQ_HANDLER 119b1b3f49cSRussell King select SPARSE_IRQ 120c8a8c630SBoris BREZILLON select AT91_USE_OLD_CLK 121c84a61d8SBoris BREZILLON select HAVE_AT91_USB_CLK 1229d041268SAndrew Victor 1231e3ce2b8SJean-Christophe PLAGNIOL-VILLARDconfig SOC_AT91SAM9260 1241e3ce2b8SJean-Christophe PLAGNIOL-VILLARD bool "AT91SAM9260, AT91SAM9XE or AT91SAM9G20" 12513079a73SJean-Christophe PLAGNIOL-VILLARD select HAVE_AT91_DBGU0 126b1b3f49cSRussell King select SOC_AT91SAM9 127c8a8c630SBoris BREZILLON select AT91_USE_OLD_CLK 128c84a61d8SBoris BREZILLON select HAVE_AT91_USB_CLK 1291e3ce2b8SJean-Christophe PLAGNIOL-VILLARD help 1301e3ce2b8SJean-Christophe PLAGNIOL-VILLARD Select this if you are using one of Atmel's AT91SAM9260, AT91SAM9XE 1311e3ce2b8SJean-Christophe PLAGNIOL-VILLARD or AT91SAM9G20 SoC. 1329d041268SAndrew Victor 1331e3ce2b8SJean-Christophe PLAGNIOL-VILLARDconfig SOC_AT91SAM9261 1341e3ce2b8SJean-Christophe PLAGNIOL-VILLARD bool "AT91SAM9261 or AT91SAM9G10" 13513079a73SJean-Christophe PLAGNIOL-VILLARD select HAVE_AT91_DBGU0 1360912e535SNicolas Ferre select HAVE_FB_ATMEL 137b1b3f49cSRussell King select SOC_AT91SAM9 138c84a61d8SBoris BREZILLON select HAVE_AT91_USB_CLK 1391e3ce2b8SJean-Christophe PLAGNIOL-VILLARD help 1401e3ce2b8SJean-Christophe PLAGNIOL-VILLARD Select this if you are using one of Atmel's AT91SAM9261 or AT91SAM9G10 SoC. 141b319ff80SNicolas Ferre 1421e3ce2b8SJean-Christophe PLAGNIOL-VILLARDconfig SOC_AT91SAM9263 143b2c65616SAndrew Victor bool "AT91SAM9263" 1441e3ce2b8SJean-Christophe PLAGNIOL-VILLARD select HAVE_AT91_DBGU1 1450912e535SNicolas Ferre select HAVE_FB_ATMEL 146b1b3f49cSRussell King select SOC_AT91SAM9 147c8a8c630SBoris BREZILLON select AT91_USE_OLD_CLK 148c84a61d8SBoris BREZILLON select HAVE_AT91_USB_CLK 149b2c65616SAndrew Victor 1501e3ce2b8SJean-Christophe PLAGNIOL-VILLARDconfig SOC_AT91SAM9RL 151877d7720SAndrew Victor bool "AT91SAM9RL" 1521e3ce2b8SJean-Christophe PLAGNIOL-VILLARD select HAVE_AT91_DBGU0 1530912e535SNicolas Ferre select HAVE_FB_ATMEL 154b1b3f49cSRussell King select SOC_AT91SAM9 155f090fb37SBoris BREZILLON select HAVE_AT91_UTMI 156877d7720SAndrew Victor 1571e3ce2b8SJean-Christophe PLAGNIOL-VILLARDconfig SOC_AT91SAM9G45 158ca1dcbf7SNicolas Ferre bool "AT91SAM9G45 or AT91SAM9M10 families" 1591e3ce2b8SJean-Christophe PLAGNIOL-VILLARD select HAVE_AT91_DBGU1 1600912e535SNicolas Ferre select HAVE_FB_ATMEL 161b1b3f49cSRussell King select SOC_AT91SAM9 162c8a8c630SBoris BREZILLON select AT91_USE_OLD_CLK 163f090fb37SBoris BREZILLON select HAVE_AT91_UTMI 164c84a61d8SBoris BREZILLON select HAVE_AT91_USB_CLK 165ca1dcbf7SNicolas Ferre help 166ca1dcbf7SNicolas Ferre Select this if you are using one of Atmel's AT91SAM9G45 family SoC. 167ca1dcbf7SNicolas Ferre This support covers AT91SAM9G45, AT91SAM9G46, AT91SAM9M10 and AT91SAM9M11. 168789b23bcSNicolas Ferre 1691e3ce2b8SJean-Christophe PLAGNIOL-VILLARDconfig SOC_AT91SAM9X5 1709a3ee403SNicolas Ferre bool "AT91SAM9x5 family" 1711e3ce2b8SJean-Christophe PLAGNIOL-VILLARD select HAVE_AT91_DBGU0 1729a3ee403SNicolas Ferre select HAVE_FB_ATMEL 173b1b3f49cSRussell King select SOC_AT91SAM9 174f090fb37SBoris BREZILLON select HAVE_AT91_UTMI 175a9c0688fSBoris BREZILLON select HAVE_AT91_SMD 176c84a61d8SBoris BREZILLON select HAVE_AT91_USB_CLK 177a26e1af5SNicolas Ferre help 178a26e1af5SNicolas Ferre Select this if you are using one of Atmel's AT91SAM9x5 family SoC. 179a26e1af5SNicolas Ferre This means that your SAM9 name finishes with a '5' (except if it is 180a26e1af5SNicolas Ferre AT91SAM9G45!). 181a26e1af5SNicolas Ferre This support covers AT91SAM9G15, AT91SAM9G25, AT91SAM9X25, AT91SAM9G35 182a26e1af5SNicolas Ferre and AT91SAM9X35. 1839a3ee403SNicolas Ferre 18474db4fb9SHong Xuconfig SOC_AT91SAM9N12 18574db4fb9SHong Xu bool "AT91SAM9N12 family" 18674db4fb9SHong Xu select HAVE_AT91_DBGU0 18774db4fb9SHong Xu select HAVE_FB_ATMEL 188b1b3f49cSRussell King select SOC_AT91SAM9 189c84a61d8SBoris BREZILLON select HAVE_AT91_USB_CLK 19074db4fb9SHong Xu help 19174db4fb9SHong Xu Select this if you are using Atmel's AT91SAM9N12 SoC. 19274db4fb9SHong Xu 1939d041268SAndrew Victor# ---------------------------------------------------------- 1948f0cdcc5SLudovic Desrochesendif # SOC_SAM_V4_V5 1959f1ccefeSGreg Ungerer 196fe138c23SArnd Bergmann 197fe138c23SArnd Bergmannif SOC_SAM_V4_V5 || ARCH_AT91X40 198fe138c23SArnd Bergmannsource arch/arm/mach-at91/Kconfig.non_dt 199fe138c23SArnd Bergmannendif 200fe138c23SArnd Bergmann 20149fe2ba3SNicolas Ferrecomment "Generic Board Type" 20249fe2ba3SNicolas Ferre 203397f8c3cSJoachim Eastwoodconfig MACH_AT91RM9200_DT 204397f8c3cSJoachim Eastwood bool "Atmel AT91RM9200 Evaluation Kits with device-tree support" 205397f8c3cSJoachim Eastwood depends on SOC_AT91RM9200 206397f8c3cSJoachim Eastwood select USE_OF 207397f8c3cSJoachim Eastwood help 208397f8c3cSJoachim Eastwood Select this if you want to experiment device-tree with 209397f8c3cSJoachim Eastwood an Atmel RM9200 Evaluation Kit. 210397f8c3cSJoachim Eastwood 2114afcd1dbSJean-Christophe PLAGNIOL-VILLARDconfig MACH_AT91SAM9_DT 21249fe2ba3SNicolas Ferre bool "Atmel AT91SAM Evaluation Kits with device-tree support" 21335ed3c7aSJoachim Eastwood depends on SOC_AT91SAM9 21449fe2ba3SNicolas Ferre select USE_OF 21549fe2ba3SNicolas Ferre help 21649fe2ba3SNicolas Ferre Select this if you want to experiment device-tree with 21749fe2ba3SNicolas Ferre an Atmel Evaluation Kit. 21849fe2ba3SNicolas Ferre 2198f4b4794SLudovic Desrochesconfig MACH_SAMA5_DT 2208f4b4794SLudovic Desroches bool "Atmel SAMA5 Evaluation Kits with device-tree support" 2218f4b4794SLudovic Desroches depends on SOC_SAMA5 2228f4b4794SLudovic Desroches select USE_OF 2230580ed36SAlexandre Belloni select PHYLIB if NETDEVICES 2248f4b4794SLudovic Desroches help 2258f4b4794SLudovic Desroches Select this if you want to experiment device-tree with 2268f4b4794SLudovic Desroches an Atmel Evaluation Kit. 2278f4b4794SLudovic Desroches 22849fe2ba3SNicolas Ferre# ---------------------------------------------------------- 22949fe2ba3SNicolas Ferre 2309d041268SAndrew Victorcomment "AT91 Feature Selections" 2319d041268SAndrew Victor 232eaad2db0SAndrew Victorconfig AT91_SLOW_CLOCK 233eaad2db0SAndrew Victor bool "Suspend-to-RAM disables main oscillator" 234eaad2db0SAndrew Victor depends on SUSPEND 235eaad2db0SAndrew Victor help 236eaad2db0SAndrew Victor Select this if you want Suspend-to-RAM to save the most power 237eaad2db0SAndrew Victor possible (without powering off the CPU) by disabling the PLLs 238eaad2db0SAndrew Victor and main oscillator so that only the 32 KiHz clock is available. 239eaad2db0SAndrew Victor 240eaad2db0SAndrew Victor When only that slow-clock is available, some peripherals lose 241eaad2db0SAndrew Victor functionality. Many can't issue wakeup events unless faster 242eaad2db0SAndrew Victor clocks are available. Some lose their operating state and 243eaad2db0SAndrew Victor need to be completely re-initialized. 244eaad2db0SAndrew Victor 2455248c657SDavid Brownellconfig AT91_TIMER_HZ 2465248c657SDavid Brownell int "Kernel HZ (jiffies per second)" 2475248c657SDavid Brownell range 32 1024 2485248c657SDavid Brownell depends on ARCH_AT91 2495248c657SDavid Brownell default "128" if ARCH_AT91RM9200 2505248c657SDavid Brownell default "100" 2515248c657SDavid Brownell help 2525248c657SDavid Brownell On AT91rm9200 chips where you're using a system clock derived 2535248c657SDavid Brownell from the 32768 Hz hardware clock, this tick rate should divide 2545248c657SDavid Brownell it exactly: use a power-of-two value, such as 128 or 256, to 2555248c657SDavid Brownell reduce timing errors caused by rounding. 2565248c657SDavid Brownell 2575248c657SDavid Brownell On AT91sam926x chips, or otherwise when using a higher precision 2585248c657SDavid Brownell system clock (of at least several MHz), rounding is less of a 2595248c657SDavid Brownell problem so it can be safer to use a decimal values like 100. 2605248c657SDavid Brownell 2619d041268SAndrew Victorendmenu 2629d041268SAndrew Victor 2639d041268SAndrew Victorendif 264