Loading...
1if ARCH_OMAP2PLUS
2
3menu "TI OMAP2/3/4 Specific Features"
4
5config ARCH_OMAP2PLUS_TYPICAL
6 bool "Typical OMAP configuration"
7 default y
8 select AEABI
9 select REGULATOR
10 select PM_RUNTIME
11 select VFP
12 select NEON if ARCH_OMAP3 || ARCH_OMAP4
13 select SERIAL_OMAP
14 select SERIAL_OMAP_CONSOLE
15 select I2C
16 select I2C_OMAP
17 select MENELAUS if ARCH_OMAP2
18 select TWL4030_CORE if ARCH_OMAP3 || ARCH_OMAP4
19 select TWL4030_POWER if ARCH_OMAP3 || ARCH_OMAP4
20 select HIGHMEM
21 help
22 Compile a kernel suitable for booting most boards
23
24config ARCH_OMAP2
25 bool "TI OMAP2"
26 depends on ARCH_OMAP2PLUS
27 default y
28 select CPU_V6
29 select MULTI_IRQ_HANDLER
30
31config ARCH_OMAP3
32 bool "TI OMAP3"
33 depends on ARCH_OMAP2PLUS
34 default y
35 select CPU_V7
36 select USB_ARCH_HAS_EHCI if USB_SUPPORT
37 select ARCH_HAS_OPP
38 select PM_OPP if PM
39 select ARM_CPU_SUSPEND if PM
40 select MULTI_IRQ_HANDLER
41
42config ARCH_OMAP4
43 bool "TI OMAP4"
44 default y
45 depends on ARCH_OMAP2PLUS
46 select CACHE_L2X0
47 select CPU_V7
48 select ARM_GIC
49 select HAVE_SMP
50 select LOCAL_TIMERS if SMP
51 select PL310_ERRATA_588369
52 select PL310_ERRATA_727915
53 select ARM_ERRATA_720789
54 select ARCH_HAS_OPP
55 select PM_OPP if PM
56 select USB_ARCH_HAS_EHCI if USB_SUPPORT
57 select ARM_CPU_SUSPEND if PM
58
59comment "OMAP Core Type"
60 depends on ARCH_OMAP2
61
62config SOC_OMAP2420
63 bool "OMAP2420 support"
64 depends on ARCH_OMAP2
65 default y
66 select OMAP_DM_TIMER
67 select ARCH_OMAP_OTG
68
69config SOC_OMAP2430
70 bool "OMAP2430 support"
71 depends on ARCH_OMAP2
72 default y
73 select ARCH_OMAP_OTG
74
75config SOC_OMAP3430
76 bool "OMAP3430 support"
77 depends on ARCH_OMAP3
78 default y
79 select ARCH_OMAP_OTG
80
81config SOC_TI81XX
82 bool "TI81XX support"
83 depends on ARCH_OMAP3
84 default y
85
86config SOC_AM33XX
87 bool "AM33XX support"
88 depends on ARCH_OMAP3
89 default y
90
91config OMAP_PACKAGE_ZAF
92 bool
93
94config OMAP_PACKAGE_ZAC
95 bool
96
97config OMAP_PACKAGE_CBC
98 bool
99
100config OMAP_PACKAGE_CBB
101 bool
102
103config OMAP_PACKAGE_CUS
104 bool
105
106config OMAP_PACKAGE_CBP
107 bool
108
109config OMAP_PACKAGE_CBL
110 bool
111
112config OMAP_PACKAGE_CBS
113 bool
114
115comment "OMAP Board Type"
116 depends on ARCH_OMAP2PLUS
117
118config MACH_OMAP_GENERIC
119 bool "Generic OMAP2+ board"
120 depends on ARCH_OMAP2PLUS
121 default y
122 help
123 Support for generic TI OMAP2+ boards using Flattened Device Tree.
124 More information at Documentation/devicetree
125
126config MACH_OMAP2_TUSB6010
127 bool
128 depends on ARCH_OMAP2 && SOC_OMAP2420
129 default y if MACH_NOKIA_N8X0
130
131config MACH_OMAP_H4
132 bool "OMAP 2420 H4 board"
133 depends on SOC_OMAP2420
134 default y
135 select OMAP_PACKAGE_ZAF
136 select OMAP_DEBUG_DEVICES
137
138config MACH_OMAP_APOLLON
139 bool "OMAP 2420 Apollon board"
140 depends on SOC_OMAP2420
141 default y
142 select OMAP_PACKAGE_ZAC
143
144config MACH_OMAP_2430SDP
145 bool "OMAP 2430 SDP board"
146 depends on SOC_OMAP2430
147 default y
148 select OMAP_PACKAGE_ZAC
149
150config MACH_OMAP3_BEAGLE
151 bool "OMAP3 BEAGLE board"
152 depends on ARCH_OMAP3
153 default y
154 select OMAP_PACKAGE_CBB
155
156config MACH_DEVKIT8000
157 bool "DEVKIT8000 board"
158 depends on ARCH_OMAP3
159 default y
160 select OMAP_PACKAGE_CUS
161
162config MACH_OMAP_LDP
163 bool "OMAP3 LDP board"
164 depends on ARCH_OMAP3
165 default y
166 select OMAP_PACKAGE_CBB
167
168config MACH_OMAP3530_LV_SOM
169 bool "OMAP3 Logic 3530 LV SOM board"
170 depends on ARCH_OMAP3
171 select OMAP_PACKAGE_CBB
172 default y
173 help
174 Support for the LogicPD OMAP3530 SOM Development kit
175 for full description please see the products webpage at
176 http://www.logicpd.com/products/development-kits/texas-instruments-zoom%E2%84%A2-omap35x-development-kit
177
178config MACH_OMAP3_TORPEDO
179 bool "OMAP3 Logic 35x Torpedo board"
180 depends on ARCH_OMAP3
181 select OMAP_PACKAGE_CBB
182 default y
183 help
184 Support for the LogicPD OMAP35x Torpedo Development kit
185 for full description please see the products webpage at
186 http://www.logicpd.com/products/development-kits/zoom-omap35x-torpedo-development-kit
187
188config MACH_OVERO
189 bool "Gumstix Overo board"
190 depends on ARCH_OMAP3
191 default y
192 select OMAP_PACKAGE_CBB
193
194config MACH_OMAP3EVM
195 bool "OMAP 3530 EVM board"
196 depends on ARCH_OMAP3
197 default y
198 select OMAP_PACKAGE_CBB
199
200config MACH_OMAP3517EVM
201 bool "OMAP3517/ AM3517 EVM board"
202 depends on ARCH_OMAP3
203 default y
204 select OMAP_PACKAGE_CBB
205
206config MACH_CRANEBOARD
207 bool "AM3517/05 CRANE board"
208 depends on ARCH_OMAP3
209 select OMAP_PACKAGE_CBB
210
211config MACH_OMAP3_PANDORA
212 bool "OMAP3 Pandora"
213 depends on ARCH_OMAP3
214 default y
215 select OMAP_PACKAGE_CBB
216 select REGULATOR_FIXED_VOLTAGE if REGULATOR
217
218config MACH_OMAP3_TOUCHBOOK
219 bool "OMAP3 Touch Book"
220 depends on ARCH_OMAP3
221 default y
222
223config MACH_OMAP_3430SDP
224 bool "OMAP 3430 SDP board"
225 depends on ARCH_OMAP3
226 default y
227 select OMAP_PACKAGE_CBB
228
229config MACH_NOKIA_N800
230 bool
231
232config MACH_NOKIA_N810
233 bool
234
235config MACH_NOKIA_N810_WIMAX
236 bool
237
238config MACH_NOKIA_N8X0
239 bool "Nokia N800/N810"
240 depends on SOC_OMAP2420
241 default y
242 select OMAP_PACKAGE_ZAC
243 select MACH_NOKIA_N800
244 select MACH_NOKIA_N810
245 select MACH_NOKIA_N810_WIMAX
246
247config MACH_NOKIA_RM680
248 bool "Nokia RM-680/696 board"
249 depends on ARCH_OMAP3
250 default y
251 select OMAP_PACKAGE_CBB
252 select MACH_NOKIA_RM696
253
254config MACH_NOKIA_RX51
255 bool "Nokia RX-51 board"
256 depends on ARCH_OMAP3
257 default y
258 select OMAP_PACKAGE_CBB
259
260config MACH_OMAP_ZOOM2
261 bool "OMAP3 Zoom2 board"
262 depends on ARCH_OMAP3
263 default y
264 select OMAP_PACKAGE_CBB
265 select SERIAL_8250
266 select SERIAL_CORE_CONSOLE
267 select SERIAL_8250_CONSOLE
268 select REGULATOR_FIXED_VOLTAGE if REGULATOR
269
270config MACH_OMAP_ZOOM3
271 bool "OMAP3630 Zoom3 board"
272 depends on ARCH_OMAP3
273 default y
274 select OMAP_PACKAGE_CBP
275 select SERIAL_8250
276 select SERIAL_CORE_CONSOLE
277 select SERIAL_8250_CONSOLE
278 select REGULATOR_FIXED_VOLTAGE if REGULATOR
279
280config MACH_CM_T35
281 bool "CompuLab CM-T35/CM-T3730 modules"
282 depends on ARCH_OMAP3
283 default y
284 select MACH_CM_T3730
285 select OMAP_PACKAGE_CUS
286
287config MACH_CM_T3517
288 bool "CompuLab CM-T3517 module"
289 depends on ARCH_OMAP3
290 default y
291 select OMAP_PACKAGE_CBB
292
293config MACH_CM_T3730
294 bool
295
296config MACH_IGEP0020
297 bool "IGEP v2 board"
298 depends on ARCH_OMAP3
299 default y
300 select OMAP_PACKAGE_CBB
301
302config MACH_IGEP0030
303 bool "IGEP OMAP3 module"
304 depends on ARCH_OMAP3
305 default y
306 select OMAP_PACKAGE_CBB
307 select MACH_IGEP0020
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_OMAP_3630SDP
316 bool "OMAP3630 SDP board"
317 depends on ARCH_OMAP3
318 default y
319 select OMAP_PACKAGE_CBP
320
321config MACH_TI8168EVM
322 bool "TI8168 Evaluation Module"
323 depends on SOC_TI81XX
324 default y
325
326config MACH_TI8148EVM
327 bool "TI8148 Evaluation Module"
328 depends on SOC_TI81XX
329 default y
330
331config MACH_OMAP_4430SDP
332 bool "OMAP 4430 SDP board"
333 default y
334 depends on ARCH_OMAP4
335 select OMAP_PACKAGE_CBL
336 select OMAP_PACKAGE_CBS
337 select REGULATOR_FIXED_VOLTAGE if REGULATOR
338
339config MACH_OMAP4_PANDA
340 bool "OMAP4 Panda Board"
341 default y
342 depends on ARCH_OMAP4
343 select OMAP_PACKAGE_CBL
344 select OMAP_PACKAGE_CBS
345 select REGULATOR_FIXED_VOLTAGE if REGULATOR
346
347config OMAP3_EMU
348 bool "OMAP3 debugging peripherals"
349 depends on ARCH_OMAP3
350 select ARM_AMBA
351 select OC_ETM
352 help
353 Say Y here to enable debugging hardware of omap3
354
355config OMAP3_SDRC_AC_TIMING
356 bool "Enable SDRC AC timing register changes"
357 depends on ARCH_OMAP3
358 default n
359 help
360 If you know that none of your system initiators will attempt to
361 access SDRAM during CORE DVFS, select Y here. This should boost
362 SDRAM performance at lower CORE OPPs. There are relatively few
363 users who will wish to say yes at this point - almost everyone will
364 wish to say no. Selecting yes without understanding what is
365 going on could result in system crashes;
366
367config OMAP4_ERRATA_I688
368 bool "OMAP4 errata: Async Bridge Corruption"
369 depends on ARCH_OMAP4
370 select ARCH_HAS_BARRIERS
371 help
372 If a data is stalled inside asynchronous bridge because of back
373 pressure, it may be accepted multiple times, creating pointer
374 misalignment that will corrupt next transfers on that data path
375 until next reset of the system (No recovery procedure once the
376 issue is hit, the path remains consistently broken). Async bridge
377 can be found on path between MPU to EMIF and MPU to L3 interconnect.
378 This situation can happen only when the idle is initiated by a
379 Master Request Disconnection (which is trigged by software when
380 executing WFI on CPU).
381 The work-around for this errata needs all the initiators connected
382 through async bridge must ensure that data path is properly drained
383 before issuing WFI. This condition will be met if one Strongly ordered
384 access is performed to the target right before executing the WFI.
385 In MPU case, L3 T2ASYNC FIFO and DDR T2ASYNC FIFO needs to be drained.
386 IO barrier ensure that there is no synchronisation loss on initiators
387 operating on both interconnect port simultaneously.
388endmenu
389
390endif
1# SPDX-License-Identifier: GPL-2.0-only
2menu "TI OMAP/AM/DM/DRA Family"
3 depends on ARCH_MULTI_V6 || ARCH_MULTI_V7
4
5config OMAP_HWMOD
6 bool
7
8config ARCH_OMAP2
9 bool "TI OMAP2"
10 depends on ARCH_MULTI_V6
11 select ARCH_OMAP2PLUS
12 select CPU_V6
13 select OMAP_HWMOD
14 select SOC_HAS_OMAP2_SDRC
15
16config ARCH_OMAP3
17 bool "TI OMAP3"
18 depends on ARCH_MULTI_V7
19 select ARCH_OMAP2PLUS
20 select ARM_CPU_SUSPEND
21 select OMAP_HWMOD
22 select OMAP_INTERCONNECT
23 select PM_OPP
24 select SOC_HAS_OMAP2_SDRC
25 select ARM_ERRATA_430973
26
27config ARCH_OMAP4
28 bool "TI OMAP4"
29 depends on ARCH_MULTI_V7
30 select ARCH_OMAP2PLUS
31 select ARCH_NEEDS_CPU_IDLE_COUPLED if SMP
32 select ARM_CPU_SUSPEND
33 select ARM_ERRATA_720789
34 select ARM_GIC
35 select HAVE_ARM_SCU if SMP
36 select HAVE_ARM_TWD if SMP
37 select OMAP_INTERCONNECT
38 select OMAP_INTERCONNECT_BARRIER
39 select PL310_ERRATA_588369 if CACHE_L2X0
40 select PL310_ERRATA_727915 if CACHE_L2X0
41 select PM_OPP
42 select PM if CPU_IDLE
43 select ARM_ERRATA_754322
44 select ARM_ERRATA_775420
45 select OMAP_INTERCONNECT
46
47config SOC_OMAP5
48 bool "TI OMAP5"
49 depends on ARCH_MULTI_V7
50 select ARCH_OMAP2PLUS
51 select ARM_CPU_SUSPEND
52 select ARM_GIC
53 select HAVE_ARM_SCU if SMP
54 select HAVE_ARM_ARCH_TIMER
55 select ARM_ERRATA_798181 if SMP
56 select OMAP_INTERCONNECT
57 select OMAP_INTERCONNECT_BARRIER
58 select PM_OPP
59 select ZONE_DMA if ARM_LPAE
60
61config SOC_AM33XX
62 bool "TI AM33XX"
63 depends on ARCH_MULTI_V7
64 select ARCH_OMAP2PLUS
65 select ARM_CPU_SUSPEND
66
67config SOC_AM43XX
68 bool "TI AM43x"
69 depends on ARCH_MULTI_V7
70 select ARCH_OMAP2PLUS
71 select ARM_GIC
72 select MACH_OMAP_GENERIC
73 select HAVE_ARM_SCU
74 select GENERIC_CLOCKEVENTS_BROADCAST
75 select HAVE_ARM_TWD
76 select ARM_ERRATA_754322
77 select ARM_ERRATA_775420
78 select OMAP_INTERCONNECT
79 select ARM_CPU_SUSPEND
80
81config SOC_DRA7XX
82 bool "TI DRA7XX"
83 depends on ARCH_MULTI_V7
84 select ARCH_OMAP2PLUS
85 select ARM_CPU_SUSPEND
86 select ARM_GIC
87 select HAVE_ARM_SCU if SMP
88 select HAVE_ARM_ARCH_TIMER
89 select IRQ_CROSSBAR
90 select ARM_ERRATA_798181 if SMP
91 select OMAP_INTERCONNECT
92 select OMAP_INTERCONNECT_BARRIER
93 select PM_OPP
94 select ZONE_DMA if ARM_LPAE
95 select PINCTRL_TI_IODELAY if OF && PINCTRL
96
97config ARCH_OMAP2PLUS
98 bool
99 select ARCH_HAS_BANDGAP
100 select ARCH_HAS_RESET_CONTROLLER
101 select ARCH_OMAP
102 select CLKSRC_MMIO
103 select GENERIC_IRQ_CHIP
104 select GPIOLIB
105 select MACH_OMAP_GENERIC
106 select MEMORY
107 select MFD_SYSCON
108 select OMAP_DM_SYSTIMER
109 select OMAP_DM_TIMER
110 select OMAP_GPMC
111 select PINCTRL
112 select PM
113 select PM_GENERIC_DOMAINS
114 select PM_GENERIC_DOMAINS_OF
115 select RESET_CONTROLLER
116 select SOC_BUS
117 select TI_SYSC
118 select OMAP_IRQCHIP
119 select CLKSRC_TI_32K
120 help
121 Systems based on OMAP2, OMAP3, OMAP4 or OMAP5
122
123config OMAP_INTERCONNECT_BARRIER
124 bool
125 select ARM_HEAVY_MB
126
127config ARCH_OMAP
128 bool
129
130if ARCH_OMAP2PLUS
131
132menu "TI OMAP2/3/4 Specific Features"
133
134config ARCH_OMAP2PLUS_TYPICAL
135 bool "Typical OMAP configuration"
136 default y
137 select AEABI
138 select HIGHMEM
139 select I2C
140 select I2C_OMAP
141 select MENELAUS if ARCH_OMAP2
142 select NEON if CPU_V7
143 select REGULATOR
144 select REGULATOR_FIXED_VOLTAGE
145 select TWL4030_CORE if ARCH_OMAP3 || ARCH_OMAP4
146 select TWL4030_POWER if ARCH_OMAP3 || ARCH_OMAP4
147 select VFP
148 help
149 Compile a kernel suitable for booting most boards
150
151config SOC_HAS_OMAP2_SDRC
152 bool "OMAP2 SDRAM Controller support"
153
154config SOC_HAS_REALTIME_COUNTER
155 bool "Real time free running counter"
156 depends on SOC_OMAP5 || SOC_DRA7XX
157 default y
158
159config POWER_AVS_OMAP
160 bool "AVS(Adaptive Voltage Scaling) support for OMAP IP versions 1&2"
161 depends on (ARCH_OMAP3 || ARCH_OMAP4) && PM
162 select POWER_SUPPLY
163 help
164 Say Y to enable AVS(Adaptive Voltage Scaling)
165 support on OMAP containing the version 1 or
166 version 2 of the SmartReflex IP.
167 V1 is the 65nm version used in OMAP3430.
168 V2 is the update for the 45nm version of the IP used in OMAP3630
169 and OMAP4430
170
171 Please note, that by default SmartReflex is only
172 initialized and not enabled. To enable the automatic voltage
173 compensation for vdd mpu and vdd core from user space,
174 user must write 1 to
175 /debug/smartreflex/sr_<X>/autocomp,
176 where X is mpu_iva or core for OMAP3.
177 Optionally autocompensation can be enabled in the kernel
178 by default during system init via the enable_on_init flag
179 which an be passed as platform data to the smartreflex driver.
180
181config POWER_AVS_OMAP_CLASS3
182 bool "Class 3 mode of Smartreflex Implementation"
183 depends on POWER_AVS_OMAP && TWL4030_CORE
184 help
185 Say Y to enable Class 3 implementation of Smartreflex
186
187 Class 3 implementation of Smartreflex employs continuous hardware
188 voltage calibration.
189
190config OMAP3_L2_AUX_SECURE_SAVE_RESTORE
191 bool "OMAP3 HS/EMU save and restore for L2 AUX control register"
192 depends on ARCH_OMAP3 && PM
193 help
194 Without this option, L2 Auxiliary control register contents are
195 lost during off-mode entry on HS/EMU devices. This feature
196 requires support from PPA / boot-loader in HS/EMU devices, which
197 currently does not exist by default.
198
199config OMAP3_L2_AUX_SECURE_SERVICE_SET_ID
200 int "Service ID for the support routine to set L2 AUX control"
201 depends on OMAP3_L2_AUX_SECURE_SAVE_RESTORE
202 default 43
203 help
204 PPA routine service ID for setting L2 auxiliary control register.
205
206comment "OMAP Core Type"
207 depends on ARCH_OMAP2
208
209config SOC_OMAP2420
210 bool "OMAP2420 support"
211 depends on ARCH_OMAP2
212 default y
213 select OMAP_DM_SYSTIMER
214 select OMAP_DM_TIMER
215 select SOC_HAS_OMAP2_SDRC
216
217config SOC_OMAP2430
218 bool "OMAP2430 support"
219 depends on ARCH_OMAP2
220 default y
221 select SOC_HAS_OMAP2_SDRC
222
223config SOC_OMAP3430
224 bool "OMAP3430 support"
225 depends on ARCH_OMAP3
226 default y
227 select SOC_HAS_OMAP2_SDRC
228
229config SOC_TI81XX
230 bool "TI81XX support"
231 depends on ARCH_OMAP3
232 default y
233
234comment "OMAP Legacy Platform Data Board Type"
235 depends on ARCH_OMAP2PLUS
236
237config MACH_OMAP_GENERIC
238 bool
239
240config MACH_OMAP2_TUSB6010
241 bool
242 depends on ARCH_OMAP2 && SOC_OMAP2420
243 default y if MACH_NOKIA_N8X0
244
245config MACH_NOKIA_N810
246 bool
247
248config MACH_NOKIA_N810_WIMAX
249 bool
250
251config MACH_NOKIA_N8X0
252 bool "Nokia N800/N810"
253 depends on SOC_OMAP2420
254 default y
255 select MACH_NOKIA_N810
256 select MACH_NOKIA_N810_WIMAX
257
258config OMAP3_SDRC_AC_TIMING
259 bool "Enable SDRC AC timing register changes"
260 depends on ARCH_OMAP3
261 help
262 If you know that none of your system initiators will attempt to
263 access SDRAM during CORE DVFS, select Y here. This should boost
264 SDRAM performance at lower CORE OPPs. There are relatively few
265 users who will wish to say yes at this point - almost everyone will
266 wish to say no. Selecting yes without understanding what is
267 going on could result in system crashes;
268
269endmenu
270
271endif
272
273config OMAP5_ERRATA_801819
274 bool "Errata 801819: An eviction from L1 data cache might stall indefinitely"
275 depends on SOC_OMAP5 || SOC_DRA7XX
276 help
277 A livelock can occur in the L2 cache arbitration that might prevent
278 a snoop from completing. Under certain conditions this can cause the
279 system to deadlock.
280
281endmenu