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