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