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