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