blob: 0ba482638ebfd1f72c4ad189834ea969cc1f510c [file] [log] [blame]
Tony Lindgrena0694862013-01-11 11:24:20 -08001config ARCH_OMAP
2 bool
3
Arnd Bergmann59d92872013-05-01 00:02:26 +02004config ARCH_OMAP2
5 bool "TI OMAP2"
6 depends on ARCH_MULTI_V6
7 select ARCH_OMAP2PLUS
8 select CPU_V6
Arnd Bergmann59d92872013-05-01 00:02:26 +02009 select SOC_HAS_OMAP2_SDRC
Arnd Bergmann59d92872013-05-01 00:02:26 +020010
11config ARCH_OMAP3
12 bool "TI OMAP3"
13 depends on ARCH_MULTI_V7
14 select ARCH_OMAP2PLUS
15 select ARCH_HAS_OPP
16 select ARM_CPU_SUSPEND if PM
Arnd Bergmann59d92872013-05-01 00:02:26 +020017 select OMAP_INTERCONNECT
18 select PM_OPP if PM
19 select PM_RUNTIME if CPU_IDLE
20 select SOC_HAS_OMAP2_SDRC
Arnd Bergmann59d92872013-05-01 00:02:26 +020021
22config ARCH_OMAP4
23 bool "TI OMAP4"
24 depends on ARCH_MULTI_V7
25 select ARCH_OMAP2PLUS
26 select ARCH_HAS_OPP
27 select ARCH_NEEDS_CPU_IDLE_COUPLED if SMP
28 select ARM_CPU_SUSPEND if PM
29 select ARM_ERRATA_720789
30 select ARM_GIC
31 select CACHE_L2X0
Arnd Bergmann59d92872013-05-01 00:02:26 +020032 select HAVE_ARM_SCU if SMP
Olof Johansson47dcd352013-07-23 14:51:34 -070033 select HAVE_ARM_TWD if SMP
Arnd Bergmann59d92872013-05-01 00:02:26 +020034 select OMAP_INTERCONNECT
35 select PL310_ERRATA_588369
36 select PL310_ERRATA_727915
37 select PM_OPP if PM
38 select PM_RUNTIME if CPU_IDLE
Arnd Bergmann59d92872013-05-01 00:02:26 +020039 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
Nishanth Menon22106c12014-01-15 14:00:38 -060046 select ARCH_HAS_OPP
Arnd Bergmann59d92872013-05-01 00:02:26 +020047 select ARM_CPU_SUSPEND if PM
48 select ARM_GIC
Arnd Bergmann59d92872013-05-01 00:02:26 +020049 select HAVE_ARM_SCU if SMP
Rob Herring8b7dfa72014-02-01 16:35:44 -060050 select HAVE_ARM_TWD if SMP
Arnd Bergmann59d92872013-05-01 00:02:26 +020051 select HAVE_ARM_ARCH_TIMER
Olof Johanssonf82a3132013-07-24 16:55:23 -070052 select ARM_ERRATA_798181 if SMP
Arnd Bergmann59d92872013-05-01 00:02:26 +020053
54config SOC_AM33XX
Ezequiel Garcia10851892013-08-08 18:32:08 -030055 bool "TI AM33XX"
Arnd Bergmann59d92872013-05-01 00:02:26 +020056 depends on ARCH_MULTI_V7
57 select ARCH_OMAP2PLUS
Nishanth Menon22106c12014-01-15 14:00:38 -060058 select ARCH_HAS_OPP
Arnd Bergmann59d92872013-05-01 00:02:26 +020059 select ARM_CPU_SUSPEND if PM
Arnd Bergmann59d92872013-05-01 00:02:26 +020060
61config SOC_AM43XX
62 bool "TI AM43x"
63 depends on ARCH_MULTI_V7
Arnd Bergmann59d92872013-05-01 00:02:26 +020064 select ARCH_OMAP2PLUS
Nishanth Menon22106c12014-01-15 14:00:38 -060065 select ARCH_HAS_OPP
Arnd Bergmann59d92872013-05-01 00:02:26 +020066 select ARM_GIC
Arnd Bergmann59d92872013-05-01 00:02:26 +020067 select MACH_OMAP_GENERIC
Sekhar Norid941f862014-04-22 13:58:03 +053068 select MIGHT_HAVE_CACHE_L2X0
Arnd Bergmann59d92872013-05-01 00:02:26 +020069
Tero Kristo68b9f602014-01-10 11:25:28 +020070config SOC_DRA7XX
71 bool "TI DRA7XX"
72 depends on ARCH_MULTI_V7
73 select ARCH_OMAP2PLUS
Nishanth Menon22106c12014-01-15 14:00:38 -060074 select ARCH_HAS_OPP
Tero Kristo68b9f602014-01-10 11:25:28 +020075 select ARM_CPU_SUSPEND if PM
76 select ARM_GIC
Tero Kristo68b9f602014-01-10 11:25:28 +020077 select HAVE_ARM_ARCH_TIMER
Sricharan R5c61e612013-12-03 15:57:25 +053078 select IRQ_CROSSBAR
Tero Kristo68b9f602014-01-10 11:25:28 +020079
Tony Lindgrena0694862013-01-11 11:24:20 -080080config ARCH_OMAP2PLUS
Arnd Bergmann59d92872013-05-01 00:02:26 +020081 bool
82 select ARCH_HAS_BANDGAP
Tony Lindgrena0694862013-01-11 11:24:20 -080083 select ARCH_HAS_CPUFREQ
84 select ARCH_HAS_HOLES_MEMORYMODEL
85 select ARCH_OMAP
86 select ARCH_REQUIRE_GPIOLIB
Tony Lindgrena0694862013-01-11 11:24:20 -080087 select CLKSRC_MMIO
Tony Lindgrena0694862013-01-11 11:24:20 -080088 select GENERIC_IRQ_CHIP
Tony Lindgrenf2acae62013-09-25 15:44:39 -070089 select MACH_OMAP_GENERIC
Tony Lindgrena0694862013-01-11 11:24:20 -080090 select OMAP_DM_TIMER
91 select PINCTRL
Ruslan Bilovol6770b212013-02-14 13:55:24 +020092 select SOC_BUS
Olof Johansson9d8812d2013-07-09 01:31:23 -070093 select TI_PRIV_EDMA
Tony Lindgrena0694862013-01-11 11:24:20 -080094 help
95 Systems based on OMAP2, OMAP3, OMAP4 or OMAP5
96
97
Tony Lindgren4a54db62010-07-05 16:31:47 +030098if ARCH_OMAP2PLUS
99
100menu "TI OMAP2/3/4 Specific Features"
101
Tony Lindgren8d9166b2010-07-05 16:31:48 +0300102config ARCH_OMAP2PLUS_TYPICAL
103 bool "Typical OMAP configuration"
104 default y
105 select AEABI
Russell Kingb1b3f492012-10-06 17:12:25 +0100106 select HIGHMEM
Tony Lindgren8d9166b2010-07-05 16:31:48 +0300107 select I2C
108 select I2C_OMAP
Tony Lindgren8d9166b2010-07-05 16:31:48 +0300109 select MENELAUS if ARCH_OMAP2
R Sricharan8dd21c92013-02-07 16:21:46 +0530110 select NEON if CPU_V7
Russell Kingb1b3f492012-10-06 17:12:25 +0100111 select PM_RUNTIME
112 select REGULATOR
Tony Lindgren8d9166b2010-07-05 16:31:48 +0300113 select TWL4030_CORE if ARCH_OMAP3 || ARCH_OMAP4
114 select TWL4030_POWER if ARCH_OMAP3 || ARCH_OMAP4
Russell Kingb1b3f492012-10-06 17:12:25 +0100115 select VFP
Tony Lindgren8d9166b2010-07-05 16:31:48 +0300116 help
117 Compile a kernel suitable for booting most boards
118
Vaibhav Hiremathecc46cf2012-07-05 08:05:15 -0700119config SOC_HAS_OMAP2_SDRC
120 bool "OMAP2 SDRAM Controller support"
121
Santosh Shilimkarfa6d79d2012-08-13 14:24:24 +0530122config SOC_HAS_REALTIME_COUNTER
123 bool "Real time free running counter"
R Sricharanf18153f2013-02-07 13:25:39 +0530124 depends on SOC_OMAP5 || SOC_DRA7XX
Jon Hunter34cceb72012-11-27 11:22:39 -0600125 default y
Santosh Shilimkarfa6d79d2012-08-13 14:24:24 +0530126
Tony Lindgren1dbae812005-11-10 14:26:51 +0000127comment "OMAP Core Type"
Tony Lindgrenf558b272012-03-05 16:02:18 -0800128 depends on ARCH_OMAP2
Tony Lindgren1dbae812005-11-10 14:26:51 +0000129
Tony Lindgren59b479e2011-01-27 16:39:40 -0800130config SOC_OMAP2420
Tony Lindgren1dbae812005-11-10 14:26:51 +0000131 bool "OMAP2420 support"
Tony Lindgrenf558b272012-03-05 16:02:18 -0800132 depends on ARCH_OMAP2
Tony Lindgrenffb63e32010-07-05 16:31:47 +0300133 default y
Timo Teras77900a22006-06-26 16:16:12 -0700134 select OMAP_DM_TIMER
Vaibhav Hiremathecc46cf2012-07-05 08:05:15 -0700135 select SOC_HAS_OMAP2_SDRC
Tony Lindgren1dbae812005-11-10 14:26:51 +0000136
Tony Lindgren59b479e2011-01-27 16:39:40 -0800137config SOC_OMAP2430
Syed Mohammed Khasim72d0f1c2006-12-06 17:14:05 -0800138 bool "OMAP2430 support"
Tony Lindgrenf558b272012-03-05 16:02:18 -0800139 depends on ARCH_OMAP2
Tony Lindgrenffb63e32010-07-05 16:31:47 +0300140 default y
Vaibhav Hiremathecc46cf2012-07-05 08:05:15 -0700141 select SOC_HAS_OMAP2_SDRC
Syed Mohammed Khasim72d0f1c2006-12-06 17:14:05 -0800142
Tony Lindgren59b479e2011-01-27 16:39:40 -0800143config SOC_OMAP3430
Syed Mohammed, Khasimcc26b3b2008-10-09 17:51:41 +0300144 bool "OMAP3430 support"
Tony Lindgrenf558b272012-03-05 16:02:18 -0800145 depends on ARCH_OMAP3
Tony Lindgrenffb63e32010-07-05 16:31:47 +0300146 default y
Vaibhav Hiremathecc46cf2012-07-05 08:05:15 -0700147 select SOC_HAS_OMAP2_SDRC
Syed Mohammed, Khasimcc26b3b2008-10-09 17:51:41 +0300148
Kevin Hilman33959552012-05-10 11:10:07 -0700149config SOC_TI81XX
Hemant Pedanekara9203602011-12-13 10:46:44 -0800150 bool "TI81XX support"
Tony Lindgrenf558b272012-03-05 16:02:18 -0800151 depends on ARCH_OMAP3
Hemant Pedanekar4bd7be22011-02-16 08:31:39 -0800152 default y
153
Tony Lindgrenddaa9122009-12-11 16:16:32 -0800154config OMAP_PACKAGE_CBC
155 bool
156
157config OMAP_PACKAGE_CBB
158 bool
159
160config OMAP_PACKAGE_CUS
161 bool
162
Tony Lindgren662c8b52009-12-11 16:16:33 -0800163config OMAP_PACKAGE_CBP
164 bool
165
Tony Lindgrenf2acae62013-09-25 15:44:39 -0700166comment "OMAP Legacy Platform Data Board Type"
Tony Lindgrenf558b272012-03-05 16:02:18 -0800167 depends on ARCH_OMAP2PLUS
Tony Lindgren1dbae812005-11-10 14:26:51 +0000168
169config MACH_OMAP_GENERIC
Tony Lindgrenf2acae62013-09-25 15:44:39 -0700170 bool
Tony Lindgren1dbae812005-11-10 14:26:51 +0000171
Kalle Valo1b52d5d2009-08-28 10:51:37 -0700172config MACH_OMAP2_TUSB6010
173 bool
Tony Lindgren59b479e2011-01-27 16:39:40 -0800174 depends on ARCH_OMAP2 && SOC_OMAP2420
Kalle Valo1b52d5d2009-08-28 10:51:37 -0700175 default y if MACH_NOKIA_N8X0
176
Syed Mohammed, Khasim2885f002008-10-09 17:51:42 +0300177config MACH_OMAP3_BEAGLE
178 bool "OMAP3 BEAGLE board"
Tony Lindgrena8eb7ca2010-02-12 12:26:48 -0800179 depends on ARCH_OMAP3
Tony Lindgrenffb63e32010-07-05 16:31:47 +0300180 default y
Tony Lindgrenca5742b2009-12-11 16:16:32 -0800181 select OMAP_PACKAGE_CBB
Syed Mohammed, Khasim2885f002008-10-09 17:51:42 +0300182
Thomas Weber476544c2010-02-17 14:09:28 -0800183config MACH_DEVKIT8000
Thomas Weber51824c52010-03-24 12:52:11 +0000184 bool "DEVKIT8000 board"
185 depends on ARCH_OMAP3
Tony Lindgrenffb63e32010-07-05 16:31:47 +0300186 default y
Thomas Weber51824c52010-03-24 12:52:11 +0000187 select OMAP_PACKAGE_CUS
Thomas Weber476544c2010-02-17 14:09:28 -0800188
Nishant Kamat49265652008-10-10 11:28:23 +0300189config MACH_OMAP_LDP
190 bool "OMAP3 LDP board"
Tony Lindgrena8eb7ca2010-02-12 12:26:48 -0800191 depends on ARCH_OMAP3
Tony Lindgrenffb63e32010-07-05 16:31:47 +0300192 default y
Tony Lindgrenca5742b2009-12-11 16:16:32 -0800193 select OMAP_PACKAGE_CBB
Nishant Kamat49265652008-10-10 11:28:23 +0300194
Tim Nordelld40f3f12010-09-27 16:05:47 +0000195config MACH_OMAP3530_LV_SOM
196 bool "OMAP3 Logic 3530 LV SOM board"
197 depends on ARCH_OMAP3
Tim Nordelld40f3f12010-09-27 16:05:47 +0000198 default y
Russell Kingb1b3f492012-10-06 17:12:25 +0100199 select OMAP_PACKAGE_CBB
Tim Nordelld40f3f12010-09-27 16:05:47 +0000200 help
201 Support for the LogicPD OMAP3530 SOM Development kit
202 for full description please see the products webpage at
203 http://www.logicpd.com/products/development-kits/texas-instruments-zoom%E2%84%A2-omap35x-development-kit
204
205config MACH_OMAP3_TORPEDO
206 bool "OMAP3 Logic 35x Torpedo board"
207 depends on ARCH_OMAP3
Tim Nordelld40f3f12010-09-27 16:05:47 +0000208 default y
Russell Kingb1b3f492012-10-06 17:12:25 +0100209 select OMAP_PACKAGE_CBB
Tim Nordelld40f3f12010-09-27 16:05:47 +0000210 help
211 Support for the LogicPD OMAP35x Torpedo Development kit
212 for full description please see the products webpage at
213 http://www.logicpd.com/products/development-kits/zoom-omap35x-torpedo-development-kit
214
Steve Sakomaneba26452008-10-09 17:51:43 +0300215config MACH_OVERO
216 bool "Gumstix Overo board"
Tony Lindgrena8eb7ca2010-02-12 12:26:48 -0800217 depends on ARCH_OMAP3
Tony Lindgrenffb63e32010-07-05 16:31:47 +0300218 default y
Tony Lindgrenca5742b2009-12-11 16:16:32 -0800219 select OMAP_PACKAGE_CBB
Grazvydas Ignotasda177242008-12-10 17:36:54 -0800220
Ranjith Lohithakshanc6253272009-11-18 18:41:09 -0800221config MACH_OMAP3517EVM
222 bool "OMAP3517/ AM3517 EVM board"
Tony Lindgrena8eb7ca2010-02-12 12:26:48 -0800223 depends on ARCH_OMAP3
Tony Lindgrenffb63e32010-07-05 16:31:47 +0300224 default y
Tony Lindgrenca5742b2009-12-11 16:16:32 -0800225 select OMAP_PACKAGE_CBB
Ranjith Lohithakshanc6253272009-11-18 18:41:09 -0800226
Srinath1cb125c2010-11-16 14:26:58 -0800227config MACH_CRANEBOARD
228 bool "AM3517/05 CRANE board"
229 depends on ARCH_OMAP3
230 select OMAP_PACKAGE_CBB
231
Grazvydas Ignotasda177242008-12-10 17:36:54 -0800232config MACH_OMAP3_PANDORA
233 bool "OMAP3 Pandora"
Tony Lindgrena8eb7ca2010-02-12 12:26:48 -0800234 depends on ARCH_OMAP3
Tony Lindgrenffb63e32010-07-05 16:31:47 +0300235 default y
Tony Lindgrenca5742b2009-12-11 16:16:32 -0800236 select OMAP_PACKAGE_CBB
Felipe Contrerasa075ccc2012-01-20 05:38:31 -0800237 select REGULATOR_FIXED_VOLTAGE if REGULATOR
Syed Mohammed Khasim6fdc29e2009-03-23 18:38:16 -0700238
Radek Pilara17fb8f2012-08-17 18:03:43 +0200239config MACH_TOUCHBOOK
Gregoire Gentil7a079ca2009-12-11 16:16:34 -0800240 bool "OMAP3 Touch Book"
Tony Lindgrena8eb7ca2010-02-12 12:26:48 -0800241 depends on ARCH_OMAP3
Tony Lindgrenffb63e32010-07-05 16:31:47 +0300242 default y
Radek Pilara17fb8f2012-08-17 18:03:43 +0200243 select OMAP_PACKAGE_CBB
Gregoire Gentil7a079ca2009-12-11 16:16:34 -0800244
Syed Mohammed Khasim6fdc29e2009-03-23 18:38:16 -0700245config MACH_OMAP_3430SDP
246 bool "OMAP 3430 SDP board"
Tony Lindgrena8eb7ca2010-02-12 12:26:48 -0800247 depends on ARCH_OMAP3
Tony Lindgrenffb63e32010-07-05 16:31:47 +0300248 default y
Tony Lindgrenca5742b2009-12-11 16:16:32 -0800249 select OMAP_PACKAGE_CBB
Lauri Leukkunenffe7f952009-03-23 18:38:17 -0700250
Tony Lindgrend2fbf342009-10-22 14:48:13 -0700251config MACH_NOKIA_N810
252 bool
253
254config MACH_NOKIA_N810_WIMAX
255 bool
256
Kalle Valo63138812009-08-28 10:51:38 -0700257config MACH_NOKIA_N8X0
258 bool "Nokia N800/N810"
Tony Lindgren59b479e2011-01-27 16:39:40 -0800259 depends on SOC_OMAP2420
Tony Lindgrenffb63e32010-07-05 16:31:47 +0300260 default y
Tony Lindgrend2fbf342009-10-22 14:48:13 -0700261 select MACH_NOKIA_N810
262 select MACH_NOKIA_N810_WIMAX
Kalle Valo63138812009-08-28 10:51:38 -0700263
Lauri Leukkunenffe7f952009-03-23 18:38:17 -0700264config MACH_NOKIA_RX51
Pavel Machekcc067792012-10-17 23:03:00 +0200265 bool "Nokia N900 (RX-51) phone"
Tony Lindgrena8eb7ca2010-02-12 12:26:48 -0800266 depends on ARCH_OMAP3
Tony Lindgrenffb63e32010-07-05 16:31:47 +0300267 default y
Tony Lindgrenca5742b2009-12-11 16:16:32 -0800268 select OMAP_PACKAGE_CBB
Vikram Pandita577145f2009-05-28 14:04:04 -0700269
Mike Rapoport2886d122009-11-18 18:41:07 -0800270config MACH_CM_T35
Igor Grinbergc3146972011-07-05 03:38:23 -0700271 bool "CompuLab CM-T35/CM-T3730 modules"
Tony Lindgrena8eb7ca2010-02-12 12:26:48 -0800272 depends on ARCH_OMAP3
Tony Lindgrenffb63e32010-07-05 16:31:47 +0300273 default y
Igor Grinbergc3146972011-07-05 03:38:23 -0700274 select MACH_CM_T3730
Tony Lindgrenca5742b2009-12-11 16:16:32 -0800275 select OMAP_PACKAGE_CUS
Mike Rapoport2886d122009-11-18 18:41:07 -0800276
Igor Grinbergd04b6202010-09-21 16:03:09 +0000277config MACH_CM_T3517
278 bool "CompuLab CM-T3517 module"
279 depends on ARCH_OMAP3
280 default y
281 select OMAP_PACKAGE_CBB
Igor Grinbergd04b6202010-09-21 16:03:09 +0000282
Igor Grinbergc3146972011-07-05 03:38:23 -0700283config MACH_CM_T3730
284 bool
285
Jason9cbc3492010-05-17 14:39:09 +0800286config MACH_SBC3530
287 bool "OMAP3 SBC STALKER board"
288 depends on ARCH_OMAP3
Tony Lindgrenffb63e32010-07-05 16:31:47 +0300289 default y
Jason9cbc3492010-05-17 14:39:09 +0800290 select OMAP_PACKAGE_CUS
Jason9cbc3492010-05-17 14:39:09 +0800291
Hemant Pedanekar2c87fb22011-02-15 23:06:08 +0530292config MACH_TI8168EVM
293 bool "TI8168 Evaluation Module"
Kevin Hilman33959552012-05-10 11:10:07 -0700294 depends on SOC_TI81XX
Hemant Pedanekar2c87fb22011-02-15 23:06:08 +0530295 default y
296
Hemant Pedanekara890b672011-12-13 10:48:55 -0800297config MACH_TI8148EVM
298 bool "TI8148 Evaluation Module"
Kevin Hilman33959552012-05-10 11:10:07 -0700299 depends on SOC_TI81XX
Hemant Pedanekara890b672011-12-13 10:48:55 -0800300 default y
301
Alexander Shishkin183bd502009-12-01 14:03:31 +0100302config OMAP3_EMU
303 bool "OMAP3 debugging peripherals"
304 depends on ARCH_OMAP3
Ming Leia8a65652011-11-23 14:44:50 -0800305 select ARM_AMBA
Alexander Shishkin183bd502009-12-01 14:03:31 +0100306 select OC_ETM
307 help
308 Say Y here to enable debugging hardware of omap3
309
Paul Walmsley18862cb2009-12-08 16:33:14 -0700310config OMAP3_SDRC_AC_TIMING
311 bool "Enable SDRC AC timing register changes"
Tony Lindgrena8eb7ca2010-02-12 12:26:48 -0800312 depends on ARCH_OMAP3
Paul Walmsley18862cb2009-12-08 16:33:14 -0700313 default n
314 help
315 If you know that none of your system initiators will attempt to
316 access SDRAM during CORE DVFS, select Y here. This should boost
317 SDRAM performance at lower CORE OPPs. There are relatively few
318 users who will wish to say yes at this point - almost everyone will
319 wish to say no. Selecting yes without understanding what is
320 going on could result in system crashes;
321
Santosh Shilimkar137d1052011-06-25 18:04:31 -0700322config OMAP4_ERRATA_I688
Santosh Shilimkar2ec1fc42012-02-02 19:33:55 +0530323 bool "OMAP4 errata: Async Bridge Corruption"
Santosh Shilimkar1348bbf2013-02-15 18:05:49 +0530324 depends on (ARCH_OMAP4 || SOC_OMAP5) && !ARCH_MULTIPLATFORM
Santosh Shilimkar137d1052011-06-25 18:04:31 -0700325 select ARCH_HAS_BARRIERS
326 help
327 If a data is stalled inside asynchronous bridge because of back
328 pressure, it may be accepted multiple times, creating pointer
329 misalignment that will corrupt next transfers on that data path
330 until next reset of the system (No recovery procedure once the
331 issue is hit, the path remains consistently broken). Async bridge
332 can be found on path between MPU to EMIF and MPU to L3 interconnect.
333 This situation can happen only when the idle is initiated by a
334 Master Request Disconnection (which is trigged by software when
335 executing WFI on CPU).
336 The work-around for this errata needs all the initiators connected
337 through async bridge must ensure that data path is properly drained
338 before issuing WFI. This condition will be met if one Strongly ordered
339 access is performed to the target right before executing the WFI.
340 In MPU case, L3 T2ASYNC FIFO and DDR T2ASYNC FIFO needs to be drained.
341 IO barrier ensure that there is no synchronisation loss on initiators
342 operating on both interconnect port simultaneously.
Tony Lindgren4a54db62010-07-05 16:31:47 +0300343endmenu
344
345endif