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