Version:  2.0.40 2.2.26 2.4.37 3.2 3.3 3.4 3.5 3.6 3.7 3.8 3.9 3.10 3.11 3.12 3.13 3.14 3.15 3.16 3.17 3.18

Linux/arch/arm/mach-at91/Kconfig

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

This page was automatically generated by LXR 0.3.1 (source).  •  Linux is a registered trademark of Linus Torvalds  •  Contact us