xref: /linux/arch/arm/mach-omap2/Kconfig (revision da4d81453cf1eedfcd8b2cd1e7bfab230084bd87)
1menu "TI OMAP/AM/DM/DRA Family"
2	depends on ARCH_MULTI_V6 || ARCH_MULTI_V7
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 ARM_CPU_SUSPEND if PM
16	select OMAP_INTERCONNECT
17	select PM_OPP if PM
18	select PM if CPU_IDLE
19	select SOC_HAS_OMAP2_SDRC
20
21config ARCH_OMAP4
22	bool "TI OMAP4"
23	depends on ARCH_MULTI_V7
24	select ARCH_OMAP2PLUS
25	select ARCH_NEEDS_CPU_IDLE_COUPLED if SMP
26	select ARM_CPU_SUSPEND if PM
27	select ARM_ERRATA_720789
28	select ARM_GIC
29	select HAVE_ARM_SCU if SMP
30	select HAVE_ARM_TWD if SMP
31	select OMAP_INTERCONNECT
32	select PL310_ERRATA_588369 if CACHE_L2X0
33	select PL310_ERRATA_727915 if CACHE_L2X0
34	select PM_OPP if PM
35	select PM if CPU_IDLE
36	select ARM_ERRATA_754322
37	select ARM_ERRATA_775420
38
39config SOC_OMAP5
40	bool "TI OMAP5"
41	depends on ARCH_MULTI_V7
42	select ARCH_OMAP2PLUS
43	select ARM_CPU_SUSPEND if PM
44	select ARM_GIC
45	select HAVE_ARM_SCU if SMP
46	select HAVE_ARM_TWD if SMP
47	select HAVE_ARM_ARCH_TIMER
48	select ARM_ERRATA_798181 if SMP
49
50config SOC_AM33XX
51	bool "TI AM33XX"
52	depends on ARCH_MULTI_V7
53	select ARCH_OMAP2PLUS
54	select ARM_CPU_SUSPEND if PM
55
56config SOC_AM43XX
57	bool "TI AM43x"
58	depends on ARCH_MULTI_V7
59	select ARCH_OMAP2PLUS
60	select ARM_GIC
61	select MACH_OMAP_GENERIC
62	select MIGHT_HAVE_CACHE_L2X0
63
64config SOC_DRA7XX
65	bool "TI DRA7XX"
66	depends on ARCH_MULTI_V7
67	select ARCH_OMAP2PLUS
68	select ARM_CPU_SUSPEND if PM
69	select ARM_GIC
70	select HAVE_ARM_ARCH_TIMER
71	select IRQ_CROSSBAR
72
73config ARCH_OMAP2PLUS
74	bool
75	select ARCH_HAS_BANDGAP
76	select ARCH_HAS_HOLES_MEMORYMODEL
77	select ARCH_OMAP
78	select ARCH_REQUIRE_GPIOLIB
79	select CLKSRC_MMIO
80	select GENERIC_IRQ_CHIP
81	select MACH_OMAP_GENERIC
82	select MEMORY
83	select MFD_SYSCON
84	select OMAP_DM_TIMER
85	select OMAP_GPMC
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
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
222config MACH_OMAP3_PANDORA
223	bool "OMAP3 Pandora"
224	depends on ARCH_OMAP3
225	default y
226	select OMAP_PACKAGE_CBB
227	select REGULATOR_FIXED_VOLTAGE if REGULATOR
228
229config MACH_TOUCHBOOK
230	bool "OMAP3 Touch Book"
231	depends on ARCH_OMAP3
232	default y
233	select OMAP_PACKAGE_CBB
234
235config MACH_NOKIA_N810
236       bool
237
238config MACH_NOKIA_N810_WIMAX
239       bool
240
241config MACH_NOKIA_N8X0
242	bool "Nokia N800/N810"
243	depends on SOC_OMAP2420
244	default y
245	select MACH_NOKIA_N810
246	select MACH_NOKIA_N810_WIMAX
247
248config MACH_NOKIA_RX51
249	bool "Nokia N900 (RX-51) phone"
250	depends on ARCH_OMAP3
251	default y
252	select OMAP_PACKAGE_CBB
253
254config MACH_CM_T35
255	bool "CompuLab CM-T35/CM-T3730 modules"
256	depends on ARCH_OMAP3
257	default y
258	select MACH_CM_T3730
259	select OMAP_PACKAGE_CUS
260
261config MACH_CM_T3730
262       bool
263
264config MACH_SBC3530
265	bool "OMAP3 SBC STALKER board"
266	depends on ARCH_OMAP3
267	default y
268	select OMAP_PACKAGE_CUS
269
270config OMAP3_SDRC_AC_TIMING
271	bool "Enable SDRC AC timing register changes"
272	depends on ARCH_OMAP3
273	default n
274	help
275	  If you know that none of your system initiators will attempt to
276	  access SDRAM during CORE DVFS, select Y here.  This should boost
277	  SDRAM performance at lower CORE OPPs.  There are relatively few
278	  users who will wish to say yes at this point - almost everyone will
279	  wish to say no.  Selecting yes without understanding what is
280	  going on could result in system crashes;
281
282config OMAP4_ERRATA_I688
283	bool "OMAP4 errata: Async Bridge Corruption"
284	depends on (ARCH_OMAP4 || SOC_OMAP5) && !ARCH_MULTIPLATFORM
285	select ARCH_HAS_BARRIERS
286	help
287	  If a data is stalled inside asynchronous bridge because of back
288	  pressure, it may be accepted multiple times, creating pointer
289	  misalignment that will corrupt next transfers on that data path
290	  until next reset of the system (No recovery procedure once the
291	  issue is hit, the path remains consistently broken). Async bridge
292	  can be found on path between MPU to EMIF and MPU to L3 interconnect.
293	  This situation can happen only when the idle is initiated by a
294	  Master Request Disconnection (which is trigged by software when
295	  executing WFI on CPU).
296	  The work-around for this errata needs all the initiators connected
297	  through async bridge must ensure that data path is properly drained
298	  before issuing WFI. This condition will be met if one Strongly ordered
299	  access is performed to the target right before executing the WFI.
300	  In MPU case, L3 T2ASYNC FIFO and DDR T2ASYNC FIFO needs to be drained.
301	  IO barrier ensure that there is no synchronisation loss on initiators
302	  operating on both interconnect port simultaneously.
303endmenu
304
305endif
306
307endmenu
308