Kconfig 9.8 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
config ARCH_OMAP
	bool

config ARCH_OMAP2PLUS
	bool "TI OMAP2/3/4/5 SoCs with device tree support" if (ARCH_MULTI_V6 || ARCH_MULTI_V7)
	select ARCH_HAS_CPUFREQ
	select ARCH_HAS_HOLES_MEMORYMODEL
	select ARCH_OMAP
	select ARCH_REQUIRE_GPIOLIB
	select CLKDEV_LOOKUP
	select CLKSRC_MMIO
	select GENERIC_CLOCKEVENTS
	select GENERIC_IRQ_CHIP
	select HAVE_CLK
	select OMAP_DM_TIMER
	select PINCTRL
	select PROC_DEVICETREE if PROC_FS
18
	select SOC_BUS
19 20 21 22 23 24
	select SPARSE_IRQ
	select USE_OF
	help
	  Systems based on OMAP2, OMAP3, OMAP4 or OMAP5


25 26 27 28
if ARCH_OMAP2PLUS

menu "TI OMAP2/3/4 Specific Features"

29 30 31 32
config ARCH_OMAP2PLUS_TYPICAL
	bool "Typical OMAP configuration"
	default y
	select AEABI
33
	select HIGHMEM
34 35 36
	select I2C
	select I2C_OMAP
	select MENELAUS if ARCH_OMAP2
37 38 39
	select NEON if ARCH_OMAP3 || ARCH_OMAP4 || SOC_OMAP5
	select PM_RUNTIME
	select REGULATOR
40 41
	select TWL4030_CORE if ARCH_OMAP3 || ARCH_OMAP4
	select TWL4030_POWER if ARCH_OMAP3 || ARCH_OMAP4
42
	select VFP
43 44 45
	help
	  Compile a kernel suitable for booting most boards

46 47 48
config SOC_HAS_OMAP2_SDRC
	bool "OMAP2 SDRAM Controller support"

49 50
config SOC_HAS_REALTIME_COUNTER
	bool "Real time free running counter"
51 52
	depends on SOC_OMAP5
	default y
53

54
config ARCH_OMAP2
55 56
	bool "TI OMAP2"
	depends on ARCH_OMAP2PLUS
57
	depends on ARCH_MULTI_V6
58
	default y
59
	select CPU_V6
60
	select MULTI_IRQ_HANDLER
61
	select SOC_HAS_OMAP2_SDRC
62
	select COMMON_CLK
63 64

config ARCH_OMAP3
65 66
	bool "TI OMAP3"
	depends on ARCH_OMAP2PLUS
67
	depends on ARCH_MULTI_V7
68
	default y
69
	select ARCH_HAS_OPP
70
	select ARM_CPU_SUSPEND if PM
71
	select CPU_V7
72
	select MULTI_IRQ_HANDLER
73
	select OMAP_INTERCONNECT
74 75 76
	select PM_OPP if PM
	select PM_RUNTIME if CPU_IDLE
	select SOC_HAS_OMAP2_SDRC
77
	select COMMON_CLK
78
	select USB_ARCH_HAS_EHCI if USB_SUPPORT
79 80

config ARCH_OMAP4
81 82 83
	bool "TI OMAP4"
	default y
	depends on ARCH_OMAP2PLUS
84
	depends on ARCH_MULTI_V7
85 86 87 88 89
	select ARCH_HAS_OPP
	select ARCH_NEEDS_CPU_IDLE_COUPLED if SMP
	select ARM_CPU_SUSPEND if PM
	select ARM_ERRATA_720789
	select ARM_GIC
90
	select CACHE_L2X0
91
	select CPU_V7
92 93
	select HAVE_ARM_SCU if SMP
	select HAVE_ARM_TWD if LOCAL_TIMERS
94
	select HAVE_SMP
95
	select LOCAL_TIMERS if SMP
96
	select OMAP_INTERCONNECT
97
	select PL310_ERRATA_588369
98
	select PL310_ERRATA_727915
N
Nishanth Menon 已提交
99
	select PM_OPP if PM
100
	select PM_RUNTIME if CPU_IDLE
101
	select USB_ARCH_HAS_EHCI if USB_SUPPORT
102
	select COMMON_CLK
103 104
	select ARM_ERRATA_754322
	select ARM_ERRATA_775420
105

R
R Sricharan 已提交
106 107
config SOC_OMAP5
	bool "TI OMAP5"
108
	depends on ARCH_MULTI_V7
109
	select ARM_CPU_SUSPEND if PM
R
R Sricharan 已提交
110
	select ARM_GIC
111
	select CPU_V7
R
R Sricharan 已提交
112
	select HAVE_SMP
113
	select COMMON_CLK
114
	select HAVE_ARM_ARCH_TIMER
R
R Sricharan 已提交
115

116
comment "OMAP Core Type"
117
	depends on ARCH_OMAP2
118

119
config SOC_OMAP2420
120
	bool "OMAP2420 support"
121
	depends on ARCH_OMAP2
122
	default y
123
	select OMAP_DM_TIMER
124
	select SOC_HAS_OMAP2_SDRC
125

126
config SOC_OMAP2430
127
	bool "OMAP2430 support"
128
	depends on ARCH_OMAP2
129
	default y
130
	select SOC_HAS_OMAP2_SDRC
131

132
config SOC_OMAP3430
133
	bool "OMAP3430 support"
134
	depends on ARCH_OMAP3
135
	default y
136
	select SOC_HAS_OMAP2_SDRC
137

138
config SOC_TI81XX
139
	bool "TI81XX support"
140
	depends on ARCH_OMAP3
141 142
	default y

143
config SOC_AM33XX
144
	bool "AM33XX support"
145
	depends on ARCH_MULTI_V7
146
	default y
147
	select ARM_CPU_SUSPEND if PM
148
	select CPU_V7
149
	select MULTI_IRQ_HANDLER
150
	select COMMON_CLK
151

T
Tony Lindgren 已提交
152 153 154 155 156 157
config OMAP_PACKAGE_ZAF
       bool

config OMAP_PACKAGE_ZAC
       bool

158 159 160 161 162 163 164 165 166
config OMAP_PACKAGE_CBC
       bool

config OMAP_PACKAGE_CBB
       bool

config OMAP_PACKAGE_CUS
       bool

167 168 169
config OMAP_PACKAGE_CBP
       bool

170 171 172
config OMAP_PACKAGE_CBL
       bool

173 174 175
config OMAP_PACKAGE_CBS
       bool

176
comment "OMAP Board Type"
177
	depends on ARCH_OMAP2PLUS
178 179

config MACH_OMAP_GENERIC
180
	bool "Generic OMAP2+ board"
181
	depends on ARCH_OMAP2PLUS
182
	default y
183 184 185
	help
	  Support for generic TI OMAP2+ boards using Flattened Device Tree.
	  More information at Documentation/devicetree
186

K
Kalle Valo 已提交
187 188
config MACH_OMAP2_TUSB6010
	bool
189
	depends on ARCH_OMAP2 && SOC_OMAP2420
K
Kalle Valo 已提交
190 191
	default y if MACH_NOKIA_N8X0

192 193
config MACH_OMAP_H4
	bool "OMAP 2420 H4 board"
194
	depends on SOC_OMAP2420
195
	default y
196
	select OMAP_DEBUG_DEVICES
197
	select OMAP_PACKAGE_ZAF
198

199 200
config MACH_OMAP_2430SDP
	bool "OMAP 2430 SDP board"
201
	depends on SOC_OMAP2430
202
	default y
203
	select OMAP_PACKAGE_ZAC
204

205 206
config MACH_OMAP3_BEAGLE
	bool "OMAP3 BEAGLE board"
207
	depends on ARCH_OMAP3
208
	default y
209
	select OMAP_PACKAGE_CBB
210

211
config MACH_DEVKIT8000
212 213
	bool "DEVKIT8000 board"
	depends on ARCH_OMAP3
214
	default y
215
	select OMAP_PACKAGE_CUS
216

217 218
config MACH_OMAP_LDP
	bool "OMAP3 LDP board"
219
	depends on ARCH_OMAP3
220
	default y
221
	select OMAP_PACKAGE_CBB
222

223 224 225 226
config MACH_OMAP3530_LV_SOM
	bool "OMAP3 Logic 3530 LV SOM board"
	depends on ARCH_OMAP3
	default y
227
	select OMAP_PACKAGE_CBB
228 229 230 231 232 233 234 235 236
	help
	 Support for the LogicPD OMAP3530 SOM Development kit
	 for full description please see the products webpage at
	 http://www.logicpd.com/products/development-kits/texas-instruments-zoom%E2%84%A2-omap35x-development-kit

config MACH_OMAP3_TORPEDO
	bool "OMAP3 Logic 35x Torpedo board"
	depends on ARCH_OMAP3
	default y
237
	select OMAP_PACKAGE_CBB
238 239 240 241 242
	help
	 Support for the LogicPD OMAP35x Torpedo Development kit
	 for full description please see the products webpage at
	 http://www.logicpd.com/products/development-kits/zoom-omap35x-torpedo-development-kit

243 244
config MACH_OVERO
	bool "Gumstix Overo board"
245
	depends on ARCH_OMAP3
246
	default y
247
	select OMAP_PACKAGE_CBB
248

249 250
config MACH_OMAP3EVM
	bool "OMAP 3530 EVM board"
251
	depends on ARCH_OMAP3
252
	default y
253
	select OMAP_PACKAGE_CBB
254

255 256
config MACH_OMAP3517EVM
	bool "OMAP3517/ AM3517 EVM board"
257
	depends on ARCH_OMAP3
258
	default y
259
	select OMAP_PACKAGE_CBB
260

S
Srinath 已提交
261 262 263 264 265
config MACH_CRANEBOARD
	bool "AM3517/05 CRANE board"
	depends on ARCH_OMAP3
	select OMAP_PACKAGE_CBB

266 267
config MACH_OMAP3_PANDORA
	bool "OMAP3 Pandora"
268
	depends on ARCH_OMAP3
269
	default y
270
	select OMAP_PACKAGE_CBB
271
	select REGULATOR_FIXED_VOLTAGE if REGULATOR
272

273
config MACH_TOUCHBOOK
274
	bool "OMAP3 Touch Book"
275
	depends on ARCH_OMAP3
276
	default y
277
	select OMAP_PACKAGE_CBB
278

279 280
config MACH_OMAP_3430SDP
	bool "OMAP 3430 SDP board"
281
	depends on ARCH_OMAP3
282
	default y
283
	select OMAP_PACKAGE_CBB
284

T
Tony Lindgren 已提交
285 286 287 288 289 290 291 292 293
config MACH_NOKIA_N800
       bool

config MACH_NOKIA_N810
       bool

config MACH_NOKIA_N810_WIMAX
       bool

294 295
config MACH_NOKIA_N8X0
	bool "Nokia N800/N810"
296
	depends on SOC_OMAP2420
297
	default y
T
Tony Lindgren 已提交
298 299 300
	select MACH_NOKIA_N800
	select MACH_NOKIA_N810
	select MACH_NOKIA_N810_WIMAX
301
	select OMAP_PACKAGE_ZAC
302

303
config MACH_NOKIA_RM680
304
	bool "Nokia N950 (RM-680) / N9 (RM-696) phones"
305 306
	depends on ARCH_OMAP3
	default y
307
	select MACH_NOKIA_RM696
308
	select OMAP_PACKAGE_CBB
309

310
config MACH_NOKIA_RX51
311
	bool "Nokia N900 (RX-51) phone"
312
	depends on ARCH_OMAP3
313
	default y
314
	select OMAP_PACKAGE_CBB
315 316 317

config MACH_OMAP_ZOOM2
	bool "OMAP3 Zoom2 board"
318
	depends on ARCH_OMAP3
319
	default y
320
	select OMAP_PACKAGE_CBB
321
	select REGULATOR_FIXED_VOLTAGE if REGULATOR
322

323 324
config MACH_OMAP_ZOOM3
	bool "OMAP3630 Zoom3 board"
325
	depends on ARCH_OMAP3
326
	default y
327
	select OMAP_PACKAGE_CBP
328
	select REGULATOR_FIXED_VOLTAGE if REGULATOR
329

330
config MACH_CM_T35
331
	bool "CompuLab CM-T35/CM-T3730 modules"
332
	depends on ARCH_OMAP3
333
	default y
334
	select MACH_CM_T3730
335
	select OMAP_PACKAGE_CUS
336

337 338 339 340 341 342
config MACH_CM_T3517
	bool "CompuLab CM-T3517 module"
	depends on ARCH_OMAP3
	default y
	select OMAP_PACKAGE_CBB

343 344 345
config MACH_CM_T3730
       bool

346
config MACH_IGEP0020
347
	bool "IGEP v2 board"
348
	depends on ARCH_OMAP3
349
	default y
350
	select OMAP_PACKAGE_CBB
351

352 353 354 355
config MACH_IGEP0030
	bool "IGEP OMAP3 module"
	depends on ARCH_OMAP3
	default y
M
Mike Rapoport 已提交
356
	select MACH_IGEP0020
357
	select OMAP_PACKAGE_CBB
358

359 360 361
config MACH_SBC3530
	bool "OMAP3 SBC STALKER board"
	depends on ARCH_OMAP3
362
	default y
363 364
	select OMAP_PACKAGE_CUS

365 366
config MACH_OMAP_3630SDP
	bool "OMAP3630 SDP board"
367
	depends on ARCH_OMAP3
368
	default y
369
	select OMAP_PACKAGE_CBP
370

371 372
config MACH_TI8168EVM
	bool "TI8168 Evaluation Module"
373
	depends on SOC_TI81XX
374
	default y
375 376 377

config MACH_TI8148EVM
	bool "TI8148 Evaluation Module"
378
	depends on SOC_TI81XX
379
	default y
380

381 382
config MACH_OMAP_4430SDP
	bool "OMAP 4430 SDP board"
383
	default y
384
	depends on ARCH_OMAP4
385
	select OMAP_PACKAGE_CBL
386
	select OMAP_PACKAGE_CBS
387
	select REGULATOR_FIXED_VOLTAGE if REGULATOR
388

D
David Anders 已提交
389 390 391 392
config MACH_OMAP4_PANDA
	bool "OMAP4 Panda Board"
	default y
	depends on ARCH_OMAP4
393 394
	select OMAP_PACKAGE_CBL
	select OMAP_PACKAGE_CBS
395
	select REGULATOR_FIXED_VOLTAGE if REGULATOR
D
David Anders 已提交
396

397 398 399
config OMAP3_EMU
	bool "OMAP3 debugging peripherals"
	depends on ARCH_OMAP3
400
	select ARM_AMBA
401 402 403 404
	select OC_ETM
	help
	  Say Y here to enable debugging hardware of omap3

405 406
config OMAP3_SDRC_AC_TIMING
	bool "Enable SDRC AC timing register changes"
407
	depends on ARCH_OMAP3
408 409 410 411 412 413 414 415 416
	default n
	help
	  If you know that none of your system initiators will attempt to
	  access SDRAM during CORE DVFS, select Y here.  This should boost
	  SDRAM performance at lower CORE OPPs.  There are relatively few
	  users who will wish to say yes at this point - almost everyone will
	  wish to say no.  Selecting yes without understanding what is
	  going on could result in system crashes;

417
config OMAP4_ERRATA_I688
418
	bool "OMAP4 errata: Async Bridge Corruption"
419
	depends on (ARCH_OMAP4 || SOC_OMAP5) && !ARCH_MULTIPLATFORM
420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437
	select ARCH_HAS_BARRIERS
	help
	  If a data is stalled inside asynchronous bridge because of back
	  pressure, it may be accepted multiple times, creating pointer
	  misalignment that will corrupt next transfers on that data path
	  until next reset of the system (No recovery procedure once the
	  issue is hit, the path remains consistently broken). Async bridge
	  can be found on path between MPU to EMIF and MPU to L3 interconnect.
	  This situation can happen only when the idle is initiated by a
	  Master Request Disconnection (which is trigged by software when
	  executing WFI on CPU).
	  The work-around for this errata needs all the initiators connected
	  through async bridge must ensure that data path is properly drained
	  before issuing WFI. This condition will be met if one Strongly ordered
	  access is performed to the target right before executing the WFI.
	  In MPU case, L3 T2ASYNC FIFO and DDR T2ASYNC FIFO needs to be drained.
	  IO barrier ensure that there is no synchronisation loss on initiators
	  operating on both interconnect port simultaneously.
438 439 440
endmenu

endif