Kconfig 9.6 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
	select SPARSE_IRQ
20
	select TI_PRIV_EDMA
21 22 23 24 25
	select USE_OF
	help
	  Systems based on OMAP2, OMAP3, OMAP4 or OMAP5


26 27 28 29
if ARCH_OMAP2PLUS

menu "TI OMAP2/3/4 Specific Features"

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

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

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

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

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

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

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

119
comment "OMAP Core Type"
120
	depends on ARCH_OMAP2
121

122
config SOC_OMAP2420
123
	bool "OMAP2420 support"
124
	depends on ARCH_OMAP2
125
	default y
126
	select OMAP_DM_TIMER
127
	select SOC_HAS_OMAP2_SDRC
128

129
config SOC_OMAP2430
130
	bool "OMAP2430 support"
131
	depends on ARCH_OMAP2
132
	default y
133
	select SOC_HAS_OMAP2_SDRC
134

135
config SOC_OMAP3430
136
	bool "OMAP3430 support"
137
	depends on ARCH_OMAP3
138
	default y
139
	select SOC_HAS_OMAP2_SDRC
140

141
config SOC_TI81XX
142
	bool "TI81XX support"
143
	depends on ARCH_OMAP3
144 145
	default y

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

A
Afzal Mohammed 已提交
155 156 157 158 159 160 161 162
config SOC_AM43XX
	bool "TI AM43x"
	select CPU_V7
	select MULTI_IRQ_HANDLER
	select ARM_GIC
	select COMMON_CLK
	select MACH_OMAP_GENERIC

T
Tony Lindgren 已提交
163 164 165 166 167 168
config OMAP_PACKAGE_ZAF
       bool

config OMAP_PACKAGE_ZAC
       bool

169 170 171 172 173 174 175 176 177
config OMAP_PACKAGE_CBC
       bool

config OMAP_PACKAGE_CBB
       bool

config OMAP_PACKAGE_CUS
       bool

178 179 180
config OMAP_PACKAGE_CBP
       bool

181
comment "OMAP Board Type"
182
	depends on ARCH_OMAP2PLUS
183 184

config MACH_OMAP_GENERIC
185
	bool "Generic OMAP2+ board"
186
	depends on ARCH_OMAP2PLUS
187
	default y
188 189 190
	help
	  Support for generic TI OMAP2+ boards using Flattened Device Tree.
	  More information at Documentation/devicetree
191

K
Kalle Valo 已提交
192 193
config MACH_OMAP2_TUSB6010
	bool
194
	depends on ARCH_OMAP2 && SOC_OMAP2420
K
Kalle Valo 已提交
195 196
	default y if MACH_NOKIA_N8X0

197 198
config MACH_OMAP_H4
	bool "OMAP 2420 H4 board"
199
	depends on SOC_OMAP2420
200
	default y
201
	select OMAP_DEBUG_DEVICES
202
	select OMAP_PACKAGE_ZAF
203

204 205
config MACH_OMAP_2430SDP
	bool "OMAP 2430 SDP board"
206
	depends on SOC_OMAP2430
207
	default y
208
	select OMAP_PACKAGE_ZAC
209

210 211
config MACH_OMAP3_BEAGLE
	bool "OMAP3 BEAGLE board"
212
	depends on ARCH_OMAP3
213
	default y
214
	select OMAP_PACKAGE_CBB
215

216
config MACH_DEVKIT8000
217 218
	bool "DEVKIT8000 board"
	depends on ARCH_OMAP3
219
	default y
220
	select OMAP_PACKAGE_CUS
221

222 223
config MACH_OMAP_LDP
	bool "OMAP3 LDP board"
224
	depends on ARCH_OMAP3
225
	default y
226
	select OMAP_PACKAGE_CBB
227

228 229 230 231
config MACH_OMAP3530_LV_SOM
	bool "OMAP3 Logic 3530 LV SOM board"
	depends on ARCH_OMAP3
	default y
232
	select OMAP_PACKAGE_CBB
233 234 235 236 237 238 239 240 241
	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
242
	select OMAP_PACKAGE_CBB
243 244 245 246 247
	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

248 249
config MACH_OVERO
	bool "Gumstix Overo board"
250
	depends on ARCH_OMAP3
251
	default y
252
	select OMAP_PACKAGE_CBB
253

254 255
config MACH_OMAP3EVM
	bool "OMAP 3530 EVM board"
256
	depends on ARCH_OMAP3
257
	default y
258
	select OMAP_PACKAGE_CBB
259

260 261
config MACH_OMAP3517EVM
	bool "OMAP3517/ AM3517 EVM board"
262
	depends on ARCH_OMAP3
263
	default y
264
	select OMAP_PACKAGE_CBB
265

S
Srinath 已提交
266 267 268 269 270
config MACH_CRANEBOARD
	bool "AM3517/05 CRANE board"
	depends on ARCH_OMAP3
	select OMAP_PACKAGE_CBB

271 272
config MACH_OMAP3_PANDORA
	bool "OMAP3 Pandora"
273
	depends on ARCH_OMAP3
274
	default y
275
	select OMAP_PACKAGE_CBB
276
	select REGULATOR_FIXED_VOLTAGE if REGULATOR
277

278
config MACH_TOUCHBOOK
279
	bool "OMAP3 Touch Book"
280
	depends on ARCH_OMAP3
281
	default y
282
	select OMAP_PACKAGE_CBB
283

284 285
config MACH_OMAP_3430SDP
	bool "OMAP 3430 SDP board"
286
	depends on ARCH_OMAP3
287
	default y
288
	select OMAP_PACKAGE_CBB
289

T
Tony Lindgren 已提交
290 291 292 293 294 295 296 297 298
config MACH_NOKIA_N800
       bool

config MACH_NOKIA_N810
       bool

config MACH_NOKIA_N810_WIMAX
       bool

299 300
config MACH_NOKIA_N8X0
	bool "Nokia N800/N810"
301
	depends on SOC_OMAP2420
302
	default y
T
Tony Lindgren 已提交
303 304 305
	select MACH_NOKIA_N800
	select MACH_NOKIA_N810
	select MACH_NOKIA_N810_WIMAX
306
	select OMAP_PACKAGE_ZAC
307

308
config MACH_NOKIA_RM680
309
	bool "Nokia N950 (RM-680) / N9 (RM-696) phones"
310 311
	depends on ARCH_OMAP3
	default y
312
	select MACH_NOKIA_RM696
313
	select OMAP_PACKAGE_CBB
314

315
config MACH_NOKIA_RX51
316
	bool "Nokia N900 (RX-51) phone"
317
	depends on ARCH_OMAP3
318
	default y
319
	select OMAP_PACKAGE_CBB
320 321 322

config MACH_OMAP_ZOOM2
	bool "OMAP3 Zoom2 board"
323
	depends on ARCH_OMAP3
324
	default y
325
	select OMAP_PACKAGE_CBB
326
	select REGULATOR_FIXED_VOLTAGE if REGULATOR
327

328 329
config MACH_OMAP_ZOOM3
	bool "OMAP3630 Zoom3 board"
330
	depends on ARCH_OMAP3
331
	default y
332
	select OMAP_PACKAGE_CBP
333
	select REGULATOR_FIXED_VOLTAGE if REGULATOR
334

335
config MACH_CM_T35
336
	bool "CompuLab CM-T35/CM-T3730 modules"
337
	depends on ARCH_OMAP3
338
	default y
339
	select MACH_CM_T3730
340
	select OMAP_PACKAGE_CUS
341

342 343 344 345 346 347
config MACH_CM_T3517
	bool "CompuLab CM-T3517 module"
	depends on ARCH_OMAP3
	default y
	select OMAP_PACKAGE_CBB

348 349 350
config MACH_CM_T3730
       bool

351
config MACH_IGEP0020
352
	bool "IGEP v2 board"
353
	depends on ARCH_OMAP3
354
	default y
355
	select OMAP_PACKAGE_CBB
356

357 358 359 360
config MACH_IGEP0030
	bool "IGEP OMAP3 module"
	depends on ARCH_OMAP3
	default y
M
Mike Rapoport 已提交
361
	select MACH_IGEP0020
362
	select OMAP_PACKAGE_CBB
363

364 365 366
config MACH_SBC3530
	bool "OMAP3 SBC STALKER board"
	depends on ARCH_OMAP3
367
	default y
368 369
	select OMAP_PACKAGE_CUS

370 371
config MACH_OMAP_3630SDP
	bool "OMAP3630 SDP board"
372
	depends on ARCH_OMAP3
373
	default y
374
	select OMAP_PACKAGE_CBP
375

376 377
config MACH_TI8168EVM
	bool "TI8168 Evaluation Module"
378
	depends on SOC_TI81XX
379
	default y
380 381 382

config MACH_TI8148EVM
	bool "TI8148 Evaluation Module"
383
	depends on SOC_TI81XX
384
	default y
385

386 387 388
config OMAP3_EMU
	bool "OMAP3 debugging peripherals"
	depends on ARCH_OMAP3
389
	select ARM_AMBA
390 391 392 393
	select OC_ETM
	help
	  Say Y here to enable debugging hardware of omap3

394 395
config OMAP3_SDRC_AC_TIMING
	bool "Enable SDRC AC timing register changes"
396
	depends on ARCH_OMAP3
397 398 399 400 401 402 403 404 405
	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;

406
config OMAP4_ERRATA_I688
407
	bool "OMAP4 errata: Async Bridge Corruption"
408
	depends on (ARCH_OMAP4 || SOC_OMAP5) && !ARCH_MULTIPLATFORM
409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426
	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.
427 428 429
endmenu

endif