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 9c8a8c630SBoris BREZILLONconfig AT91_USE_OLD_CLK 10c8a8c630SBoris BREZILLON bool 11c8a8c630SBoris BREZILLON 128f0cdcc5SLudovic Desrochesconfig AT91_PMC_UNIT 138f0cdcc5SLudovic Desroches bool 148f0cdcc5SLudovic Desroches default !ARCH_AT91X40 158f0cdcc5SLudovic Desroches 16c8a8c630SBoris BREZILLONconfig COMMON_CLK_AT91 17c8a8c630SBoris BREZILLON bool 18c8a8c630SBoris BREZILLON default AT91_PMC_UNIT && USE_OF && !AT91_USE_OLD_CLK 19c8a8c630SBoris BREZILLON select COMMON_CLK 20c8a8c630SBoris BREZILLON 21c8a8c630SBoris BREZILLONconfig OLD_CLK_AT91 22c8a8c630SBoris BREZILLON bool 23c8a8c630SBoris BREZILLON default AT91_PMC_UNIT && AT91_USE_OLD_CLK 24c8a8c630SBoris BREZILLON 25c0177594SJean-Christophe PLAGNIOL-VILLARDconfig AT91_SAM9_ALT_RESET 26c0177594SJean-Christophe PLAGNIOL-VILLARD bool 2721ea52aaSJean-Christophe PLAGNIOL-VILLARD default !ARCH_AT91X40 28c0177594SJean-Christophe PLAGNIOL-VILLARD 2914f991a7SJean-Christophe PLAGNIOL-VILLARDconfig AT91_SAM9G45_RESET 3014f991a7SJean-Christophe PLAGNIOL-VILLARD bool 3121ea52aaSJean-Christophe PLAGNIOL-VILLARD default !ARCH_AT91X40 3214f991a7SJean-Christophe PLAGNIOL-VILLARD 33fc05b657SLudovic Desrochesconfig AT91_SAM9_TIME 34fc05b657SLudovic Desroches bool 35fc05b657SLudovic Desroches 361441bd32SJean-Christophe PLAGNIOL-VILLARDconfig SOC_AT91SAM9 371441bd32SJean-Christophe PLAGNIOL-VILLARD bool 38fc05b657SLudovic Desroches select AT91_SAM9_TIME 391441bd32SJean-Christophe PLAGNIOL-VILLARD select CPU_ARM926T 40b1b3f49cSRussell King select GENERIC_CLOCKEVENTS 4108d04a13SJean-Christophe PLAGNIOL-VILLARD select MULTI_IRQ_HANDLER 4208d04a13SJean-Christophe PLAGNIOL-VILLARD select SPARSE_IRQ 431441bd32SJean-Christophe PLAGNIOL-VILLARD 448f4b4794SLudovic Desrochesconfig SOC_SAMA5 458f4b4794SLudovic Desroches bool 468f4b4794SLudovic Desroches select AT91_SAM9_TIME 478f4b4794SLudovic Desroches select CPU_V7 488f4b4794SLudovic Desroches select GENERIC_CLOCKEVENTS 498f4b4794SLudovic Desroches select MULTI_IRQ_HANDLER 508f4b4794SLudovic Desroches select SPARSE_IRQ 518f4b4794SLudovic Desroches 529d041268SAndrew Victormenu "Atmel AT91 System-on-Chip" 539d041268SAndrew Victor 548f0cdcc5SLudovic Desrocheschoice 558f0cdcc5SLudovic Desroches 568f0cdcc5SLudovic Desroches prompt "Core type" 578f0cdcc5SLudovic Desroches 588f0cdcc5SLudovic Desrochesconfig SOC_SAM_V4_V5 598f0cdcc5SLudovic Desroches bool "ARM7/ARM9" 608f0cdcc5SLudovic Desroches help 618f0cdcc5SLudovic Desroches Select this if you are using one of Atmel's AT91SAM9, AT91RM9200 628f0cdcc5SLudovic Desroches or AT91X40 SoC. 638f0cdcc5SLudovic Desroches 648f4b4794SLudovic Desrochesconfig SOC_SAM_V7 658f4b4794SLudovic Desroches bool "Cortex A5" 668f4b4794SLudovic Desroches help 678f4b4794SLudovic Desroches Select this if you are using one of Atmel's SAMA5D3 SoC. 688f4b4794SLudovic Desroches 698f0cdcc5SLudovic Desrochesendchoice 708f0cdcc5SLudovic Desroches 711e3ce2b8SJean-Christophe PLAGNIOL-VILLARDcomment "Atmel AT91 Processor" 729d041268SAndrew Victor 738f4b4794SLudovic Desrochesif SOC_SAM_V7 748f4b4794SLudovic Desrochesconfig SOC_SAMA5D3 758f4b4794SLudovic Desroches bool "SAMA5D3 family" 768f4b4794SLudovic Desroches depends on SOC_SAM_V7 778f4b4794SLudovic Desroches select SOC_SAMA5 788f4b4794SLudovic Desroches select HAVE_FB_ATMEL 798f4b4794SLudovic Desroches select HAVE_AT91_DBGU1 80c8a8c630SBoris BREZILLON select AT91_USE_OLD_CLK 818f4b4794SLudovic Desroches help 828f4b4794SLudovic Desroches Select this if you are using one of Atmel's SAMA5D3 family SoC. 838f4b4794SLudovic Desroches This support covers SAMA5D31, SAMA5D33, SAMA5D34, SAMA5D35. 848f4b4794SLudovic Desrochesendif 858f4b4794SLudovic Desroches 868f0cdcc5SLudovic Desrochesif SOC_SAM_V4_V5 871e3ce2b8SJean-Christophe PLAGNIOL-VILLARDconfig SOC_AT91RM9200 889d041268SAndrew Victor bool "AT91RM9200" 89c750815eSRussell King select CPU_ARM920T 905e802dfaSDavid Brownell select GENERIC_CLOCKEVENTS 9113079a73SJean-Christophe PLAGNIOL-VILLARD select HAVE_AT91_DBGU0 92b1b3f49cSRussell King select MULTI_IRQ_HANDLER 93b1b3f49cSRussell King select SPARSE_IRQ 94c8a8c630SBoris BREZILLON select AT91_USE_OLD_CLK 959d041268SAndrew Victor 961e3ce2b8SJean-Christophe PLAGNIOL-VILLARDconfig SOC_AT91SAM9260 971e3ce2b8SJean-Christophe PLAGNIOL-VILLARD bool "AT91SAM9260, AT91SAM9XE or AT91SAM9G20" 9813079a73SJean-Christophe PLAGNIOL-VILLARD select HAVE_AT91_DBGU0 99b1b3f49cSRussell King select SOC_AT91SAM9 100c8a8c630SBoris BREZILLON select AT91_USE_OLD_CLK 1011e3ce2b8SJean-Christophe PLAGNIOL-VILLARD help 1021e3ce2b8SJean-Christophe PLAGNIOL-VILLARD Select this if you are using one of Atmel's AT91SAM9260, AT91SAM9XE 1031e3ce2b8SJean-Christophe PLAGNIOL-VILLARD or AT91SAM9G20 SoC. 1049d041268SAndrew Victor 1051e3ce2b8SJean-Christophe PLAGNIOL-VILLARDconfig SOC_AT91SAM9261 1061e3ce2b8SJean-Christophe PLAGNIOL-VILLARD bool "AT91SAM9261 or AT91SAM9G10" 10713079a73SJean-Christophe PLAGNIOL-VILLARD select HAVE_AT91_DBGU0 1080912e535SNicolas Ferre select HAVE_FB_ATMEL 109b1b3f49cSRussell King select SOC_AT91SAM9 110c8a8c630SBoris BREZILLON select AT91_USE_OLD_CLK 1111e3ce2b8SJean-Christophe PLAGNIOL-VILLARD help 1121e3ce2b8SJean-Christophe PLAGNIOL-VILLARD Select this if you are using one of Atmel's AT91SAM9261 or AT91SAM9G10 SoC. 113b319ff80SNicolas Ferre 1141e3ce2b8SJean-Christophe PLAGNIOL-VILLARDconfig SOC_AT91SAM9263 115b2c65616SAndrew Victor bool "AT91SAM9263" 1161e3ce2b8SJean-Christophe PLAGNIOL-VILLARD select HAVE_AT91_DBGU1 1170912e535SNicolas Ferre select HAVE_FB_ATMEL 118b1b3f49cSRussell King select SOC_AT91SAM9 119c8a8c630SBoris BREZILLON select AT91_USE_OLD_CLK 120b2c65616SAndrew Victor 1211e3ce2b8SJean-Christophe PLAGNIOL-VILLARDconfig SOC_AT91SAM9RL 122877d7720SAndrew Victor bool "AT91SAM9RL" 1231e3ce2b8SJean-Christophe PLAGNIOL-VILLARD select HAVE_AT91_DBGU0 1240912e535SNicolas Ferre select HAVE_FB_ATMEL 125b1b3f49cSRussell King select SOC_AT91SAM9 126c8a8c630SBoris BREZILLON select AT91_USE_OLD_CLK 127877d7720SAndrew Victor 1281e3ce2b8SJean-Christophe PLAGNIOL-VILLARDconfig SOC_AT91SAM9G45 129ca1dcbf7SNicolas Ferre bool "AT91SAM9G45 or AT91SAM9M10 families" 1301e3ce2b8SJean-Christophe PLAGNIOL-VILLARD select HAVE_AT91_DBGU1 1310912e535SNicolas Ferre select HAVE_FB_ATMEL 132b1b3f49cSRussell King select SOC_AT91SAM9 133c8a8c630SBoris BREZILLON select AT91_USE_OLD_CLK 134ca1dcbf7SNicolas Ferre help 135ca1dcbf7SNicolas Ferre Select this if you are using one of Atmel's AT91SAM9G45 family SoC. 136ca1dcbf7SNicolas Ferre This support covers AT91SAM9G45, AT91SAM9G46, AT91SAM9M10 and AT91SAM9M11. 137789b23bcSNicolas Ferre 1381e3ce2b8SJean-Christophe PLAGNIOL-VILLARDconfig SOC_AT91SAM9X5 1399a3ee403SNicolas Ferre bool "AT91SAM9x5 family" 1401e3ce2b8SJean-Christophe PLAGNIOL-VILLARD select HAVE_AT91_DBGU0 1419a3ee403SNicolas Ferre select HAVE_FB_ATMEL 142b1b3f49cSRussell King select SOC_AT91SAM9 143c8a8c630SBoris BREZILLON select AT91_USE_OLD_CLK 144a26e1af5SNicolas Ferre help 145a26e1af5SNicolas Ferre Select this if you are using one of Atmel's AT91SAM9x5 family SoC. 146a26e1af5SNicolas Ferre This means that your SAM9 name finishes with a '5' (except if it is 147a26e1af5SNicolas Ferre AT91SAM9G45!). 148a26e1af5SNicolas Ferre This support covers AT91SAM9G15, AT91SAM9G25, AT91SAM9X25, AT91SAM9G35 149a26e1af5SNicolas Ferre and AT91SAM9X35. 1509a3ee403SNicolas Ferre 15174db4fb9SHong Xuconfig SOC_AT91SAM9N12 15274db4fb9SHong Xu bool "AT91SAM9N12 family" 15374db4fb9SHong Xu select HAVE_AT91_DBGU0 15474db4fb9SHong Xu select HAVE_FB_ATMEL 155b1b3f49cSRussell King select SOC_AT91SAM9 156c8a8c630SBoris BREZILLON select AT91_USE_OLD_CLK 15774db4fb9SHong Xu help 15874db4fb9SHong Xu Select this if you are using Atmel's AT91SAM9N12 SoC. 15974db4fb9SHong Xu 1609d041268SAndrew Victor# ---------------------------------------------------------- 1619d041268SAndrew Victor 1623ae8dbdcSJean-Christophe PLAGNIOL-VILLARDsource arch/arm/mach-at91/Kconfig.non_dt 1638f0cdcc5SLudovic Desrochesendif # SOC_SAM_V4_V5 1649f1ccefeSGreg Ungerer 16549fe2ba3SNicolas Ferrecomment "Generic Board Type" 16649fe2ba3SNicolas Ferre 167397f8c3cSJoachim Eastwoodconfig MACH_AT91RM9200_DT 168397f8c3cSJoachim Eastwood bool "Atmel AT91RM9200 Evaluation Kits with device-tree support" 169397f8c3cSJoachim Eastwood depends on SOC_AT91RM9200 170397f8c3cSJoachim Eastwood select USE_OF 171397f8c3cSJoachim Eastwood help 172397f8c3cSJoachim Eastwood Select this if you want to experiment device-tree with 173397f8c3cSJoachim Eastwood an Atmel RM9200 Evaluation Kit. 174397f8c3cSJoachim Eastwood 1754afcd1dbSJean-Christophe PLAGNIOL-VILLARDconfig MACH_AT91SAM9_DT 17649fe2ba3SNicolas Ferre bool "Atmel AT91SAM Evaluation Kits with device-tree support" 17735ed3c7aSJoachim Eastwood depends on SOC_AT91SAM9 17849fe2ba3SNicolas Ferre select USE_OF 17949fe2ba3SNicolas Ferre help 18049fe2ba3SNicolas Ferre Select this if you want to experiment device-tree with 18149fe2ba3SNicolas Ferre an Atmel Evaluation Kit. 18249fe2ba3SNicolas Ferre 1838f4b4794SLudovic Desrochesconfig MACH_SAMA5_DT 1848f4b4794SLudovic Desroches bool "Atmel SAMA5 Evaluation Kits with device-tree support" 1858f4b4794SLudovic Desroches depends on SOC_SAMA5 1868f4b4794SLudovic Desroches select USE_OF 1870580ed36SAlexandre Belloni select PHYLIB if NETDEVICES 1888f4b4794SLudovic Desroches help 1898f4b4794SLudovic Desroches Select this if you want to experiment device-tree with 1908f4b4794SLudovic Desroches an Atmel Evaluation Kit. 1918f4b4794SLudovic Desroches 19249fe2ba3SNicolas Ferre# ---------------------------------------------------------- 19349fe2ba3SNicolas Ferre 1949d041268SAndrew Victorcomment "AT91 Feature Selections" 1959d041268SAndrew Victor 1969d041268SAndrew Victorconfig AT91_PROGRAMMABLE_CLOCKS 1979d041268SAndrew Victor bool "Programmable Clocks" 1989d041268SAndrew Victor help 1999d041268SAndrew Victor Select this if you need to program one or more of the PCK0..PCK3 2009d041268SAndrew Victor programmable clock outputs. 2019d041268SAndrew Victor 202eaad2db0SAndrew Victorconfig AT91_SLOW_CLOCK 203eaad2db0SAndrew Victor bool "Suspend-to-RAM disables main oscillator" 204eaad2db0SAndrew Victor depends on SUSPEND 205eaad2db0SAndrew Victor help 206eaad2db0SAndrew Victor Select this if you want Suspend-to-RAM to save the most power 207eaad2db0SAndrew Victor possible (without powering off the CPU) by disabling the PLLs 208eaad2db0SAndrew Victor and main oscillator so that only the 32 KiHz clock is available. 209eaad2db0SAndrew Victor 210eaad2db0SAndrew Victor When only that slow-clock is available, some peripherals lose 211eaad2db0SAndrew Victor functionality. Many can't issue wakeup events unless faster 212eaad2db0SAndrew Victor clocks are available. Some lose their operating state and 213eaad2db0SAndrew Victor need to be completely re-initialized. 214eaad2db0SAndrew Victor 2155248c657SDavid Brownellconfig AT91_TIMER_HZ 2165248c657SDavid Brownell int "Kernel HZ (jiffies per second)" 2175248c657SDavid Brownell range 32 1024 2185248c657SDavid Brownell depends on ARCH_AT91 2195248c657SDavid Brownell default "128" if ARCH_AT91RM9200 2205248c657SDavid Brownell default "100" 2215248c657SDavid Brownell help 2225248c657SDavid Brownell On AT91rm9200 chips where you're using a system clock derived 2235248c657SDavid Brownell from the 32768 Hz hardware clock, this tick rate should divide 2245248c657SDavid Brownell it exactly: use a power-of-two value, such as 128 or 256, to 2255248c657SDavid Brownell reduce timing errors caused by rounding. 2265248c657SDavid Brownell 2275248c657SDavid Brownell On AT91sam926x chips, or otherwise when using a higher precision 2285248c657SDavid Brownell system clock (of at least several MHz), rounding is less of a 2295248c657SDavid Brownell problem so it can be safer to use a decimal values like 100. 2305248c657SDavid Brownell 2319d041268SAndrew Victorendmenu 2329d041268SAndrew Victor 2339d041268SAndrew Victorendif 234