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