19d041268SAndrew Victorif ARCH_AT91 29d041268SAndrew Victor 3*f090fb37SBoris BREZILLONconfig HAVE_AT91_UTMI 4*f090fb37SBoris BREZILLON bool 5*f090fb37SBoris BREZILLON 613079a73SJean-Christophe PLAGNIOL-VILLARDconfig HAVE_AT91_DBGU0 713079a73SJean-Christophe PLAGNIOL-VILLARD bool 813079a73SJean-Christophe PLAGNIOL-VILLARD 913079a73SJean-Christophe PLAGNIOL-VILLARDconfig HAVE_AT91_DBGU1 1013079a73SJean-Christophe PLAGNIOL-VILLARD bool 1113079a73SJean-Christophe PLAGNIOL-VILLARD 12c8a8c630SBoris BREZILLONconfig AT91_USE_OLD_CLK 13c8a8c630SBoris BREZILLON bool 14c8a8c630SBoris BREZILLON 158f0cdcc5SLudovic Desrochesconfig AT91_PMC_UNIT 168f0cdcc5SLudovic Desroches bool 178f0cdcc5SLudovic Desroches default !ARCH_AT91X40 188f0cdcc5SLudovic Desroches 19c8a8c630SBoris BREZILLONconfig COMMON_CLK_AT91 20c8a8c630SBoris BREZILLON bool 21c8a8c630SBoris BREZILLON default AT91_PMC_UNIT && USE_OF && !AT91_USE_OLD_CLK 22c8a8c630SBoris BREZILLON select COMMON_CLK 23c8a8c630SBoris BREZILLON 24c8a8c630SBoris BREZILLONconfig OLD_CLK_AT91 25c8a8c630SBoris BREZILLON bool 26c8a8c630SBoris BREZILLON default AT91_PMC_UNIT && AT91_USE_OLD_CLK 27c8a8c630SBoris BREZILLON 28c0177594SJean-Christophe PLAGNIOL-VILLARDconfig AT91_SAM9_ALT_RESET 29c0177594SJean-Christophe PLAGNIOL-VILLARD bool 3021ea52aaSJean-Christophe PLAGNIOL-VILLARD default !ARCH_AT91X40 31c0177594SJean-Christophe PLAGNIOL-VILLARD 3214f991a7SJean-Christophe PLAGNIOL-VILLARDconfig AT91_SAM9G45_RESET 3314f991a7SJean-Christophe PLAGNIOL-VILLARD bool 3421ea52aaSJean-Christophe PLAGNIOL-VILLARD default !ARCH_AT91X40 3514f991a7SJean-Christophe PLAGNIOL-VILLARD 36fc05b657SLudovic Desrochesconfig AT91_SAM9_TIME 37fc05b657SLudovic Desroches bool 38fc05b657SLudovic Desroches 391441bd32SJean-Christophe PLAGNIOL-VILLARDconfig SOC_AT91SAM9 401441bd32SJean-Christophe PLAGNIOL-VILLARD bool 41fc05b657SLudovic Desroches select AT91_SAM9_TIME 421441bd32SJean-Christophe PLAGNIOL-VILLARD select CPU_ARM926T 43b1b3f49cSRussell King select GENERIC_CLOCKEVENTS 4408d04a13SJean-Christophe PLAGNIOL-VILLARD select MULTI_IRQ_HANDLER 4508d04a13SJean-Christophe PLAGNIOL-VILLARD select SPARSE_IRQ 461441bd32SJean-Christophe PLAGNIOL-VILLARD 478f4b4794SLudovic Desrochesconfig SOC_SAMA5 488f4b4794SLudovic Desroches bool 498f4b4794SLudovic Desroches select AT91_SAM9_TIME 508f4b4794SLudovic Desroches select CPU_V7 518f4b4794SLudovic Desroches select GENERIC_CLOCKEVENTS 528f4b4794SLudovic Desroches select MULTI_IRQ_HANDLER 538f4b4794SLudovic Desroches select SPARSE_IRQ 548f4b4794SLudovic Desroches 559d041268SAndrew Victormenu "Atmel AT91 System-on-Chip" 569d041268SAndrew Victor 578f0cdcc5SLudovic Desrocheschoice 588f0cdcc5SLudovic Desroches 598f0cdcc5SLudovic Desroches prompt "Core type" 608f0cdcc5SLudovic Desroches 618f0cdcc5SLudovic Desrochesconfig SOC_SAM_V4_V5 628f0cdcc5SLudovic Desroches bool "ARM7/ARM9" 638f0cdcc5SLudovic Desroches help 648f0cdcc5SLudovic Desroches Select this if you are using one of Atmel's AT91SAM9, AT91RM9200 658f0cdcc5SLudovic Desroches or AT91X40 SoC. 668f0cdcc5SLudovic Desroches 678f4b4794SLudovic Desrochesconfig SOC_SAM_V7 688f4b4794SLudovic Desroches bool "Cortex A5" 698f4b4794SLudovic Desroches help 708f4b4794SLudovic Desroches Select this if you are using one of Atmel's SAMA5D3 SoC. 718f4b4794SLudovic Desroches 728f0cdcc5SLudovic Desrochesendchoice 738f0cdcc5SLudovic Desroches 741e3ce2b8SJean-Christophe PLAGNIOL-VILLARDcomment "Atmel AT91 Processor" 759d041268SAndrew Victor 768f4b4794SLudovic Desrochesif SOC_SAM_V7 778f4b4794SLudovic Desrochesconfig SOC_SAMA5D3 788f4b4794SLudovic Desroches bool "SAMA5D3 family" 798f4b4794SLudovic Desroches depends on SOC_SAM_V7 808f4b4794SLudovic Desroches select SOC_SAMA5 818f4b4794SLudovic Desroches select HAVE_FB_ATMEL 828f4b4794SLudovic Desroches select HAVE_AT91_DBGU1 83c8a8c630SBoris BREZILLON select AT91_USE_OLD_CLK 84*f090fb37SBoris BREZILLON select HAVE_AT91_UTMI 858f4b4794SLudovic Desroches help 868f4b4794SLudovic Desroches Select this if you are using one of Atmel's SAMA5D3 family SoC. 878f4b4794SLudovic Desroches This support covers SAMA5D31, SAMA5D33, SAMA5D34, SAMA5D35. 888f4b4794SLudovic Desrochesendif 898f4b4794SLudovic Desroches 908f0cdcc5SLudovic Desrochesif SOC_SAM_V4_V5 911e3ce2b8SJean-Christophe PLAGNIOL-VILLARDconfig SOC_AT91RM9200 929d041268SAndrew Victor bool "AT91RM9200" 93c750815eSRussell King select CPU_ARM920T 945e802dfaSDavid Brownell select GENERIC_CLOCKEVENTS 9513079a73SJean-Christophe PLAGNIOL-VILLARD select HAVE_AT91_DBGU0 96b1b3f49cSRussell King select MULTI_IRQ_HANDLER 97b1b3f49cSRussell King select SPARSE_IRQ 98c8a8c630SBoris BREZILLON select AT91_USE_OLD_CLK 999d041268SAndrew Victor 1001e3ce2b8SJean-Christophe PLAGNIOL-VILLARDconfig SOC_AT91SAM9260 1011e3ce2b8SJean-Christophe PLAGNIOL-VILLARD bool "AT91SAM9260, AT91SAM9XE or AT91SAM9G20" 10213079a73SJean-Christophe PLAGNIOL-VILLARD select HAVE_AT91_DBGU0 103b1b3f49cSRussell King select SOC_AT91SAM9 104c8a8c630SBoris BREZILLON select AT91_USE_OLD_CLK 1051e3ce2b8SJean-Christophe PLAGNIOL-VILLARD help 1061e3ce2b8SJean-Christophe PLAGNIOL-VILLARD Select this if you are using one of Atmel's AT91SAM9260, AT91SAM9XE 1071e3ce2b8SJean-Christophe PLAGNIOL-VILLARD or AT91SAM9G20 SoC. 1089d041268SAndrew Victor 1091e3ce2b8SJean-Christophe PLAGNIOL-VILLARDconfig SOC_AT91SAM9261 1101e3ce2b8SJean-Christophe PLAGNIOL-VILLARD bool "AT91SAM9261 or AT91SAM9G10" 11113079a73SJean-Christophe PLAGNIOL-VILLARD select HAVE_AT91_DBGU0 1120912e535SNicolas Ferre select HAVE_FB_ATMEL 113b1b3f49cSRussell King select SOC_AT91SAM9 114c8a8c630SBoris BREZILLON select AT91_USE_OLD_CLK 1151e3ce2b8SJean-Christophe PLAGNIOL-VILLARD help 1161e3ce2b8SJean-Christophe PLAGNIOL-VILLARD Select this if you are using one of Atmel's AT91SAM9261 or AT91SAM9G10 SoC. 117b319ff80SNicolas Ferre 1181e3ce2b8SJean-Christophe PLAGNIOL-VILLARDconfig SOC_AT91SAM9263 119b2c65616SAndrew Victor bool "AT91SAM9263" 1201e3ce2b8SJean-Christophe PLAGNIOL-VILLARD select HAVE_AT91_DBGU1 1210912e535SNicolas Ferre select HAVE_FB_ATMEL 122b1b3f49cSRussell King select SOC_AT91SAM9 123c8a8c630SBoris BREZILLON select AT91_USE_OLD_CLK 124b2c65616SAndrew Victor 1251e3ce2b8SJean-Christophe PLAGNIOL-VILLARDconfig SOC_AT91SAM9RL 126877d7720SAndrew Victor bool "AT91SAM9RL" 1271e3ce2b8SJean-Christophe PLAGNIOL-VILLARD select HAVE_AT91_DBGU0 1280912e535SNicolas Ferre select HAVE_FB_ATMEL 129b1b3f49cSRussell King select SOC_AT91SAM9 130c8a8c630SBoris BREZILLON select AT91_USE_OLD_CLK 131*f090fb37SBoris BREZILLON select HAVE_AT91_UTMI 132877d7720SAndrew Victor 1331e3ce2b8SJean-Christophe PLAGNIOL-VILLARDconfig SOC_AT91SAM9G45 134ca1dcbf7SNicolas Ferre bool "AT91SAM9G45 or AT91SAM9M10 families" 1351e3ce2b8SJean-Christophe PLAGNIOL-VILLARD select HAVE_AT91_DBGU1 1360912e535SNicolas Ferre select HAVE_FB_ATMEL 137b1b3f49cSRussell King select SOC_AT91SAM9 138c8a8c630SBoris BREZILLON select AT91_USE_OLD_CLK 139*f090fb37SBoris BREZILLON select HAVE_AT91_UTMI 140ca1dcbf7SNicolas Ferre help 141ca1dcbf7SNicolas Ferre Select this if you are using one of Atmel's AT91SAM9G45 family SoC. 142ca1dcbf7SNicolas Ferre This support covers AT91SAM9G45, AT91SAM9G46, AT91SAM9M10 and AT91SAM9M11. 143789b23bcSNicolas Ferre 1441e3ce2b8SJean-Christophe PLAGNIOL-VILLARDconfig SOC_AT91SAM9X5 1459a3ee403SNicolas Ferre bool "AT91SAM9x5 family" 1461e3ce2b8SJean-Christophe PLAGNIOL-VILLARD select HAVE_AT91_DBGU0 1479a3ee403SNicolas Ferre select HAVE_FB_ATMEL 148b1b3f49cSRussell King select SOC_AT91SAM9 149c8a8c630SBoris BREZILLON select AT91_USE_OLD_CLK 150*f090fb37SBoris BREZILLON select HAVE_AT91_UTMI 151a26e1af5SNicolas Ferre help 152a26e1af5SNicolas Ferre Select this if you are using one of Atmel's AT91SAM9x5 family SoC. 153a26e1af5SNicolas Ferre This means that your SAM9 name finishes with a '5' (except if it is 154a26e1af5SNicolas Ferre AT91SAM9G45!). 155a26e1af5SNicolas Ferre This support covers AT91SAM9G15, AT91SAM9G25, AT91SAM9X25, AT91SAM9G35 156a26e1af5SNicolas Ferre and AT91SAM9X35. 1579a3ee403SNicolas Ferre 15874db4fb9SHong Xuconfig SOC_AT91SAM9N12 15974db4fb9SHong Xu bool "AT91SAM9N12 family" 16074db4fb9SHong Xu select HAVE_AT91_DBGU0 16174db4fb9SHong Xu select HAVE_FB_ATMEL 162b1b3f49cSRussell King select SOC_AT91SAM9 163c8a8c630SBoris BREZILLON select AT91_USE_OLD_CLK 16474db4fb9SHong Xu help 16574db4fb9SHong Xu Select this if you are using Atmel's AT91SAM9N12 SoC. 16674db4fb9SHong Xu 1679d041268SAndrew Victor# ---------------------------------------------------------- 1689d041268SAndrew Victor 1693ae8dbdcSJean-Christophe PLAGNIOL-VILLARDsource arch/arm/mach-at91/Kconfig.non_dt 1708f0cdcc5SLudovic Desrochesendif # SOC_SAM_V4_V5 1719f1ccefeSGreg Ungerer 17249fe2ba3SNicolas Ferrecomment "Generic Board Type" 17349fe2ba3SNicolas Ferre 174397f8c3cSJoachim Eastwoodconfig MACH_AT91RM9200_DT 175397f8c3cSJoachim Eastwood bool "Atmel AT91RM9200 Evaluation Kits with device-tree support" 176397f8c3cSJoachim Eastwood depends on SOC_AT91RM9200 177397f8c3cSJoachim Eastwood select USE_OF 178397f8c3cSJoachim Eastwood help 179397f8c3cSJoachim Eastwood Select this if you want to experiment device-tree with 180397f8c3cSJoachim Eastwood an Atmel RM9200 Evaluation Kit. 181397f8c3cSJoachim Eastwood 1824afcd1dbSJean-Christophe PLAGNIOL-VILLARDconfig MACH_AT91SAM9_DT 18349fe2ba3SNicolas Ferre bool "Atmel AT91SAM Evaluation Kits with device-tree support" 18435ed3c7aSJoachim Eastwood depends on SOC_AT91SAM9 18549fe2ba3SNicolas Ferre select USE_OF 18649fe2ba3SNicolas Ferre help 18749fe2ba3SNicolas Ferre Select this if you want to experiment device-tree with 18849fe2ba3SNicolas Ferre an Atmel Evaluation Kit. 18949fe2ba3SNicolas Ferre 1908f4b4794SLudovic Desrochesconfig MACH_SAMA5_DT 1918f4b4794SLudovic Desroches bool "Atmel SAMA5 Evaluation Kits with device-tree support" 1928f4b4794SLudovic Desroches depends on SOC_SAMA5 1938f4b4794SLudovic Desroches select USE_OF 1940580ed36SAlexandre Belloni select PHYLIB if NETDEVICES 1958f4b4794SLudovic Desroches help 1968f4b4794SLudovic Desroches Select this if you want to experiment device-tree with 1978f4b4794SLudovic Desroches an Atmel Evaluation Kit. 1988f4b4794SLudovic Desroches 19949fe2ba3SNicolas Ferre# ---------------------------------------------------------- 20049fe2ba3SNicolas Ferre 2019d041268SAndrew Victorcomment "AT91 Feature Selections" 2029d041268SAndrew Victor 2039d041268SAndrew Victorconfig AT91_PROGRAMMABLE_CLOCKS 2049d041268SAndrew Victor bool "Programmable Clocks" 2059d041268SAndrew Victor help 2069d041268SAndrew Victor Select this if you need to program one or more of the PCK0..PCK3 2079d041268SAndrew Victor programmable clock outputs. 2089d041268SAndrew Victor 209eaad2db0SAndrew Victorconfig AT91_SLOW_CLOCK 210eaad2db0SAndrew Victor bool "Suspend-to-RAM disables main oscillator" 211eaad2db0SAndrew Victor depends on SUSPEND 212eaad2db0SAndrew Victor help 213eaad2db0SAndrew Victor Select this if you want Suspend-to-RAM to save the most power 214eaad2db0SAndrew Victor possible (without powering off the CPU) by disabling the PLLs 215eaad2db0SAndrew Victor and main oscillator so that only the 32 KiHz clock is available. 216eaad2db0SAndrew Victor 217eaad2db0SAndrew Victor When only that slow-clock is available, some peripherals lose 218eaad2db0SAndrew Victor functionality. Many can't issue wakeup events unless faster 219eaad2db0SAndrew Victor clocks are available. Some lose their operating state and 220eaad2db0SAndrew Victor need to be completely re-initialized. 221eaad2db0SAndrew Victor 2225248c657SDavid Brownellconfig AT91_TIMER_HZ 2235248c657SDavid Brownell int "Kernel HZ (jiffies per second)" 2245248c657SDavid Brownell range 32 1024 2255248c657SDavid Brownell depends on ARCH_AT91 2265248c657SDavid Brownell default "128" if ARCH_AT91RM9200 2275248c657SDavid Brownell default "100" 2285248c657SDavid Brownell help 2295248c657SDavid Brownell On AT91rm9200 chips where you're using a system clock derived 2305248c657SDavid Brownell from the 32768 Hz hardware clock, this tick rate should divide 2315248c657SDavid Brownell it exactly: use a power-of-two value, such as 128 or 256, to 2325248c657SDavid Brownell reduce timing errors caused by rounding. 2335248c657SDavid Brownell 2345248c657SDavid Brownell On AT91sam926x chips, or otherwise when using a higher precision 2355248c657SDavid Brownell system clock (of at least several MHz), rounding is less of a 2365248c657SDavid Brownell problem so it can be safer to use a decimal values like 100. 2375248c657SDavid Brownell 2389d041268SAndrew Victorendmenu 2399d041268SAndrew Victor 2409d041268SAndrew Victorendif 241