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