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