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 9c0177594SJean-Christophe PLAGNIOL-VILLARDconfig AT91_SAM9_ALT_RESET 10c0177594SJean-Christophe PLAGNIOL-VILLARD bool 1121ea52aaSJean-Christophe PLAGNIOL-VILLARD default !ARCH_AT91X40 12c0177594SJean-Christophe PLAGNIOL-VILLARD 1314f991a7SJean-Christophe PLAGNIOL-VILLARDconfig AT91_SAM9G45_RESET 1414f991a7SJean-Christophe PLAGNIOL-VILLARD bool 1521ea52aaSJean-Christophe PLAGNIOL-VILLARD default !ARCH_AT91X40 1614f991a7SJean-Christophe PLAGNIOL-VILLARD 171441bd32SJean-Christophe PLAGNIOL-VILLARDconfig SOC_AT91SAM9 181441bd32SJean-Christophe PLAGNIOL-VILLARD bool 191441bd32SJean-Christophe PLAGNIOL-VILLARD select CPU_ARM926T 20b1b3f49cSRussell King select GENERIC_CLOCKEVENTS 2108d04a13SJean-Christophe PLAGNIOL-VILLARD select MULTI_IRQ_HANDLER 2208d04a13SJean-Christophe PLAGNIOL-VILLARD select SPARSE_IRQ 231441bd32SJean-Christophe PLAGNIOL-VILLARD 249d041268SAndrew Victormenu "Atmel AT91 System-on-Chip" 259d041268SAndrew Victor 261e3ce2b8SJean-Christophe PLAGNIOL-VILLARDcomment "Atmel AT91 Processor" 279d041268SAndrew Victor 281e3ce2b8SJean-Christophe PLAGNIOL-VILLARDconfig SOC_AT91RM9200 299d041268SAndrew Victor bool "AT91RM9200" 30c750815eSRussell King select CPU_ARM920T 315e802dfaSDavid Brownell select GENERIC_CLOCKEVENTS 3213079a73SJean-Christophe PLAGNIOL-VILLARD select HAVE_AT91_DBGU0 33b1b3f49cSRussell King select MULTI_IRQ_HANDLER 34b1b3f49cSRussell King select SPARSE_IRQ 359d041268SAndrew Victor 361e3ce2b8SJean-Christophe PLAGNIOL-VILLARDconfig SOC_AT91SAM9260 371e3ce2b8SJean-Christophe PLAGNIOL-VILLARD bool "AT91SAM9260, AT91SAM9XE or AT91SAM9G20" 3813079a73SJean-Christophe PLAGNIOL-VILLARD select HAVE_AT91_DBGU0 39b1b3f49cSRussell King select SOC_AT91SAM9 401e3ce2b8SJean-Christophe PLAGNIOL-VILLARD help 411e3ce2b8SJean-Christophe PLAGNIOL-VILLARD Select this if you are using one of Atmel's AT91SAM9260, AT91SAM9XE 421e3ce2b8SJean-Christophe PLAGNIOL-VILLARD or AT91SAM9G20 SoC. 439d041268SAndrew Victor 441e3ce2b8SJean-Christophe PLAGNIOL-VILLARDconfig SOC_AT91SAM9261 451e3ce2b8SJean-Christophe PLAGNIOL-VILLARD bool "AT91SAM9261 or AT91SAM9G10" 4613079a73SJean-Christophe PLAGNIOL-VILLARD select HAVE_AT91_DBGU0 470912e535SNicolas Ferre select HAVE_FB_ATMEL 48b1b3f49cSRussell King select SOC_AT91SAM9 491e3ce2b8SJean-Christophe PLAGNIOL-VILLARD help 501e3ce2b8SJean-Christophe PLAGNIOL-VILLARD Select this if you are using one of Atmel's AT91SAM9261 or AT91SAM9G10 SoC. 51b319ff80SNicolas Ferre 521e3ce2b8SJean-Christophe PLAGNIOL-VILLARDconfig SOC_AT91SAM9263 53b2c65616SAndrew Victor bool "AT91SAM9263" 541e3ce2b8SJean-Christophe PLAGNIOL-VILLARD select HAVE_AT91_DBGU1 550912e535SNicolas Ferre select HAVE_FB_ATMEL 56b1b3f49cSRussell King select SOC_AT91SAM9 57b2c65616SAndrew Victor 581e3ce2b8SJean-Christophe PLAGNIOL-VILLARDconfig SOC_AT91SAM9RL 59877d7720SAndrew Victor bool "AT91SAM9RL" 601e3ce2b8SJean-Christophe PLAGNIOL-VILLARD select HAVE_AT91_DBGU0 610912e535SNicolas Ferre select HAVE_FB_ATMEL 62b1b3f49cSRussell King select SOC_AT91SAM9 63877d7720SAndrew Victor 641e3ce2b8SJean-Christophe PLAGNIOL-VILLARDconfig SOC_AT91SAM9G45 65ca1dcbf7SNicolas Ferre bool "AT91SAM9G45 or AT91SAM9M10 families" 661e3ce2b8SJean-Christophe PLAGNIOL-VILLARD select HAVE_AT91_DBGU1 670912e535SNicolas Ferre select HAVE_FB_ATMEL 68b1b3f49cSRussell King select SOC_AT91SAM9 69ca1dcbf7SNicolas Ferre help 70ca1dcbf7SNicolas Ferre Select this if you are using one of Atmel's AT91SAM9G45 family SoC. 71ca1dcbf7SNicolas Ferre This support covers AT91SAM9G45, AT91SAM9G46, AT91SAM9M10 and AT91SAM9M11. 72789b23bcSNicolas Ferre 731e3ce2b8SJean-Christophe PLAGNIOL-VILLARDconfig SOC_AT91SAM9X5 749a3ee403SNicolas Ferre bool "AT91SAM9x5 family" 751e3ce2b8SJean-Christophe PLAGNIOL-VILLARD select HAVE_AT91_DBGU0 769a3ee403SNicolas Ferre select HAVE_FB_ATMEL 77b1b3f49cSRussell King select SOC_AT91SAM9 78a26e1af5SNicolas Ferre help 79a26e1af5SNicolas Ferre Select this if you are using one of Atmel's AT91SAM9x5 family SoC. 80a26e1af5SNicolas Ferre This means that your SAM9 name finishes with a '5' (except if it is 81a26e1af5SNicolas Ferre AT91SAM9G45!). 82a26e1af5SNicolas Ferre This support covers AT91SAM9G15, AT91SAM9G25, AT91SAM9X25, AT91SAM9G35 83a26e1af5SNicolas Ferre and AT91SAM9X35. 849a3ee403SNicolas Ferre 8574db4fb9SHong Xuconfig SOC_AT91SAM9N12 8674db4fb9SHong Xu bool "AT91SAM9N12 family" 8774db4fb9SHong Xu select HAVE_AT91_DBGU0 8874db4fb9SHong Xu select HAVE_FB_ATMEL 89b1b3f49cSRussell King select SOC_AT91SAM9 9074db4fb9SHong Xu help 9174db4fb9SHong Xu Select this if you are using Atmel's AT91SAM9N12 SoC. 9274db4fb9SHong Xu 939f1ccefeSGreg Ungererconfig AT91_PMC_UNIT 949f1ccefeSGreg Ungerer bool 959f1ccefeSGreg Ungerer default !ARCH_AT91X40 969f1ccefeSGreg Ungerer 979d041268SAndrew Victor# ---------------------------------------------------------- 989d041268SAndrew Victor 993ae8dbdcSJean-Christophe PLAGNIOL-VILLARDsource arch/arm/mach-at91/Kconfig.non_dt 1009f1ccefeSGreg Ungerer 10149fe2ba3SNicolas Ferrecomment "Generic Board Type" 10249fe2ba3SNicolas Ferre 103397f8c3cSJoachim Eastwoodconfig MACH_AT91RM9200_DT 104397f8c3cSJoachim Eastwood bool "Atmel AT91RM9200 Evaluation Kits with device-tree support" 105397f8c3cSJoachim Eastwood depends on SOC_AT91RM9200 106397f8c3cSJoachim Eastwood select USE_OF 107397f8c3cSJoachim Eastwood help 108397f8c3cSJoachim Eastwood Select this if you want to experiment device-tree with 109397f8c3cSJoachim Eastwood an Atmel RM9200 Evaluation Kit. 110397f8c3cSJoachim Eastwood 1114afcd1dbSJean-Christophe PLAGNIOL-VILLARDconfig MACH_AT91SAM9_DT 11249fe2ba3SNicolas Ferre bool "Atmel AT91SAM Evaluation Kits with device-tree support" 11335ed3c7aSJoachim Eastwood depends on SOC_AT91SAM9 11449fe2ba3SNicolas Ferre select USE_OF 11549fe2ba3SNicolas Ferre help 11649fe2ba3SNicolas Ferre Select this if you want to experiment device-tree with 11749fe2ba3SNicolas Ferre an Atmel Evaluation Kit. 11849fe2ba3SNicolas Ferre 11949fe2ba3SNicolas Ferre# ---------------------------------------------------------- 12049fe2ba3SNicolas Ferre 1219d041268SAndrew Victorcomment "AT91 Feature Selections" 1229d041268SAndrew Victor 1239d041268SAndrew Victorconfig AT91_PROGRAMMABLE_CLOCKS 1249d041268SAndrew Victor bool "Programmable Clocks" 1259d041268SAndrew Victor help 1269d041268SAndrew Victor Select this if you need to program one or more of the PCK0..PCK3 1279d041268SAndrew Victor programmable clock outputs. 1289d041268SAndrew Victor 129eaad2db0SAndrew Victorconfig AT91_SLOW_CLOCK 130eaad2db0SAndrew Victor bool "Suspend-to-RAM disables main oscillator" 131eaad2db0SAndrew Victor depends on SUSPEND 132eaad2db0SAndrew Victor help 133eaad2db0SAndrew Victor Select this if you want Suspend-to-RAM to save the most power 134eaad2db0SAndrew Victor possible (without powering off the CPU) by disabling the PLLs 135eaad2db0SAndrew Victor and main oscillator so that only the 32 KiHz clock is available. 136eaad2db0SAndrew Victor 137eaad2db0SAndrew Victor When only that slow-clock is available, some peripherals lose 138eaad2db0SAndrew Victor functionality. Many can't issue wakeup events unless faster 139eaad2db0SAndrew Victor clocks are available. Some lose their operating state and 140eaad2db0SAndrew Victor need to be completely re-initialized. 141eaad2db0SAndrew Victor 1425248c657SDavid Brownellconfig AT91_TIMER_HZ 1435248c657SDavid Brownell int "Kernel HZ (jiffies per second)" 1445248c657SDavid Brownell range 32 1024 1455248c657SDavid Brownell depends on ARCH_AT91 1465248c657SDavid Brownell default "128" if ARCH_AT91RM9200 1475248c657SDavid Brownell default "100" 1485248c657SDavid Brownell help 1495248c657SDavid Brownell On AT91rm9200 chips where you're using a system clock derived 1505248c657SDavid Brownell from the 32768 Hz hardware clock, this tick rate should divide 1515248c657SDavid Brownell it exactly: use a power-of-two value, such as 128 or 256, to 1525248c657SDavid Brownell reduce timing errors caused by rounding. 1535248c657SDavid Brownell 1545248c657SDavid Brownell On AT91sam926x chips, or otherwise when using a higher precision 1555248c657SDavid Brownell system clock (of at least several MHz), rounding is less of a 1565248c657SDavid Brownell problem so it can be safer to use a decimal values like 100. 1575248c657SDavid Brownell 1589d041268SAndrew Victorendmenu 1599d041268SAndrew Victor 1609d041268SAndrew Victorendif 161