Andrew Victor | 8fc5ffa | 2006-06-29 16:06:33 +0100 | [diff] [blame] | 1 | if ARCH_AT91 |
SAN People | 73a59c1 | 2006-01-09 17:05:41 +0000 | [diff] [blame] | 2 | |
Boris BREZILLON | f090fb3 | 2013-10-11 12:22:06 +0200 | [diff] [blame] | 3 | config HAVE_AT91_UTMI |
| 4 | bool |
| 5 | |
Boris BREZILLON | c84a61d | 2013-10-17 18:55:41 +0200 | [diff] [blame] | 6 | config HAVE_AT91_USB_CLK |
| 7 | bool |
| 8 | |
Jean-Christophe PLAGNIOL-VILLARD | 13079a7 | 2011-11-02 01:43:31 +0800 | [diff] [blame] | 9 | config HAVE_AT91_DBGU0 |
| 10 | bool |
| 11 | |
| 12 | config HAVE_AT91_DBGU1 |
| 13 | bool |
| 14 | |
Boris BREZILLON | c8a8c63 | 2013-10-11 09:37:46 +0200 | [diff] [blame] | 15 | config AT91_USE_OLD_CLK |
| 16 | bool |
| 17 | |
Ludovic Desroches | 8f0cdcc | 2013-03-22 13:24:11 +0000 | [diff] [blame] | 18 | config AT91_PMC_UNIT |
| 19 | bool |
| 20 | default !ARCH_AT91X40 |
| 21 | |
Boris BREZILLON | c8a8c63 | 2013-10-11 09:37:46 +0200 | [diff] [blame] | 22 | config COMMON_CLK_AT91 |
| 23 | bool |
| 24 | default AT91_PMC_UNIT && USE_OF && !AT91_USE_OLD_CLK |
| 25 | select COMMON_CLK |
| 26 | |
| 27 | config OLD_CLK_AT91 |
| 28 | bool |
| 29 | default AT91_PMC_UNIT && AT91_USE_OLD_CLK |
| 30 | |
Jean-Christophe PLAGNIOL-VILLARD | c017759 | 2011-11-29 22:01:08 +0800 | [diff] [blame] | 31 | config AT91_SAM9_ALT_RESET |
| 32 | bool |
Jean-Christophe PLAGNIOL-VILLARD | 21ea52a | 2012-03-03 03:14:16 +0800 | [diff] [blame] | 33 | default !ARCH_AT91X40 |
Jean-Christophe PLAGNIOL-VILLARD | c017759 | 2011-11-29 22:01:08 +0800 | [diff] [blame] | 34 | |
Jean-Christophe PLAGNIOL-VILLARD | 14f991a | 2011-11-18 01:41:28 +0800 | [diff] [blame] | 35 | config AT91_SAM9G45_RESET |
| 36 | bool |
Jean-Christophe PLAGNIOL-VILLARD | 21ea52a | 2012-03-03 03:14:16 +0800 | [diff] [blame] | 37 | default !ARCH_AT91X40 |
Jean-Christophe PLAGNIOL-VILLARD | 14f991a | 2011-11-18 01:41:28 +0800 | [diff] [blame] | 38 | |
Ludovic Desroches | fc05b65 | 2013-03-22 13:24:10 +0000 | [diff] [blame] | 39 | config AT91_SAM9_TIME |
| 40 | bool |
| 41 | |
Boris BREZILLON | a9c0688 | 2013-10-11 13:27:06 +0200 | [diff] [blame] | 42 | config HAVE_AT91_SMD |
| 43 | bool |
| 44 | |
Jean-Christophe PLAGNIOL-VILLARD | 1441bd3 | 2012-04-06 13:04:04 +0800 | [diff] [blame] | 45 | config SOC_AT91SAM9 |
| 46 | bool |
Ludovic Desroches | fc05b65 | 2013-03-22 13:24:10 +0000 | [diff] [blame] | 47 | select AT91_SAM9_TIME |
Jean-Christophe PLAGNIOL-VILLARD | 1441bd3 | 2012-04-06 13:04:04 +0800 | [diff] [blame] | 48 | select CPU_ARM926T |
Russell King | b1b3f49 | 2012-10-06 17:12:25 +0100 | [diff] [blame] | 49 | select GENERIC_CLOCKEVENTS |
Jean-Christophe PLAGNIOL-VILLARD | 08d04a1 | 2012-10-17 15:41:31 +0200 | [diff] [blame] | 50 | select MULTI_IRQ_HANDLER |
| 51 | select SPARSE_IRQ |
Jean-Christophe PLAGNIOL-VILLARD | 1441bd3 | 2012-04-06 13:04:04 +0800 | [diff] [blame] | 52 | |
Ludovic Desroches | 8f4b479 | 2013-03-22 13:24:12 +0000 | [diff] [blame] | 53 | config SOC_SAMA5 |
| 54 | bool |
| 55 | select AT91_SAM9_TIME |
| 56 | select CPU_V7 |
| 57 | select GENERIC_CLOCKEVENTS |
| 58 | select MULTI_IRQ_HANDLER |
| 59 | select SPARSE_IRQ |
Arnd Bergmann | a162860 | 2014-03-13 15:23:40 +0100 | [diff] [blame] | 60 | select USE_OF |
Ludovic Desroches | 8f4b479 | 2013-03-22 13:24:12 +0000 | [diff] [blame] | 61 | |
Andrew Victor | 8fc5ffa | 2006-06-29 16:06:33 +0100 | [diff] [blame] | 62 | menu "Atmel AT91 System-on-Chip" |
| 63 | |
Ludovic Desroches | 8f0cdcc | 2013-03-22 13:24:11 +0000 | [diff] [blame] | 64 | choice |
| 65 | |
| 66 | prompt "Core type" |
| 67 | |
Arnd Bergmann | fe138c2 | 2014-03-13 15:18:31 +0100 | [diff] [blame] | 68 | config ARCH_AT91X40 |
| 69 | bool "ARM7 AT91X40" |
| 70 | depends on !MMU |
| 71 | select CPU_ARM7TDMI |
| 72 | select ARCH_USES_GETTIMEOFFSET |
| 73 | select MULTI_IRQ_HANDLER |
| 74 | select SPARSE_IRQ |
| 75 | |
Ludovic Desroches | 8f0cdcc | 2013-03-22 13:24:11 +0000 | [diff] [blame] | 76 | help |
Arnd Bergmann | fe138c2 | 2014-03-13 15:18:31 +0100 | [diff] [blame] | 77 | Select this if you are using one of Atmel's AT91X40 SoC. |
| 78 | |
| 79 | config SOC_SAM_V4_V5 |
| 80 | bool "ARM9 AT91SAM9/AT91RM9200" |
| 81 | help |
| 82 | Select this if you are using one of Atmel's AT91SAM9 or |
| 83 | AT91RM9200 SoC. |
Ludovic Desroches | 8f0cdcc | 2013-03-22 13:24:11 +0000 | [diff] [blame] | 84 | |
Ludovic Desroches | 8f4b479 | 2013-03-22 13:24:12 +0000 | [diff] [blame] | 85 | config SOC_SAM_V7 |
| 86 | bool "Cortex A5" |
| 87 | help |
| 88 | Select this if you are using one of Atmel's SAMA5D3 SoC. |
| 89 | |
Ludovic Desroches | 8f0cdcc | 2013-03-22 13:24:11 +0000 | [diff] [blame] | 90 | endchoice |
| 91 | |
Jean-Christophe PLAGNIOL-VILLARD | 1e3ce2b | 2012-04-06 11:51:50 +0800 | [diff] [blame] | 92 | comment "Atmel AT91 Processor" |
Andrew Victor | 8fc5ffa | 2006-06-29 16:06:33 +0100 | [diff] [blame] | 93 | |
Ludovic Desroches | 8f4b479 | 2013-03-22 13:24:12 +0000 | [diff] [blame] | 94 | if SOC_SAM_V7 |
| 95 | config SOC_SAMA5D3 |
| 96 | bool "SAMA5D3 family" |
Ludovic Desroches | 8f4b479 | 2013-03-22 13:24:12 +0000 | [diff] [blame] | 97 | select SOC_SAMA5 |
| 98 | select HAVE_FB_ATMEL |
| 99 | select HAVE_AT91_DBGU1 |
Boris BREZILLON | f090fb3 | 2013-10-11 12:22:06 +0200 | [diff] [blame] | 100 | select HAVE_AT91_UTMI |
Boris BREZILLON | a9c0688 | 2013-10-11 13:27:06 +0200 | [diff] [blame] | 101 | select HAVE_AT91_SMD |
Boris BREZILLON | c84a61d | 2013-10-17 18:55:41 +0200 | [diff] [blame] | 102 | select HAVE_AT91_USB_CLK |
Ludovic Desroches | 8f4b479 | 2013-03-22 13:24:12 +0000 | [diff] [blame] | 103 | help |
| 104 | Select this if you are using one of Atmel's SAMA5D3 family SoC. |
Josh Wu | 7f45716 | 2013-11-06 18:01:11 +0800 | [diff] [blame] | 105 | This support covers SAMA5D31, SAMA5D33, SAMA5D34, SAMA5D35, SAMA5D36. |
Ludovic Desroches | 8f4b479 | 2013-03-22 13:24:12 +0000 | [diff] [blame] | 106 | endif |
| 107 | |
Ludovic Desroches | 8f0cdcc | 2013-03-22 13:24:11 +0000 | [diff] [blame] | 108 | if SOC_SAM_V4_V5 |
Jean-Christophe PLAGNIOL-VILLARD | 1e3ce2b | 2012-04-06 11:51:50 +0800 | [diff] [blame] | 109 | config SOC_AT91RM9200 |
Andrew Victor | 8fc5ffa | 2006-06-29 16:06:33 +0100 | [diff] [blame] | 110 | bool "AT91RM9200" |
Russell King | c750815 | 2008-10-26 10:55:14 +0000 | [diff] [blame] | 111 | select CPU_ARM920T |
David Brownell | 5e802df | 2007-07-31 01:41:26 +0100 | [diff] [blame] | 112 | select GENERIC_CLOCKEVENTS |
Jean-Christophe PLAGNIOL-VILLARD | 13079a7 | 2011-11-02 01:43:31 +0800 | [diff] [blame] | 113 | select HAVE_AT91_DBGU0 |
Russell King | b1b3f49 | 2012-10-06 17:12:25 +0100 | [diff] [blame] | 114 | select MULTI_IRQ_HANDLER |
| 115 | select SPARSE_IRQ |
Boris BREZILLON | c8a8c63 | 2013-10-11 09:37:46 +0200 | [diff] [blame] | 116 | select AT91_USE_OLD_CLK |
Boris BREZILLON | c84a61d | 2013-10-17 18:55:41 +0200 | [diff] [blame] | 117 | select HAVE_AT91_USB_CLK |
Andrew Victor | 8fc5ffa | 2006-06-29 16:06:33 +0100 | [diff] [blame] | 118 | |
Jean-Christophe PLAGNIOL-VILLARD | 1e3ce2b | 2012-04-06 11:51:50 +0800 | [diff] [blame] | 119 | config SOC_AT91SAM9260 |
| 120 | bool "AT91SAM9260, AT91SAM9XE or AT91SAM9G20" |
Jean-Christophe PLAGNIOL-VILLARD | 13079a7 | 2011-11-02 01:43:31 +0800 | [diff] [blame] | 121 | select HAVE_AT91_DBGU0 |
Russell King | b1b3f49 | 2012-10-06 17:12:25 +0100 | [diff] [blame] | 122 | select SOC_AT91SAM9 |
Boris BREZILLON | c8a8c63 | 2013-10-11 09:37:46 +0200 | [diff] [blame] | 123 | select AT91_USE_OLD_CLK |
Boris BREZILLON | c84a61d | 2013-10-17 18:55:41 +0200 | [diff] [blame] | 124 | select HAVE_AT91_USB_CLK |
Jean-Christophe PLAGNIOL-VILLARD | 1e3ce2b | 2012-04-06 11:51:50 +0800 | [diff] [blame] | 125 | help |
| 126 | Select this if you are using one of Atmel's AT91SAM9260, AT91SAM9XE |
| 127 | or AT91SAM9G20 SoC. |
Andrew Victor | 8fc5ffa | 2006-06-29 16:06:33 +0100 | [diff] [blame] | 128 | |
Jean-Christophe PLAGNIOL-VILLARD | 1e3ce2b | 2012-04-06 11:51:50 +0800 | [diff] [blame] | 129 | config SOC_AT91SAM9261 |
| 130 | bool "AT91SAM9261 or AT91SAM9G10" |
Jean-Christophe PLAGNIOL-VILLARD | 13079a7 | 2011-11-02 01:43:31 +0800 | [diff] [blame] | 131 | select HAVE_AT91_DBGU0 |
Nicolas Ferre | 0912e53 | 2009-06-23 16:30:56 +0200 | [diff] [blame] | 132 | select HAVE_FB_ATMEL |
Russell King | b1b3f49 | 2012-10-06 17:12:25 +0100 | [diff] [blame] | 133 | select SOC_AT91SAM9 |
Boris BREZILLON | c84a61d | 2013-10-17 18:55:41 +0200 | [diff] [blame] | 134 | select HAVE_AT91_USB_CLK |
Jean-Christophe PLAGNIOL-VILLARD | 1e3ce2b | 2012-04-06 11:51:50 +0800 | [diff] [blame] | 135 | help |
| 136 | Select this if you are using one of Atmel's AT91SAM9261 or AT91SAM9G10 SoC. |
Nicolas Ferre | b319ff8 | 2009-06-26 15:37:01 +0100 | [diff] [blame] | 137 | |
Jean-Christophe PLAGNIOL-VILLARD | 1e3ce2b | 2012-04-06 11:51:50 +0800 | [diff] [blame] | 138 | config SOC_AT91SAM9263 |
Andrew Victor | b2c6561 | 2007-02-08 09:42:40 +0100 | [diff] [blame] | 139 | bool "AT91SAM9263" |
Jean-Christophe PLAGNIOL-VILLARD | 1e3ce2b | 2012-04-06 11:51:50 +0800 | [diff] [blame] | 140 | select HAVE_AT91_DBGU1 |
Nicolas Ferre | 0912e53 | 2009-06-23 16:30:56 +0200 | [diff] [blame] | 141 | select HAVE_FB_ATMEL |
Russell King | b1b3f49 | 2012-10-06 17:12:25 +0100 | [diff] [blame] | 142 | select SOC_AT91SAM9 |
Boris BREZILLON | c8a8c63 | 2013-10-11 09:37:46 +0200 | [diff] [blame] | 143 | select AT91_USE_OLD_CLK |
Boris BREZILLON | c84a61d | 2013-10-17 18:55:41 +0200 | [diff] [blame] | 144 | select HAVE_AT91_USB_CLK |
Andrew Victor | b2c6561 | 2007-02-08 09:42:40 +0100 | [diff] [blame] | 145 | |
Jean-Christophe PLAGNIOL-VILLARD | 1e3ce2b | 2012-04-06 11:51:50 +0800 | [diff] [blame] | 146 | config SOC_AT91SAM9RL |
Andrew Victor | 877d772 | 2007-05-11 20:49:56 +0100 | [diff] [blame] | 147 | bool "AT91SAM9RL" |
Jean-Christophe PLAGNIOL-VILLARD | 1e3ce2b | 2012-04-06 11:51:50 +0800 | [diff] [blame] | 148 | select HAVE_AT91_DBGU0 |
Nicolas Ferre | 0912e53 | 2009-06-23 16:30:56 +0200 | [diff] [blame] | 149 | select HAVE_FB_ATMEL |
Russell King | b1b3f49 | 2012-10-06 17:12:25 +0100 | [diff] [blame] | 150 | select SOC_AT91SAM9 |
Boris BREZILLON | f090fb3 | 2013-10-11 12:22:06 +0200 | [diff] [blame] | 151 | select HAVE_AT91_UTMI |
Andrew Victor | 877d772 | 2007-05-11 20:49:56 +0100 | [diff] [blame] | 152 | |
Jean-Christophe PLAGNIOL-VILLARD | 1e3ce2b | 2012-04-06 11:51:50 +0800 | [diff] [blame] | 153 | config SOC_AT91SAM9G45 |
Nicolas Ferre | ca1dcbf | 2012-03-15 12:26:43 +0100 | [diff] [blame] | 154 | bool "AT91SAM9G45 or AT91SAM9M10 families" |
Jean-Christophe PLAGNIOL-VILLARD | 1e3ce2b | 2012-04-06 11:51:50 +0800 | [diff] [blame] | 155 | select HAVE_AT91_DBGU1 |
Nicolas Ferre | 0912e53 | 2009-06-23 16:30:56 +0200 | [diff] [blame] | 156 | select HAVE_FB_ATMEL |
Russell King | b1b3f49 | 2012-10-06 17:12:25 +0100 | [diff] [blame] | 157 | select SOC_AT91SAM9 |
Boris BREZILLON | c8a8c63 | 2013-10-11 09:37:46 +0200 | [diff] [blame] | 158 | select AT91_USE_OLD_CLK |
Boris BREZILLON | f090fb3 | 2013-10-11 12:22:06 +0200 | [diff] [blame] | 159 | select HAVE_AT91_UTMI |
Boris BREZILLON | c84a61d | 2013-10-17 18:55:41 +0200 | [diff] [blame] | 160 | select HAVE_AT91_USB_CLK |
Nicolas Ferre | ca1dcbf | 2012-03-15 12:26:43 +0100 | [diff] [blame] | 161 | help |
| 162 | Select this if you are using one of Atmel's AT91SAM9G45 family SoC. |
| 163 | This support covers AT91SAM9G45, AT91SAM9G46, AT91SAM9M10 and AT91SAM9M11. |
Nicolas Ferre | 789b23b | 2009-06-26 15:36:58 +0100 | [diff] [blame] | 164 | |
Jean-Christophe PLAGNIOL-VILLARD | 1e3ce2b | 2012-04-06 11:51:50 +0800 | [diff] [blame] | 165 | config SOC_AT91SAM9X5 |
Nicolas Ferre | 9a3ee40 | 2012-01-23 16:16:44 +0100 | [diff] [blame] | 166 | bool "AT91SAM9x5 family" |
Jean-Christophe PLAGNIOL-VILLARD | 1e3ce2b | 2012-04-06 11:51:50 +0800 | [diff] [blame] | 167 | select HAVE_AT91_DBGU0 |
Nicolas Ferre | 9a3ee40 | 2012-01-23 16:16:44 +0100 | [diff] [blame] | 168 | select HAVE_FB_ATMEL |
Russell King | b1b3f49 | 2012-10-06 17:12:25 +0100 | [diff] [blame] | 169 | select SOC_AT91SAM9 |
Boris BREZILLON | c8a8c63 | 2013-10-11 09:37:46 +0200 | [diff] [blame] | 170 | select AT91_USE_OLD_CLK |
Boris BREZILLON | f090fb3 | 2013-10-11 12:22:06 +0200 | [diff] [blame] | 171 | select HAVE_AT91_UTMI |
Boris BREZILLON | a9c0688 | 2013-10-11 13:27:06 +0200 | [diff] [blame] | 172 | select HAVE_AT91_SMD |
Boris BREZILLON | c84a61d | 2013-10-17 18:55:41 +0200 | [diff] [blame] | 173 | select HAVE_AT91_USB_CLK |
Nicolas Ferre | a26e1af | 2012-03-15 12:48:41 +0100 | [diff] [blame] | 174 | help |
| 175 | Select this if you are using one of Atmel's AT91SAM9x5 family SoC. |
| 176 | This means that your SAM9 name finishes with a '5' (except if it is |
| 177 | AT91SAM9G45!). |
| 178 | This support covers AT91SAM9G15, AT91SAM9G25, AT91SAM9X25, AT91SAM9G35 |
| 179 | and AT91SAM9X35. |
Nicolas Ferre | 9a3ee40 | 2012-01-23 16:16:44 +0100 | [diff] [blame] | 180 | |
Hong Xu | 74db4fb | 2012-04-17 14:26:31 +0800 | [diff] [blame] | 181 | config SOC_AT91SAM9N12 |
| 182 | bool "AT91SAM9N12 family" |
Hong Xu | 74db4fb | 2012-04-17 14:26:31 +0800 | [diff] [blame] | 183 | select HAVE_AT91_DBGU0 |
| 184 | select HAVE_FB_ATMEL |
Russell King | b1b3f49 | 2012-10-06 17:12:25 +0100 | [diff] [blame] | 185 | select SOC_AT91SAM9 |
Boris BREZILLON | c8a8c63 | 2013-10-11 09:37:46 +0200 | [diff] [blame] | 186 | select AT91_USE_OLD_CLK |
Boris BREZILLON | c84a61d | 2013-10-17 18:55:41 +0200 | [diff] [blame] | 187 | select HAVE_AT91_USB_CLK |
Hong Xu | 74db4fb | 2012-04-17 14:26:31 +0800 | [diff] [blame] | 188 | help |
| 189 | Select this if you are using Atmel's AT91SAM9N12 SoC. |
| 190 | |
Andrew Victor | 8fc5ffa | 2006-06-29 16:06:33 +0100 | [diff] [blame] | 191 | # ---------------------------------------------------------- |
Ludovic Desroches | 8f0cdcc | 2013-03-22 13:24:11 +0000 | [diff] [blame] | 192 | endif # SOC_SAM_V4_V5 |
Greg Ungerer | 9f1ccef | 2007-07-30 02:39:21 +0100 | [diff] [blame] | 193 | |
Arnd Bergmann | fe138c2 | 2014-03-13 15:18:31 +0100 | [diff] [blame] | 194 | |
| 195 | if SOC_SAM_V4_V5 || ARCH_AT91X40 |
| 196 | source arch/arm/mach-at91/Kconfig.non_dt |
| 197 | endif |
| 198 | |
Nicolas Ferre | 49fe2ba | 2011-10-10 18:29:24 +0200 | [diff] [blame] | 199 | comment "Generic Board Type" |
| 200 | |
Joachim Eastwood | 397f8c3 | 2012-10-28 18:31:09 +0000 | [diff] [blame] | 201 | config MACH_AT91RM9200_DT |
| 202 | bool "Atmel AT91RM9200 Evaluation Kits with device-tree support" |
| 203 | depends on SOC_AT91RM9200 |
| 204 | select USE_OF |
| 205 | help |
| 206 | Select this if you want to experiment device-tree with |
| 207 | an Atmel RM9200 Evaluation Kit. |
| 208 | |
Jean-Christophe PLAGNIOL-VILLARD | 4afcd1d | 2013-02-19 18:30:29 +0800 | [diff] [blame] | 209 | config MACH_AT91SAM9_DT |
Nicolas Ferre | 49fe2ba | 2011-10-10 18:29:24 +0200 | [diff] [blame] | 210 | bool "Atmel AT91SAM Evaluation Kits with device-tree support" |
Joachim Eastwood | 35ed3c7 | 2012-10-28 18:31:06 +0000 | [diff] [blame] | 211 | depends on SOC_AT91SAM9 |
Nicolas Ferre | 49fe2ba | 2011-10-10 18:29:24 +0200 | [diff] [blame] | 212 | select USE_OF |
| 213 | help |
| 214 | Select this if you want to experiment device-tree with |
| 215 | an Atmel Evaluation Kit. |
| 216 | |
Ludovic Desroches | 8f4b479 | 2013-03-22 13:24:12 +0000 | [diff] [blame] | 217 | config MACH_SAMA5_DT |
| 218 | bool "Atmel SAMA5 Evaluation Kits with device-tree support" |
| 219 | depends on SOC_SAMA5 |
| 220 | select USE_OF |
Alexandre Belloni | 0580ed3 | 2013-06-05 09:50:43 +0000 | [diff] [blame] | 221 | select PHYLIB if NETDEVICES |
Ludovic Desroches | 8f4b479 | 2013-03-22 13:24:12 +0000 | [diff] [blame] | 222 | help |
| 223 | Select this if you want to experiment device-tree with |
| 224 | an Atmel Evaluation Kit. |
| 225 | |
Nicolas Ferre | 49fe2ba | 2011-10-10 18:29:24 +0200 | [diff] [blame] | 226 | # ---------------------------------------------------------- |
| 227 | |
Andrew Victor | 8fc5ffa | 2006-06-29 16:06:33 +0100 | [diff] [blame] | 228 | comment "AT91 Feature Selections" |
SAN People | 73a59c1 | 2006-01-09 17:05:41 +0000 | [diff] [blame] | 229 | |
Andrew Victor | eaad2db | 2008-09-21 21:35:18 +0100 | [diff] [blame] | 230 | config AT91_SLOW_CLOCK |
| 231 | bool "Suspend-to-RAM disables main oscillator" |
| 232 | depends on SUSPEND |
| 233 | help |
| 234 | Select this if you want Suspend-to-RAM to save the most power |
| 235 | possible (without powering off the CPU) by disabling the PLLs |
| 236 | and main oscillator so that only the 32 KiHz clock is available. |
| 237 | |
| 238 | When only that slow-clock is available, some peripherals lose |
| 239 | functionality. Many can't issue wakeup events unless faster |
| 240 | clocks are available. Some lose their operating state and |
| 241 | need to be completely re-initialized. |
| 242 | |
David Brownell | 5248c65 | 2007-11-12 17:59:10 +0100 | [diff] [blame] | 243 | config AT91_TIMER_HZ |
| 244 | int "Kernel HZ (jiffies per second)" |
| 245 | range 32 1024 |
| 246 | depends on ARCH_AT91 |
| 247 | default "128" if ARCH_AT91RM9200 |
| 248 | default "100" |
| 249 | help |
| 250 | On AT91rm9200 chips where you're using a system clock derived |
| 251 | from the 32768 Hz hardware clock, this tick rate should divide |
| 252 | it exactly: use a power-of-two value, such as 128 or 256, to |
| 253 | reduce timing errors caused by rounding. |
| 254 | |
| 255 | On AT91sam926x chips, or otherwise when using a higher precision |
| 256 | system clock (of at least several MHz), rounding is less of a |
| 257 | problem so it can be safer to use a decimal values like 100. |
| 258 | |
SAN People | 73a59c1 | 2006-01-09 17:05:41 +0000 | [diff] [blame] | 259 | endmenu |
| 260 | |
| 261 | endif |