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 152dc850b6SNicolas Ferreconfig HAVE_AT91_DBGU2 162dc850b6SNicolas Ferre bool 172dc850b6SNicolas Ferre 18c8a8c630SBoris BREZILLONconfig AT91_USE_OLD_CLK 19c8a8c630SBoris BREZILLON bool 20c8a8c630SBoris BREZILLON 21c8a8c630SBoris BREZILLONconfig COMMON_CLK_AT91 22c8a8c630SBoris BREZILLON bool 237538ec7dSNicolas Ferre default USE_OF && !AT91_USE_OLD_CLK 24c8a8c630SBoris BREZILLON select COMMON_CLK 25c8a8c630SBoris BREZILLON 26c8a8c630SBoris BREZILLONconfig OLD_CLK_AT91 27c8a8c630SBoris BREZILLON bool 287538ec7dSNicolas Ferre default AT91_USE_OLD_CLK 29c8a8c630SBoris BREZILLON 3091a55d4fSBoris BREZILLONconfig OLD_IRQ_AT91 3191a55d4fSBoris BREZILLON bool 3291a55d4fSBoris BREZILLON select MULTI_IRQ_HANDLER 3391a55d4fSBoris BREZILLON select SPARSE_IRQ 3491a55d4fSBoris BREZILLON 35a9c0688fSBoris BREZILLONconfig HAVE_AT91_SMD 36a9c0688fSBoris BREZILLON bool 37a9c0688fSBoris BREZILLON 38bcc5fd49SAlexandre Belloniconfig HAVE_AT91_H32MX 39bcc5fd49SAlexandre Belloni bool 40bcc5fd49SAlexandre Belloni 411441bd32SJean-Christophe PLAGNIOL-VILLARDconfig SOC_AT91SAM9 421441bd32SJean-Christophe PLAGNIOL-VILLARD bool 433b26f39bSBoris BREZILLON select ATMEL_AIC_IRQ if !OLD_IRQ_AT91 441441bd32SJean-Christophe PLAGNIOL-VILLARD select CPU_ARM926T 45b1b3f49cSRussell King select GENERIC_CLOCKEVENTS 4663e60368SAlexandre Belloni select MEMORY if USE_OF 4763e60368SAlexandre Belloni select ATMEL_SDRAMC if USE_OF 481441bd32SJean-Christophe PLAGNIOL-VILLARD 498f4b4794SLudovic Desrochesconfig SOC_SAMA5 508f4b4794SLudovic Desroches bool 513b26f39bSBoris BREZILLON select ATMEL_AIC5_IRQ 528f4b4794SLudovic Desroches select CPU_V7 538f4b4794SLudovic Desroches select GENERIC_CLOCKEVENTS 54a1628604SArnd Bergmann select USE_OF 5563e60368SAlexandre Belloni select MEMORY 5663e60368SAlexandre Belloni select ATMEL_SDRAMC 578f4b4794SLudovic Desroches 589d041268SAndrew Victormenu "Atmel AT91 System-on-Chip" 599d041268SAndrew Victor 608f0cdcc5SLudovic Desrocheschoice 618f0cdcc5SLudovic Desroches 628f0cdcc5SLudovic Desroches prompt "Core type" 638f0cdcc5SLudovic Desroches 64fe138c23SArnd Bergmannconfig SOC_SAM_V4_V5 65fe138c23SArnd Bergmann bool "ARM9 AT91SAM9/AT91RM9200" 66fe138c23SArnd Bergmann help 67fe138c23SArnd Bergmann Select this if you are using one of Atmel's AT91SAM9 or 68fe138c23SArnd Bergmann AT91RM9200 SoC. 698f0cdcc5SLudovic Desroches 708f4b4794SLudovic Desrochesconfig SOC_SAM_V7 718f4b4794SLudovic Desroches bool "Cortex A5" 728f4b4794SLudovic Desroches help 738f4b4794SLudovic Desroches Select this if you are using one of Atmel's SAMA5D3 SoC. 748f4b4794SLudovic Desroches 758f0cdcc5SLudovic Desrochesendchoice 768f0cdcc5SLudovic Desroches 771e3ce2b8SJean-Christophe PLAGNIOL-VILLARDcomment "Atmel AT91 Processor" 789d041268SAndrew Victor 798f4b4794SLudovic Desrochesif SOC_SAM_V7 808f4b4794SLudovic Desrochesconfig SOC_SAMA5D3 818f4b4794SLudovic Desroches bool "SAMA5D3 family" 828f4b4794SLudovic Desroches select SOC_SAMA5 838f4b4794SLudovic Desroches select HAVE_FB_ATMEL 848f4b4794SLudovic Desroches select HAVE_AT91_DBGU1 85f090fb37SBoris BREZILLON select HAVE_AT91_UTMI 86a9c0688fSBoris BREZILLON select HAVE_AT91_SMD 87c84a61d8SBoris BREZILLON select HAVE_AT91_USB_CLK 888f4b4794SLudovic Desroches help 898f4b4794SLudovic Desroches Select this if you are using one of Atmel's SAMA5D3 family SoC. 907f457160SJosh Wu This support covers SAMA5D31, SAMA5D33, SAMA5D34, SAMA5D35, SAMA5D36. 912dc850b6SNicolas Ferre 922dc850b6SNicolas Ferreconfig SOC_SAMA5D4 932dc850b6SNicolas Ferre bool "SAMA5D4 family" 942dc850b6SNicolas Ferre select SOC_SAMA5 952dc850b6SNicolas Ferre select HAVE_AT91_DBGU2 962dc850b6SNicolas Ferre select CLKSRC_MMIO 972dc850b6SNicolas Ferre select CACHE_L2X0 982dc850b6SNicolas Ferre select CACHE_PL310 992dc850b6SNicolas Ferre select HAVE_FB_ATMEL 1002dc850b6SNicolas Ferre select HAVE_AT91_UTMI 1012dc850b6SNicolas Ferre select HAVE_AT91_SMD 1022dc850b6SNicolas Ferre select HAVE_AT91_USB_CLK 1032dc850b6SNicolas Ferre select HAVE_AT91_H32MX 1042dc850b6SNicolas Ferre help 1052dc850b6SNicolas Ferre Select this if you are using one of Atmel's SAMA5D4 family SoC. 1068f4b4794SLudovic Desrochesendif 1078f4b4794SLudovic Desroches 1088f0cdcc5SLudovic Desrochesif SOC_SAM_V4_V5 1091e3ce2b8SJean-Christophe PLAGNIOL-VILLARDconfig SOC_AT91RM9200 1109d041268SAndrew Victor bool "AT91RM9200" 1113b26f39bSBoris BREZILLON select ATMEL_AIC_IRQ if !OLD_IRQ_AT91 112c750815eSRussell King select CPU_ARM920T 1135e802dfaSDavid Brownell select GENERIC_CLOCKEVENTS 11413079a73SJean-Christophe PLAGNIOL-VILLARD select HAVE_AT91_DBGU0 115c84a61d8SBoris BREZILLON select HAVE_AT91_USB_CLK 1169d041268SAndrew Victor 1171e3ce2b8SJean-Christophe PLAGNIOL-VILLARDconfig SOC_AT91SAM9260 1181e3ce2b8SJean-Christophe PLAGNIOL-VILLARD bool "AT91SAM9260, AT91SAM9XE or AT91SAM9G20" 11913079a73SJean-Christophe PLAGNIOL-VILLARD select HAVE_AT91_DBGU0 120b1b3f49cSRussell King select SOC_AT91SAM9 121c84a61d8SBoris BREZILLON select HAVE_AT91_USB_CLK 1221e3ce2b8SJean-Christophe PLAGNIOL-VILLARD help 1231e3ce2b8SJean-Christophe PLAGNIOL-VILLARD Select this if you are using one of Atmel's AT91SAM9260, AT91SAM9XE 1241e3ce2b8SJean-Christophe PLAGNIOL-VILLARD or AT91SAM9G20 SoC. 1259d041268SAndrew Victor 1261e3ce2b8SJean-Christophe PLAGNIOL-VILLARDconfig SOC_AT91SAM9261 1271e3ce2b8SJean-Christophe PLAGNIOL-VILLARD bool "AT91SAM9261 or AT91SAM9G10" 12813079a73SJean-Christophe PLAGNIOL-VILLARD select HAVE_AT91_DBGU0 1290912e535SNicolas Ferre select HAVE_FB_ATMEL 130b1b3f49cSRussell King select SOC_AT91SAM9 131c84a61d8SBoris BREZILLON select HAVE_AT91_USB_CLK 1321e3ce2b8SJean-Christophe PLAGNIOL-VILLARD help 1331e3ce2b8SJean-Christophe PLAGNIOL-VILLARD Select this if you are using one of Atmel's AT91SAM9261 or AT91SAM9G10 SoC. 134b319ff80SNicolas Ferre 1351e3ce2b8SJean-Christophe PLAGNIOL-VILLARDconfig SOC_AT91SAM9263 136b2c65616SAndrew Victor bool "AT91SAM9263" 1371e3ce2b8SJean-Christophe PLAGNIOL-VILLARD select HAVE_AT91_DBGU1 1380912e535SNicolas Ferre select HAVE_FB_ATMEL 139b1b3f49cSRussell King select SOC_AT91SAM9 140c84a61d8SBoris BREZILLON select HAVE_AT91_USB_CLK 141b2c65616SAndrew Victor 1421e3ce2b8SJean-Christophe PLAGNIOL-VILLARDconfig SOC_AT91SAM9RL 143877d7720SAndrew Victor bool "AT91SAM9RL" 1441e3ce2b8SJean-Christophe PLAGNIOL-VILLARD select HAVE_AT91_DBGU0 1450912e535SNicolas Ferre select HAVE_FB_ATMEL 146b1b3f49cSRussell King select SOC_AT91SAM9 147f090fb37SBoris BREZILLON select HAVE_AT91_UTMI 148877d7720SAndrew Victor 1491e3ce2b8SJean-Christophe PLAGNIOL-VILLARDconfig SOC_AT91SAM9G45 150ca1dcbf7SNicolas Ferre bool "AT91SAM9G45 or AT91SAM9M10 families" 1511e3ce2b8SJean-Christophe PLAGNIOL-VILLARD select HAVE_AT91_DBGU1 1520912e535SNicolas Ferre select HAVE_FB_ATMEL 153b1b3f49cSRussell King select SOC_AT91SAM9 154f090fb37SBoris BREZILLON select HAVE_AT91_UTMI 155c84a61d8SBoris BREZILLON select HAVE_AT91_USB_CLK 156ca1dcbf7SNicolas Ferre help 157ca1dcbf7SNicolas Ferre Select this if you are using one of Atmel's AT91SAM9G45 family SoC. 158ca1dcbf7SNicolas Ferre This support covers AT91SAM9G45, AT91SAM9G46, AT91SAM9M10 and AT91SAM9M11. 159789b23bcSNicolas Ferre 1601e3ce2b8SJean-Christophe PLAGNIOL-VILLARDconfig SOC_AT91SAM9X5 1619a3ee403SNicolas Ferre bool "AT91SAM9x5 family" 1621e3ce2b8SJean-Christophe PLAGNIOL-VILLARD select HAVE_AT91_DBGU0 1639a3ee403SNicolas Ferre select HAVE_FB_ATMEL 164b1b3f49cSRussell King select SOC_AT91SAM9 165f090fb37SBoris BREZILLON select HAVE_AT91_UTMI 166a9c0688fSBoris BREZILLON select HAVE_AT91_SMD 167c84a61d8SBoris BREZILLON select HAVE_AT91_USB_CLK 168a26e1af5SNicolas Ferre help 169a26e1af5SNicolas Ferre Select this if you are using one of Atmel's AT91SAM9x5 family SoC. 170a26e1af5SNicolas Ferre This means that your SAM9 name finishes with a '5' (except if it is 171a26e1af5SNicolas Ferre AT91SAM9G45!). 172a26e1af5SNicolas Ferre This support covers AT91SAM9G15, AT91SAM9G25, AT91SAM9X25, AT91SAM9G35 173a26e1af5SNicolas Ferre and AT91SAM9X35. 1749a3ee403SNicolas Ferre 17574db4fb9SHong Xuconfig SOC_AT91SAM9N12 17674db4fb9SHong Xu bool "AT91SAM9N12 family" 17774db4fb9SHong Xu select HAVE_AT91_DBGU0 17874db4fb9SHong Xu select HAVE_FB_ATMEL 179b1b3f49cSRussell King select SOC_AT91SAM9 180c84a61d8SBoris BREZILLON select HAVE_AT91_USB_CLK 18174db4fb9SHong Xu help 18274db4fb9SHong Xu Select this if you are using Atmel's AT91SAM9N12 SoC. 18374db4fb9SHong Xu 1849d041268SAndrew Victor# ---------------------------------------------------------- 1858f0cdcc5SLudovic Desrochesendif # SOC_SAM_V4_V5 1869f1ccefeSGreg Ungerer 187fe138c23SArnd Bergmann 1887538ec7dSNicolas Ferreif SOC_SAM_V4_V5 189fe138c23SArnd Bergmannsource arch/arm/mach-at91/Kconfig.non_dt 190fe138c23SArnd Bergmannendif 191fe138c23SArnd Bergmann 19249fe2ba3SNicolas Ferrecomment "Generic Board Type" 19349fe2ba3SNicolas Ferre 194397f8c3cSJoachim Eastwoodconfig MACH_AT91RM9200_DT 195397f8c3cSJoachim Eastwood bool "Atmel AT91RM9200 Evaluation Kits with device-tree support" 196397f8c3cSJoachim Eastwood depends on SOC_AT91RM9200 197397f8c3cSJoachim Eastwood select USE_OF 198397f8c3cSJoachim Eastwood help 199397f8c3cSJoachim Eastwood Select this if you want to experiment device-tree with 200397f8c3cSJoachim Eastwood an Atmel RM9200 Evaluation Kit. 201397f8c3cSJoachim Eastwood 2024afcd1dbSJean-Christophe PLAGNIOL-VILLARDconfig MACH_AT91SAM9_DT 20349fe2ba3SNicolas Ferre bool "Atmel AT91SAM Evaluation Kits with device-tree support" 20435ed3c7aSJoachim Eastwood depends on SOC_AT91SAM9 20549fe2ba3SNicolas Ferre select USE_OF 20649fe2ba3SNicolas Ferre help 20749fe2ba3SNicolas Ferre Select this if you want to experiment device-tree with 20849fe2ba3SNicolas Ferre an Atmel Evaluation Kit. 20949fe2ba3SNicolas Ferre 2108f4b4794SLudovic Desrochesconfig MACH_SAMA5_DT 2118f4b4794SLudovic Desroches bool "Atmel SAMA5 Evaluation Kits with device-tree support" 2128f4b4794SLudovic Desroches depends on SOC_SAMA5 2138f4b4794SLudovic Desroches select USE_OF 2140580ed36SAlexandre Belloni select PHYLIB if NETDEVICES 2158f4b4794SLudovic Desroches help 2168f4b4794SLudovic Desroches Select this if you want to experiment device-tree with 2178f4b4794SLudovic Desroches an Atmel Evaluation Kit. 2188f4b4794SLudovic Desroches 21949fe2ba3SNicolas Ferre# ---------------------------------------------------------- 22049fe2ba3SNicolas Ferre 2219d041268SAndrew Victorcomment "AT91 Feature Selections" 2229d041268SAndrew Victor 223eaad2db0SAndrew Victorconfig AT91_SLOW_CLOCK 224eaad2db0SAndrew Victor bool "Suspend-to-RAM disables main oscillator" 225eaad2db0SAndrew Victor depends on SUSPEND 226eaad2db0SAndrew Victor help 227eaad2db0SAndrew Victor Select this if you want Suspend-to-RAM to save the most power 228eaad2db0SAndrew Victor possible (without powering off the CPU) by disabling the PLLs 229eaad2db0SAndrew Victor and main oscillator so that only the 32 KiHz clock is available. 230eaad2db0SAndrew Victor 231eaad2db0SAndrew Victor When only that slow-clock is available, some peripherals lose 232eaad2db0SAndrew Victor functionality. Many can't issue wakeup events unless faster 233eaad2db0SAndrew Victor clocks are available. Some lose their operating state and 234eaad2db0SAndrew Victor need to be completely re-initialized. 235eaad2db0SAndrew Victor 2365248c657SDavid Brownellconfig AT91_TIMER_HZ 2375248c657SDavid Brownell int "Kernel HZ (jiffies per second)" 2385248c657SDavid Brownell range 32 1024 2395248c657SDavid Brownell depends on ARCH_AT91 2405248c657SDavid Brownell default "128" if ARCH_AT91RM9200 2415248c657SDavid Brownell default "100" 2425248c657SDavid Brownell help 2435248c657SDavid Brownell On AT91rm9200 chips where you're using a system clock derived 2445248c657SDavid Brownell from the 32768 Hz hardware clock, this tick rate should divide 2455248c657SDavid Brownell it exactly: use a power-of-two value, such as 128 or 256, to 2465248c657SDavid Brownell reduce timing errors caused by rounding. 2475248c657SDavid Brownell 2485248c657SDavid Brownell On AT91sam926x chips, or otherwise when using a higher precision 2495248c657SDavid Brownell system clock (of at least several MHz), rounding is less of a 2505248c657SDavid Brownell problem so it can be safer to use a decimal values like 100. 2515248c657SDavid Brownell 2529d041268SAndrew Victorendmenu 2539d041268SAndrew Victor 2549d041268SAndrew Victorendif 255