Merge tag 'davinci-for-v3.11/soc-2' of git://git.kernel.org/pub/scm/linux/kernel...
[linux-2.6-microblaze.git] / arch / arm / mach-omap2 / Kconfig
1 config ARCH_OMAP
2         bool
3
4 config ARCH_OMAP2PLUS
5         bool "TI OMAP2/3/4/5 SoCs with device tree support" if (ARCH_MULTI_V6 || ARCH_MULTI_V7)
6         select ARCH_HAS_CPUFREQ
7         select ARCH_HAS_HOLES_MEMORYMODEL
8         select ARCH_OMAP
9         select ARCH_REQUIRE_GPIOLIB
10         select CLKDEV_LOOKUP
11         select CLKSRC_MMIO
12         select GENERIC_CLOCKEVENTS
13         select GENERIC_IRQ_CHIP
14         select HAVE_CLK
15         select OMAP_DM_TIMER
16         select PINCTRL
17         select PROC_DEVICETREE if PROC_FS
18         select SOC_BUS
19         select SPARSE_IRQ
20         select TI_PRIV_EDMA
21         select USE_OF
22         help
23           Systems based on OMAP2, OMAP3, OMAP4 or OMAP5
24
25
26 if ARCH_OMAP2PLUS
27
28 menu "TI OMAP2/3/4 Specific Features"
29
30 config ARCH_OMAP2PLUS_TYPICAL
31         bool "Typical OMAP configuration"
32         default y
33         select AEABI
34         select HIGHMEM
35         select I2C
36         select I2C_OMAP
37         select MENELAUS if ARCH_OMAP2
38         select NEON if ARCH_OMAP3 || ARCH_OMAP4 || SOC_OMAP5
39         select PM_RUNTIME
40         select REGULATOR
41         select TWL4030_CORE if ARCH_OMAP3 || ARCH_OMAP4
42         select TWL4030_POWER if ARCH_OMAP3 || ARCH_OMAP4
43         select VFP
44         help
45           Compile a kernel suitable for booting most boards
46
47 config SOC_HAS_OMAP2_SDRC
48         bool "OMAP2 SDRAM Controller support"
49
50 config SOC_HAS_REALTIME_COUNTER
51         bool "Real time free running counter"
52         depends on SOC_OMAP5
53         default y
54
55 config ARCH_OMAP2
56         bool "TI OMAP2"
57         depends on ARCH_OMAP2PLUS
58         depends on ARCH_MULTI_V6
59         default y
60         select CPU_V6
61         select MULTI_IRQ_HANDLER
62         select SOC_HAS_OMAP2_SDRC
63         select COMMON_CLK
64
65 config ARCH_OMAP3
66         bool "TI OMAP3"
67         depends on ARCH_OMAP2PLUS
68         depends on ARCH_MULTI_V7
69         default y
70         select ARCH_HAS_OPP
71         select ARM_CPU_SUSPEND if PM
72         select CPU_V7
73         select MULTI_IRQ_HANDLER
74         select OMAP_INTERCONNECT
75         select PM_OPP if PM
76         select PM_RUNTIME if CPU_IDLE
77         select SOC_HAS_OMAP2_SDRC
78         select COMMON_CLK
79         select USB_ARCH_HAS_EHCI if USB_SUPPORT
80
81 config ARCH_OMAP4
82         bool "TI OMAP4"
83         default y
84         depends on ARCH_OMAP2PLUS
85         depends on ARCH_MULTI_V7
86         select ARCH_HAS_OPP
87         select ARCH_NEEDS_CPU_IDLE_COUPLED if SMP
88         select ARM_CPU_SUSPEND if PM
89         select ARM_ERRATA_720789
90         select ARM_GIC
91         select CACHE_L2X0
92         select CPU_V7
93         select HAVE_ARM_SCU if SMP
94         select HAVE_ARM_TWD if LOCAL_TIMERS
95         select HAVE_SMP
96         select LOCAL_TIMERS if SMP
97         select OMAP_INTERCONNECT
98         select PL310_ERRATA_588369
99         select PL310_ERRATA_727915
100         select PM_OPP if PM
101         select PM_RUNTIME if CPU_IDLE
102         select USB_ARCH_HAS_EHCI if USB_SUPPORT
103         select COMMON_CLK
104         select ARM_ERRATA_754322
105         select ARM_ERRATA_775420
106
107 config SOC_OMAP5
108         bool "TI OMAP5"
109         depends on ARCH_MULTI_V7
110         select ARM_CPU_SUSPEND if PM
111         select ARM_GIC
112         select CPU_V7
113         select HAVE_SMP
114         select COMMON_CLK
115         select HAVE_ARM_ARCH_TIMER
116
117 comment "OMAP Core Type"
118         depends on ARCH_OMAP2
119
120 config SOC_OMAP2420
121         bool "OMAP2420 support"
122         depends on ARCH_OMAP2
123         default y
124         select OMAP_DM_TIMER
125         select SOC_HAS_OMAP2_SDRC
126
127 config SOC_OMAP2430
128         bool "OMAP2430 support"
129         depends on ARCH_OMAP2
130         default y
131         select SOC_HAS_OMAP2_SDRC
132
133 config SOC_OMAP3430
134         bool "OMAP3430 support"
135         depends on ARCH_OMAP3
136         default y
137         select SOC_HAS_OMAP2_SDRC
138
139 config SOC_TI81XX
140         bool "TI81XX support"
141         depends on ARCH_OMAP3
142         default y
143
144 config SOC_AM33XX
145         bool "AM33XX support"
146         depends on ARCH_MULTI_V7
147         default y
148         select ARM_CPU_SUSPEND if PM
149         select CPU_V7
150         select MULTI_IRQ_HANDLER
151         select COMMON_CLK
152
153 config SOC_AM43XX
154         bool "TI AM43x"
155         select CPU_V7
156         select MULTI_IRQ_HANDLER
157         select ARM_GIC
158         select COMMON_CLK
159         select MACH_OMAP_GENERIC
160
161 config OMAP_PACKAGE_ZAF
162        bool
163
164 config OMAP_PACKAGE_ZAC
165        bool
166
167 config OMAP_PACKAGE_CBC
168        bool
169
170 config OMAP_PACKAGE_CBB
171        bool
172
173 config OMAP_PACKAGE_CUS
174        bool
175
176 config OMAP_PACKAGE_CBP
177        bool
178
179 config OMAP_PACKAGE_CBL
180        bool
181
182 config OMAP_PACKAGE_CBS
183        bool
184
185 comment "OMAP Board Type"
186         depends on ARCH_OMAP2PLUS
187
188 config MACH_OMAP_GENERIC
189         bool "Generic OMAP2+ board"
190         depends on ARCH_OMAP2PLUS
191         default y
192         help
193           Support for generic TI OMAP2+ boards using Flattened Device Tree.
194           More information at Documentation/devicetree
195
196 config MACH_OMAP2_TUSB6010
197         bool
198         depends on ARCH_OMAP2 && SOC_OMAP2420
199         default y if MACH_NOKIA_N8X0
200
201 config MACH_OMAP_H4
202         bool "OMAP 2420 H4 board"
203         depends on SOC_OMAP2420
204         default y
205         select OMAP_DEBUG_DEVICES
206         select OMAP_PACKAGE_ZAF
207
208 config MACH_OMAP_2430SDP
209         bool "OMAP 2430 SDP board"
210         depends on SOC_OMAP2430
211         default y
212         select OMAP_PACKAGE_ZAC
213
214 config MACH_OMAP3_BEAGLE
215         bool "OMAP3 BEAGLE board"
216         depends on ARCH_OMAP3
217         default y
218         select OMAP_PACKAGE_CBB
219
220 config MACH_DEVKIT8000
221         bool "DEVKIT8000 board"
222         depends on ARCH_OMAP3
223         default y
224         select OMAP_PACKAGE_CUS
225
226 config MACH_OMAP_LDP
227         bool "OMAP3 LDP board"
228         depends on ARCH_OMAP3
229         default y
230         select OMAP_PACKAGE_CBB
231
232 config MACH_OMAP3530_LV_SOM
233         bool "OMAP3 Logic 3530 LV SOM board"
234         depends on ARCH_OMAP3
235         default y
236         select OMAP_PACKAGE_CBB
237         help
238          Support for the LogicPD OMAP3530 SOM Development kit
239          for full description please see the products webpage at
240          http://www.logicpd.com/products/development-kits/texas-instruments-zoom%E2%84%A2-omap35x-development-kit
241
242 config MACH_OMAP3_TORPEDO
243         bool "OMAP3 Logic 35x Torpedo board"
244         depends on ARCH_OMAP3
245         default y
246         select OMAP_PACKAGE_CBB
247         help
248          Support for the LogicPD OMAP35x Torpedo Development kit
249          for full description please see the products webpage at
250          http://www.logicpd.com/products/development-kits/zoom-omap35x-torpedo-development-kit
251
252 config MACH_OVERO
253         bool "Gumstix Overo board"
254         depends on ARCH_OMAP3
255         default y
256         select OMAP_PACKAGE_CBB
257
258 config MACH_OMAP3EVM
259         bool "OMAP 3530 EVM board"
260         depends on ARCH_OMAP3
261         default y
262         select OMAP_PACKAGE_CBB
263
264 config MACH_OMAP3517EVM
265         bool "OMAP3517/ AM3517 EVM board"
266         depends on ARCH_OMAP3
267         default y
268         select OMAP_PACKAGE_CBB
269
270 config MACH_CRANEBOARD
271         bool "AM3517/05 CRANE board"
272         depends on ARCH_OMAP3
273         select OMAP_PACKAGE_CBB
274
275 config MACH_OMAP3_PANDORA
276         bool "OMAP3 Pandora"
277         depends on ARCH_OMAP3
278         default y
279         select OMAP_PACKAGE_CBB
280         select REGULATOR_FIXED_VOLTAGE if REGULATOR
281
282 config MACH_TOUCHBOOK
283         bool "OMAP3 Touch Book"
284         depends on ARCH_OMAP3
285         default y
286         select OMAP_PACKAGE_CBB
287
288 config MACH_OMAP_3430SDP
289         bool "OMAP 3430 SDP board"
290         depends on ARCH_OMAP3
291         default y
292         select OMAP_PACKAGE_CBB
293
294 config MACH_NOKIA_N800
295        bool
296
297 config MACH_NOKIA_N810
298        bool
299
300 config MACH_NOKIA_N810_WIMAX
301        bool
302
303 config MACH_NOKIA_N8X0
304         bool "Nokia N800/N810"
305         depends on SOC_OMAP2420
306         default y
307         select MACH_NOKIA_N800
308         select MACH_NOKIA_N810
309         select MACH_NOKIA_N810_WIMAX
310         select OMAP_PACKAGE_ZAC
311
312 config MACH_NOKIA_RM680
313         bool "Nokia N950 (RM-680) / N9 (RM-696) phones"
314         depends on ARCH_OMAP3
315         default y
316         select MACH_NOKIA_RM696
317         select OMAP_PACKAGE_CBB
318
319 config MACH_NOKIA_RX51
320         bool "Nokia N900 (RX-51) phone"
321         depends on ARCH_OMAP3
322         default y
323         select OMAP_PACKAGE_CBB
324
325 config MACH_OMAP_ZOOM2
326         bool "OMAP3 Zoom2 board"
327         depends on ARCH_OMAP3
328         default y
329         select OMAP_PACKAGE_CBB
330         select REGULATOR_FIXED_VOLTAGE if REGULATOR
331
332 config MACH_OMAP_ZOOM3
333         bool "OMAP3630 Zoom3 board"
334         depends on ARCH_OMAP3
335         default y
336         select OMAP_PACKAGE_CBP
337         select REGULATOR_FIXED_VOLTAGE if REGULATOR
338
339 config MACH_CM_T35
340         bool "CompuLab CM-T35/CM-T3730 modules"
341         depends on ARCH_OMAP3
342         default y
343         select MACH_CM_T3730
344         select OMAP_PACKAGE_CUS
345
346 config MACH_CM_T3517
347         bool "CompuLab CM-T3517 module"
348         depends on ARCH_OMAP3
349         default y
350         select OMAP_PACKAGE_CBB
351
352 config MACH_CM_T3730
353        bool
354
355 config MACH_IGEP0020
356         bool "IGEP v2 board"
357         depends on ARCH_OMAP3
358         default y
359         select OMAP_PACKAGE_CBB
360
361 config MACH_IGEP0030
362         bool "IGEP OMAP3 module"
363         depends on ARCH_OMAP3
364         default y
365         select MACH_IGEP0020
366         select OMAP_PACKAGE_CBB
367
368 config MACH_SBC3530
369         bool "OMAP3 SBC STALKER board"
370         depends on ARCH_OMAP3
371         default y
372         select OMAP_PACKAGE_CUS
373
374 config MACH_OMAP_3630SDP
375         bool "OMAP3630 SDP board"
376         depends on ARCH_OMAP3
377         default y
378         select OMAP_PACKAGE_CBP
379
380 config MACH_TI8168EVM
381         bool "TI8168 Evaluation Module"
382         depends on SOC_TI81XX
383         default y
384
385 config MACH_TI8148EVM
386         bool "TI8148 Evaluation Module"
387         depends on SOC_TI81XX
388         default y
389
390 config MACH_OMAP_4430SDP
391         bool "OMAP 4430 SDP board"
392         default y
393         depends on ARCH_OMAP4
394         select OMAP_PACKAGE_CBL
395         select OMAP_PACKAGE_CBS
396         select REGULATOR_FIXED_VOLTAGE if REGULATOR
397
398 config MACH_OMAP4_PANDA
399         bool "OMAP4 Panda Board"
400         default y
401         depends on ARCH_OMAP4
402         select OMAP_PACKAGE_CBL
403         select OMAP_PACKAGE_CBS
404         select REGULATOR_FIXED_VOLTAGE if REGULATOR
405
406 config OMAP3_EMU
407         bool "OMAP3 debugging peripherals"
408         depends on ARCH_OMAP3
409         select ARM_AMBA
410         select OC_ETM
411         help
412           Say Y here to enable debugging hardware of omap3
413
414 config OMAP3_SDRC_AC_TIMING
415         bool "Enable SDRC AC timing register changes"
416         depends on ARCH_OMAP3
417         default n
418         help
419           If you know that none of your system initiators will attempt to
420           access SDRAM during CORE DVFS, select Y here.  This should boost
421           SDRAM performance at lower CORE OPPs.  There are relatively few
422           users who will wish to say yes at this point - almost everyone will
423           wish to say no.  Selecting yes without understanding what is
424           going on could result in system crashes;
425
426 config OMAP4_ERRATA_I688
427         bool "OMAP4 errata: Async Bridge Corruption"
428         depends on (ARCH_OMAP4 || SOC_OMAP5) && !ARCH_MULTIPLATFORM
429         select ARCH_HAS_BARRIERS
430         help
431           If a data is stalled inside asynchronous bridge because of back
432           pressure, it may be accepted multiple times, creating pointer
433           misalignment that will corrupt next transfers on that data path
434           until next reset of the system (No recovery procedure once the
435           issue is hit, the path remains consistently broken). Async bridge
436           can be found on path between MPU to EMIF and MPU to L3 interconnect.
437           This situation can happen only when the idle is initiated by a
438           Master Request Disconnection (which is trigged by software when
439           executing WFI on CPU).
440           The work-around for this errata needs all the initiators connected
441           through async bridge must ensure that data path is properly drained
442           before issuing WFI. This condition will be met if one Strongly ordered
443           access is performed to the target right before executing the WFI.
444           In MPU case, L3 T2ASYNC FIFO and DDR T2ASYNC FIFO needs to be drained.
445           IO barrier ensure that there is no synchronisation loss on initiators
446           operating on both interconnect port simultaneously.
447 endmenu
448
449 endif