blob: 691d62a8a74b9dda415c013d4ec539716a239eaf [file] [log] [blame]
Rob Herring21278ae2014-06-10 09:06:10 -05001menu "TI OMAP/AM/DM/DRA Family"
2 depends on ARCH_MULTI_V6 || ARCH_MULTI_V7
3
Tony Lindgrena0694862013-01-11 11:24:20 -08004config ARCH_OMAP
5 bool
6
Arnd Bergmann59d92872013-05-01 00:02:26 +02007config ARCH_OMAP2
8 bool "TI OMAP2"
9 depends on ARCH_MULTI_V6
10 select ARCH_OMAP2PLUS
11 select CPU_V6
Arnd Bergmann59d92872013-05-01 00:02:26 +020012 select SOC_HAS_OMAP2_SDRC
Arnd Bergmann59d92872013-05-01 00:02:26 +020013
14config ARCH_OMAP3
15 bool "TI OMAP3"
16 depends on ARCH_MULTI_V7
17 select ARCH_OMAP2PLUS
Arnd Bergmann59d92872013-05-01 00:02:26 +020018 select ARM_CPU_SUSPEND if PM
Arnd Bergmann59d92872013-05-01 00:02:26 +020019 select OMAP_INTERCONNECT
20 select PM_OPP if PM
21 select PM_RUNTIME if CPU_IDLE
22 select SOC_HAS_OMAP2_SDRC
Arnd Bergmann59d92872013-05-01 00:02:26 +020023
24config ARCH_OMAP4
25 bool "TI OMAP4"
26 depends on ARCH_MULTI_V7
27 select ARCH_OMAP2PLUS
Arnd Bergmann59d92872013-05-01 00:02:26 +020028 select ARCH_NEEDS_CPU_IDLE_COUPLED if SMP
29 select ARM_CPU_SUSPEND if PM
30 select ARM_ERRATA_720789
31 select ARM_GIC
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
Russell Kinga641f3a2014-06-19 10:19:10 +010035 select PL310_ERRATA_588369 if CACHE_L2X0
36 select PL310_ERRATA_727915 if CACHE_L2X0
Arnd Bergmann59d92872013-05-01 00:02:26 +020037 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
46 select ARM_CPU_SUSPEND if PM
47 select ARM_GIC
Arnd Bergmann59d92872013-05-01 00:02:26 +020048 select HAVE_ARM_SCU if SMP
Rob Herring8b7dfa72014-02-01 16:35:44 -060049 select HAVE_ARM_TWD if SMP
Arnd Bergmann59d92872013-05-01 00:02:26 +020050 select HAVE_ARM_ARCH_TIMER
Olof Johanssonf82a3132013-07-24 16:55:23 -070051 select ARM_ERRATA_798181 if SMP
Arnd Bergmann59d92872013-05-01 00:02:26 +020052
53config SOC_AM33XX
Ezequiel Garcia10851892013-08-08 18:32:08 -030054 bool "TI AM33XX"
Arnd Bergmann59d92872013-05-01 00:02:26 +020055 depends on ARCH_MULTI_V7
56 select ARCH_OMAP2PLUS
57 select ARM_CPU_SUSPEND if PM
Arnd Bergmann59d92872013-05-01 00:02:26 +020058
59config SOC_AM43XX
60 bool "TI AM43x"
61 depends on ARCH_MULTI_V7
Arnd Bergmann59d92872013-05-01 00:02:26 +020062 select ARCH_OMAP2PLUS
Arnd Bergmann59d92872013-05-01 00:02:26 +020063 select ARM_GIC
Arnd Bergmann59d92872013-05-01 00:02:26 +020064 select MACH_OMAP_GENERIC
Sekhar Norid941f862014-04-22 13:58:03 +053065 select MIGHT_HAVE_CACHE_L2X0
Arnd Bergmann59d92872013-05-01 00:02:26 +020066
Tero Kristo68b9f602014-01-10 11:25:28 +020067config SOC_DRA7XX
68 bool "TI DRA7XX"
69 depends on ARCH_MULTI_V7
70 select ARCH_OMAP2PLUS
71 select ARM_CPU_SUSPEND if PM
72 select ARM_GIC
Tero Kristo68b9f602014-01-10 11:25:28 +020073 select HAVE_ARM_ARCH_TIMER
Sricharan R5c61e612013-12-03 15:57:25 +053074 select IRQ_CROSSBAR
Tero Kristo68b9f602014-01-10 11:25:28 +020075
Tony Lindgrena0694862013-01-11 11:24:20 -080076config ARCH_OMAP2PLUS
Arnd Bergmann59d92872013-05-01 00:02:26 +020077 bool
78 select ARCH_HAS_BANDGAP
Tony Lindgrena0694862013-01-11 11:24:20 -080079 select ARCH_HAS_HOLES_MEMORYMODEL
80 select ARCH_OMAP
81 select ARCH_REQUIRE_GPIOLIB
Tony Lindgrena0694862013-01-11 11:24:20 -080082 select CLKSRC_MMIO
Tony Lindgrena0694862013-01-11 11:24:20 -080083 select GENERIC_IRQ_CHIP
Tony Lindgrenf2acae62013-09-25 15:44:39 -070084 select MACH_OMAP_GENERIC
Tony Lindgrena0694862013-01-11 11:24:20 -080085 select OMAP_DM_TIMER
86 select PINCTRL
Ruslan Bilovol6770b212013-02-14 13:55:24 +020087 select SOC_BUS
Olof Johansson9d8812d2013-07-09 01:31:23 -070088 select TI_PRIV_EDMA
Felipe Balbi85980662014-09-15 16:15:02 -050089 select OMAP_IRQCHIP
Tony Lindgrena0694862013-01-11 11:24:20 -080090 help
91 Systems based on OMAP2, OMAP3, OMAP4 or OMAP5
92
93
Tony Lindgren4a54db62010-07-05 16:31:47 +030094if ARCH_OMAP2PLUS
95
96menu "TI OMAP2/3/4 Specific Features"
97
Tony Lindgren8d9166b2010-07-05 16:31:48 +030098config ARCH_OMAP2PLUS_TYPICAL
99 bool "Typical OMAP configuration"
100 default y
101 select AEABI
Russell Kingb1b3f492012-10-06 17:12:25 +0100102 select HIGHMEM
Tony Lindgren8d9166b2010-07-05 16:31:48 +0300103 select I2C
104 select I2C_OMAP
Tony Lindgren8d9166b2010-07-05 16:31:48 +0300105 select MENELAUS if ARCH_OMAP2
R Sricharan8dd21c92013-02-07 16:21:46 +0530106 select NEON if CPU_V7
Russell Kingb1b3f492012-10-06 17:12:25 +0100107 select PM_RUNTIME
108 select REGULATOR
Tony Lindgren8d9166b2010-07-05 16:31:48 +0300109 select TWL4030_CORE if ARCH_OMAP3 || ARCH_OMAP4
110 select TWL4030_POWER if ARCH_OMAP3 || ARCH_OMAP4
Russell Kingb1b3f492012-10-06 17:12:25 +0100111 select VFP
Tony Lindgren8d9166b2010-07-05 16:31:48 +0300112 help
113 Compile a kernel suitable for booting most boards
114
Vaibhav Hiremathecc46cf2012-07-05 08:05:15 -0700115config SOC_HAS_OMAP2_SDRC
116 bool "OMAP2 SDRAM Controller support"
117
Santosh Shilimkarfa6d79d2012-08-13 14:24:24 +0530118config SOC_HAS_REALTIME_COUNTER
119 bool "Real time free running counter"
R Sricharanf18153f2013-02-07 13:25:39 +0530120 depends on SOC_OMAP5 || SOC_DRA7XX
Jon Hunter34cceb72012-11-27 11:22:39 -0600121 default y
Santosh Shilimkarfa6d79d2012-08-13 14:24:24 +0530122
Tony Lindgren1dbae812005-11-10 14:26:51 +0000123comment "OMAP Core Type"
Tony Lindgrenf558b272012-03-05 16:02:18 -0800124 depends on ARCH_OMAP2
Tony Lindgren1dbae812005-11-10 14:26:51 +0000125
Tony Lindgren59b479e2011-01-27 16:39:40 -0800126config SOC_OMAP2420
Tony Lindgren1dbae812005-11-10 14:26:51 +0000127 bool "OMAP2420 support"
Tony Lindgrenf558b272012-03-05 16:02:18 -0800128 depends on ARCH_OMAP2
Tony Lindgrenffb63e32010-07-05 16:31:47 +0300129 default y
Timo Teras77900a22006-06-26 16:16:12 -0700130 select OMAP_DM_TIMER
Vaibhav Hiremathecc46cf2012-07-05 08:05:15 -0700131 select SOC_HAS_OMAP2_SDRC
Tony Lindgren1dbae812005-11-10 14:26:51 +0000132
Tony Lindgren59b479e2011-01-27 16:39:40 -0800133config SOC_OMAP2430
Syed Mohammed Khasim72d0f1c2006-12-06 17:14:05 -0800134 bool "OMAP2430 support"
Tony Lindgrenf558b272012-03-05 16:02:18 -0800135 depends on ARCH_OMAP2
Tony Lindgrenffb63e32010-07-05 16:31:47 +0300136 default y
Vaibhav Hiremathecc46cf2012-07-05 08:05:15 -0700137 select SOC_HAS_OMAP2_SDRC
Syed Mohammed Khasim72d0f1c2006-12-06 17:14:05 -0800138
Tony Lindgren59b479e2011-01-27 16:39:40 -0800139config SOC_OMAP3430
Syed Mohammed, Khasimcc26b3b2008-10-09 17:51:41 +0300140 bool "OMAP3430 support"
Tony Lindgrenf558b272012-03-05 16:02:18 -0800141 depends on ARCH_OMAP3
Tony Lindgrenffb63e32010-07-05 16:31:47 +0300142 default y
Vaibhav Hiremathecc46cf2012-07-05 08:05:15 -0700143 select SOC_HAS_OMAP2_SDRC
Syed Mohammed, Khasimcc26b3b2008-10-09 17:51:41 +0300144
Kevin Hilman33959552012-05-10 11:10:07 -0700145config SOC_TI81XX
Hemant Pedanekara9203602011-12-13 10:46:44 -0800146 bool "TI81XX support"
Tony Lindgrenf558b272012-03-05 16:02:18 -0800147 depends on ARCH_OMAP3
Hemant Pedanekar4bd7be22011-02-16 08:31:39 -0800148 default y
149
Tony Lindgrenddaa9122009-12-11 16:16:32 -0800150config OMAP_PACKAGE_CBC
151 bool
152
153config OMAP_PACKAGE_CBB
154 bool
155
156config OMAP_PACKAGE_CUS
157 bool
158
Tony Lindgren662c8b52009-12-11 16:16:33 -0800159config OMAP_PACKAGE_CBP
160 bool
161
Tony Lindgrenf2acae62013-09-25 15:44:39 -0700162comment "OMAP Legacy Platform Data Board Type"
Tony Lindgrenf558b272012-03-05 16:02:18 -0800163 depends on ARCH_OMAP2PLUS
Tony Lindgren1dbae812005-11-10 14:26:51 +0000164
165config MACH_OMAP_GENERIC
Tony Lindgrenf2acae62013-09-25 15:44:39 -0700166 bool
Tony Lindgren1dbae812005-11-10 14:26:51 +0000167
Kalle Valo1b52d5d2009-08-28 10:51:37 -0700168config MACH_OMAP2_TUSB6010
169 bool
Tony Lindgren59b479e2011-01-27 16:39:40 -0800170 depends on ARCH_OMAP2 && SOC_OMAP2420
Kalle Valo1b52d5d2009-08-28 10:51:37 -0700171 default y if MACH_NOKIA_N8X0
172
Syed Mohammed, Khasim2885f002008-10-09 17:51:42 +0300173config MACH_OMAP3_BEAGLE
174 bool "OMAP3 BEAGLE board"
Tony Lindgrena8eb7ca2010-02-12 12:26:48 -0800175 depends on ARCH_OMAP3
Tony Lindgrenffb63e32010-07-05 16:31:47 +0300176 default y
Tony Lindgrenca5742b2009-12-11 16:16:32 -0800177 select OMAP_PACKAGE_CBB
Syed Mohammed, Khasim2885f002008-10-09 17:51:42 +0300178
Thomas Weber476544c2010-02-17 14:09:28 -0800179config MACH_DEVKIT8000
Thomas Weber51824c52010-03-24 12:52:11 +0000180 bool "DEVKIT8000 board"
181 depends on ARCH_OMAP3
Tony Lindgrenffb63e32010-07-05 16:31:47 +0300182 default y
Thomas Weber51824c52010-03-24 12:52:11 +0000183 select OMAP_PACKAGE_CUS
Thomas Weber476544c2010-02-17 14:09:28 -0800184
Nishant Kamat49265652008-10-10 11:28:23 +0300185config MACH_OMAP_LDP
186 bool "OMAP3 LDP board"
Tony Lindgrena8eb7ca2010-02-12 12:26:48 -0800187 depends on ARCH_OMAP3
Tony Lindgrenffb63e32010-07-05 16:31:47 +0300188 default y
Tony Lindgrenca5742b2009-12-11 16:16:32 -0800189 select OMAP_PACKAGE_CBB
Nishant Kamat49265652008-10-10 11:28:23 +0300190
Tim Nordelld40f3f12010-09-27 16:05:47 +0000191config MACH_OMAP3530_LV_SOM
192 bool "OMAP3 Logic 3530 LV SOM board"
193 depends on ARCH_OMAP3
Tim Nordelld40f3f12010-09-27 16:05:47 +0000194 default y
Russell Kingb1b3f492012-10-06 17:12:25 +0100195 select OMAP_PACKAGE_CBB
Tim Nordelld40f3f12010-09-27 16:05:47 +0000196 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
Tim Nordelld40f3f12010-09-27 16:05:47 +0000204 default y
Russell Kingb1b3f492012-10-06 17:12:25 +0100205 select OMAP_PACKAGE_CBB
Tim Nordelld40f3f12010-09-27 16:05:47 +0000206 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
Steve Sakomaneba26452008-10-09 17:51:43 +0300211config MACH_OVERO
212 bool "Gumstix Overo board"
Tony Lindgrena8eb7ca2010-02-12 12:26:48 -0800213 depends on ARCH_OMAP3
Tony Lindgrenffb63e32010-07-05 16:31:47 +0300214 default y
Tony Lindgrenca5742b2009-12-11 16:16:32 -0800215 select OMAP_PACKAGE_CBB
Grazvydas Ignotasda177242008-12-10 17:36:54 -0800216
Ranjith Lohithakshanc6253272009-11-18 18:41:09 -0800217config MACH_OMAP3517EVM
218 bool "OMAP3517/ AM3517 EVM board"
Tony Lindgrena8eb7ca2010-02-12 12:26:48 -0800219 depends on ARCH_OMAP3
Tony Lindgrenffb63e32010-07-05 16:31:47 +0300220 default y
Tony Lindgrenca5742b2009-12-11 16:16:32 -0800221 select OMAP_PACKAGE_CBB
Ranjith Lohithakshanc6253272009-11-18 18:41:09 -0800222
Srinath1cb125c2010-11-16 14:26:58 -0800223config MACH_CRANEBOARD
224 bool "AM3517/05 CRANE board"
225 depends on ARCH_OMAP3
226 select OMAP_PACKAGE_CBB
227
Grazvydas Ignotasda177242008-12-10 17:36:54 -0800228config MACH_OMAP3_PANDORA
229 bool "OMAP3 Pandora"
Tony Lindgrena8eb7ca2010-02-12 12:26:48 -0800230 depends on ARCH_OMAP3
Tony Lindgrenffb63e32010-07-05 16:31:47 +0300231 default y
Tony Lindgrenca5742b2009-12-11 16:16:32 -0800232 select OMAP_PACKAGE_CBB
Felipe Contrerasa075ccc2012-01-20 05:38:31 -0800233 select REGULATOR_FIXED_VOLTAGE if REGULATOR
Syed Mohammed Khasim6fdc29e2009-03-23 18:38:16 -0700234
Radek Pilara17fb8f2012-08-17 18:03:43 +0200235config MACH_TOUCHBOOK
Gregoire Gentil7a079ca2009-12-11 16:16:34 -0800236 bool "OMAP3 Touch Book"
Tony Lindgrena8eb7ca2010-02-12 12:26:48 -0800237 depends on ARCH_OMAP3
Tony Lindgrenffb63e32010-07-05 16:31:47 +0300238 default y
Radek Pilara17fb8f2012-08-17 18:03:43 +0200239 select OMAP_PACKAGE_CBB
Gregoire Gentil7a079ca2009-12-11 16:16:34 -0800240
Syed Mohammed Khasim6fdc29e2009-03-23 18:38:16 -0700241config MACH_OMAP_3430SDP
242 bool "OMAP 3430 SDP board"
Tony Lindgrena8eb7ca2010-02-12 12:26:48 -0800243 depends on ARCH_OMAP3
Tony Lindgrenffb63e32010-07-05 16:31:47 +0300244 default y
Tony Lindgrenca5742b2009-12-11 16:16:32 -0800245 select OMAP_PACKAGE_CBB
Lauri Leukkunenffe7f952009-03-23 18:38:17 -0700246
Tony Lindgrend2fbf342009-10-22 14:48:13 -0700247config MACH_NOKIA_N810
248 bool
249
250config MACH_NOKIA_N810_WIMAX
251 bool
252
Kalle Valo63138812009-08-28 10:51:38 -0700253config MACH_NOKIA_N8X0
254 bool "Nokia N800/N810"
Tony Lindgren59b479e2011-01-27 16:39:40 -0800255 depends on SOC_OMAP2420
Tony Lindgrenffb63e32010-07-05 16:31:47 +0300256 default y
Tony Lindgrend2fbf342009-10-22 14:48:13 -0700257 select MACH_NOKIA_N810
258 select MACH_NOKIA_N810_WIMAX
Kalle Valo63138812009-08-28 10:51:38 -0700259
Lauri Leukkunenffe7f952009-03-23 18:38:17 -0700260config MACH_NOKIA_RX51
Pavel Machekcc067792012-10-17 23:03:00 +0200261 bool "Nokia N900 (RX-51) phone"
Tony Lindgrena8eb7ca2010-02-12 12:26:48 -0800262 depends on ARCH_OMAP3
Tony Lindgrenffb63e32010-07-05 16:31:47 +0300263 default y
Tony Lindgrenca5742b2009-12-11 16:16:32 -0800264 select OMAP_PACKAGE_CBB
Vikram Pandita577145f2009-05-28 14:04:04 -0700265
Mike Rapoport2886d122009-11-18 18:41:07 -0800266config MACH_CM_T35
Igor Grinbergc3146972011-07-05 03:38:23 -0700267 bool "CompuLab CM-T35/CM-T3730 modules"
Tony Lindgrena8eb7ca2010-02-12 12:26:48 -0800268 depends on ARCH_OMAP3
Tony Lindgrenffb63e32010-07-05 16:31:47 +0300269 default y
Igor Grinbergc3146972011-07-05 03:38:23 -0700270 select MACH_CM_T3730
Tony Lindgrenca5742b2009-12-11 16:16:32 -0800271 select OMAP_PACKAGE_CUS
Mike Rapoport2886d122009-11-18 18:41:07 -0800272
Igor Grinbergd04b6202010-09-21 16:03:09 +0000273config MACH_CM_T3517
274 bool "CompuLab CM-T3517 module"
275 depends on ARCH_OMAP3
276 default y
277 select OMAP_PACKAGE_CBB
Igor Grinbergd04b6202010-09-21 16:03:09 +0000278
Igor Grinbergc3146972011-07-05 03:38:23 -0700279config MACH_CM_T3730
280 bool
281
Jason9cbc3492010-05-17 14:39:09 +0800282config MACH_SBC3530
283 bool "OMAP3 SBC STALKER board"
284 depends on ARCH_OMAP3
Tony Lindgrenffb63e32010-07-05 16:31:47 +0300285 default y
Jason9cbc3492010-05-17 14:39:09 +0800286 select OMAP_PACKAGE_CUS
Jason9cbc3492010-05-17 14:39:09 +0800287
Hemant Pedanekar2c87fb22011-02-15 23:06:08 +0530288config MACH_TI8168EVM
289 bool "TI8168 Evaluation Module"
Kevin Hilman33959552012-05-10 11:10:07 -0700290 depends on SOC_TI81XX
Hemant Pedanekar2c87fb22011-02-15 23:06:08 +0530291 default y
292
Hemant Pedanekara890b672011-12-13 10:48:55 -0800293config MACH_TI8148EVM
294 bool "TI8148 Evaluation Module"
Kevin Hilman33959552012-05-10 11:10:07 -0700295 depends on SOC_TI81XX
Hemant Pedanekara890b672011-12-13 10:48:55 -0800296 default y
297
Alexander Shishkin183bd502009-12-01 14:03:31 +0100298config OMAP3_EMU
299 bool "OMAP3 debugging peripherals"
300 depends on ARCH_OMAP3
Ming Leia8a65652011-11-23 14:44:50 -0800301 select ARM_AMBA
Alexander Shishkin183bd502009-12-01 14:03:31 +0100302 select OC_ETM
303 help
304 Say Y here to enable debugging hardware of omap3
305
Paul Walmsley18862cb2009-12-08 16:33:14 -0700306config OMAP3_SDRC_AC_TIMING
307 bool "Enable SDRC AC timing register changes"
Tony Lindgrena8eb7ca2010-02-12 12:26:48 -0800308 depends on ARCH_OMAP3
Paul Walmsley18862cb2009-12-08 16:33:14 -0700309 default n
310 help
311 If you know that none of your system initiators will attempt to
312 access SDRAM during CORE DVFS, select Y here. This should boost
313 SDRAM performance at lower CORE OPPs. There are relatively few
314 users who will wish to say yes at this point - almost everyone will
315 wish to say no. Selecting yes without understanding what is
316 going on could result in system crashes;
317
Santosh Shilimkar137d1052011-06-25 18:04:31 -0700318config OMAP4_ERRATA_I688
Santosh Shilimkar2ec1fc42012-02-02 19:33:55 +0530319 bool "OMAP4 errata: Async Bridge Corruption"
Santosh Shilimkar1348bbf2013-02-15 18:05:49 +0530320 depends on (ARCH_OMAP4 || SOC_OMAP5) && !ARCH_MULTIPLATFORM
Santosh Shilimkar137d1052011-06-25 18:04:31 -0700321 select ARCH_HAS_BARRIERS
322 help
323 If a data is stalled inside asynchronous bridge because of back
324 pressure, it may be accepted multiple times, creating pointer
325 misalignment that will corrupt next transfers on that data path
326 until next reset of the system (No recovery procedure once the
327 issue is hit, the path remains consistently broken). Async bridge
328 can be found on path between MPU to EMIF and MPU to L3 interconnect.
329 This situation can happen only when the idle is initiated by a
330 Master Request Disconnection (which is trigged by software when
331 executing WFI on CPU).
332 The work-around for this errata needs all the initiators connected
333 through async bridge must ensure that data path is properly drained
334 before issuing WFI. This condition will be met if one Strongly ordered
335 access is performed to the target right before executing the WFI.
336 In MPU case, L3 T2ASYNC FIFO and DDR T2ASYNC FIFO needs to be drained.
337 IO barrier ensure that there is no synchronisation loss on initiators
338 operating on both interconnect port simultaneously.
Tony Lindgren4a54db62010-07-05 16:31:47 +0300339endmenu
340
341endif
Rob Herring21278ae2014-06-10 09:06:10 -0500342
343endmenu