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