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