blob: fdb6743760a2ef90e36ee3c3787176791e535fc7 [file] [log] [blame]
Thomas Gleixnerec8f24b2019-05-19 13:07:45 +01001# SPDX-License-Identifier: GPL-2.0-only
Rob Herring21278ae2014-06-10 09:06:10 -05002menu "TI OMAP/AM/DM/DRA Family"
3 depends on ARCH_MULTI_V6 || ARCH_MULTI_V7
4
Arnd Bergmann59d92872013-05-01 00:02:26 +02005config ARCH_OMAP2
6 bool "TI OMAP2"
7 depends on ARCH_MULTI_V6
8 select ARCH_OMAP2PLUS
9 select CPU_V6
Arnd Bergmann59d92872013-05-01 00:02:26 +020010 select SOC_HAS_OMAP2_SDRC
Arnd Bergmann59d92872013-05-01 00:02:26 +020011
12config ARCH_OMAP3
13 bool "TI OMAP3"
14 depends on ARCH_MULTI_V7
15 select ARCH_OMAP2PLUS
Arnd Bergmann59d92872013-05-01 00:02:26 +020016 select ARM_CPU_SUSPEND if PM
Arnd Bergmann59d92872013-05-01 00:02:26 +020017 select OMAP_INTERCONNECT
18 select PM_OPP if PM
Rafael J. Wysocki464ed182014-12-19 15:37:54 +010019 select PM if CPU_IDLE
Arnd Bergmann59d92872013-05-01 00:02:26 +020020 select SOC_HAS_OMAP2_SDRC
Nishanth Menon2e4094b2016-05-19 18:20:17 -050021 select ARM_ERRATA_430973
Arnd Bergmann59d92872013-05-01 00:02:26 +020022
23config ARCH_OMAP4
24 bool "TI OMAP4"
25 depends on ARCH_MULTI_V7
26 select ARCH_OMAP2PLUS
Arnd Bergmann59d92872013-05-01 00:02:26 +020027 select ARCH_NEEDS_CPU_IDLE_COUPLED if SMP
28 select ARM_CPU_SUSPEND if PM
29 select ARM_ERRATA_720789
30 select ARM_GIC
Arnd Bergmann59d92872013-05-01 00:02:26 +020031 select HAVE_ARM_SCU if SMP
Olof Johansson47dcd352013-07-23 14:51:34 -070032 select HAVE_ARM_TWD if SMP
Arnd Bergmann59d92872013-05-01 00:02:26 +020033 select OMAP_INTERCONNECT
Russell King3fa60972015-06-06 00:38:08 +010034 select OMAP_INTERCONNECT_BARRIER
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
Rafael J. Wysocki464ed182014-12-19 15:37:54 +010038 select PM if CPU_IDLE
Arnd Bergmann59d92872013-05-01 00:02:26 +020039 select ARM_ERRATA_754322
40 select ARM_ERRATA_775420
Dave Gerlach8d29bdb2016-05-24 11:12:29 -050041 select OMAP_INTERCONNECT
Arnd Bergmann59d92872013-05-01 00:02:26 +020042
43config SOC_OMAP5
44 bool "TI OMAP5"
45 depends on ARCH_MULTI_V7
46 select ARCH_OMAP2PLUS
47 select ARM_CPU_SUSPEND if PM
48 select ARM_GIC
Arnd Bergmann59d92872013-05-01 00:02:26 +020049 select HAVE_ARM_SCU 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
Nishanth Menond8f80042015-09-09 16:18:14 -050052 select OMAP_INTERCONNECT
Russell King3fa60972015-06-06 00:38:08 +010053 select OMAP_INTERCONNECT_BARRIER
Nishanth Menond8f80042015-09-09 16:18:14 -050054 select PM_OPP if PM
Tony Lindgren6a3b7642015-10-16 12:16:21 -070055 select ZONE_DMA if ARM_LPAE
Arnd Bergmann59d92872013-05-01 00:02:26 +020056
57config SOC_AM33XX
Ezequiel Garcia10851892013-08-08 18:32:08 -030058 bool "TI AM33XX"
Arnd Bergmann59d92872013-05-01 00:02:26 +020059 depends on ARCH_MULTI_V7
60 select ARCH_OMAP2PLUS
61 select ARM_CPU_SUSPEND if PM
Arnd Bergmann59d92872013-05-01 00:02:26 +020062
63config SOC_AM43XX
64 bool "TI AM43x"
65 depends on ARCH_MULTI_V7
Arnd Bergmann59d92872013-05-01 00:02:26 +020066 select ARCH_OMAP2PLUS
Arnd Bergmann59d92872013-05-01 00:02:26 +020067 select ARM_GIC
Arnd Bergmann59d92872013-05-01 00:02:26 +020068 select MACH_OMAP_GENERIC
Sekhar Norid941f862014-04-22 13:58:03 +053069 select MIGHT_HAVE_CACHE_L2X0
Dave Gerlachf87d0892015-07-10 16:05:48 -050070 select HAVE_ARM_SCU
Grygorii Strashko0b3e6fc2015-12-14 22:34:05 +020071 select GENERIC_CLOCKEVENTS_BROADCAST
Felipe Balbi54011102015-12-14 22:34:06 +020072 select HAVE_ARM_TWD
Dave Gerlach65db8752016-05-12 13:20:52 -050073 select ARM_ERRATA_754322
74 select ARM_ERRATA_775420
Dave Gerlach72bb40b2016-10-19 15:44:12 -050075 select OMAP_INTERCONNECT
Dave Gerlach41d9d442018-02-23 09:43:56 -060076 select ARM_CPU_SUSPEND if PM
Arnd Bergmann59d92872013-05-01 00:02:26 +020077
Tero Kristo68b9f602014-01-10 11:25:28 +020078config SOC_DRA7XX
79 bool "TI DRA7XX"
80 depends on ARCH_MULTI_V7
81 select ARCH_OMAP2PLUS
82 select ARM_CPU_SUSPEND if PM
83 select ARM_GIC
Nishanth Menond2e104c2015-09-09 16:18:13 -050084 select HAVE_ARM_SCU if SMP
Tero Kristo68b9f602014-01-10 11:25:28 +020085 select HAVE_ARM_ARCH_TIMER
Sricharan R5c61e612013-12-03 15:57:25 +053086 select IRQ_CROSSBAR
Praneeth Bajjuri209431e2015-03-25 18:25:09 -050087 select ARM_ERRATA_798181 if SMP
Nishanth Menond2e104c2015-09-09 16:18:13 -050088 select OMAP_INTERCONNECT
Russell King3fa60972015-06-06 00:38:08 +010089 select OMAP_INTERCONNECT_BARRIER
Nishanth Menond2e104c2015-09-09 16:18:13 -050090 select PM_OPP if PM
Tony Lindgren6a3b7642015-10-16 12:16:21 -070091 select ZONE_DMA if ARM_LPAE
Kishon Vijay Abraham Ic2818a12017-08-10 09:56:20 -070092 select PINCTRL_TI_IODELAY if OF && PINCTRL
Tero Kristo68b9f602014-01-10 11:25:28 +020093
Tony Lindgrena0694862013-01-11 11:24:20 -080094config ARCH_OMAP2PLUS
Arnd Bergmann59d92872013-05-01 00:02:26 +020095 bool
96 select ARCH_HAS_BANDGAP
Tony Lindgrena0694862013-01-11 11:24:20 -080097 select ARCH_HAS_HOLES_MEMORYMODEL
98 select ARCH_OMAP
Tony Lindgrena0694862013-01-11 11:24:20 -080099 select CLKSRC_MMIO
Tony Lindgrena0694862013-01-11 11:24:20 -0800100 select GENERIC_IRQ_CHIP
Linus Walleij5c34a4e2016-06-02 14:10:16 +0200101 select GPIOLIB
Tony Lindgrenf2acae62013-09-25 15:44:39 -0700102 select MACH_OMAP_GENERIC
Tony Lindgren18640192014-11-20 09:13:42 -0800103 select MEMORY
Tony Lindgrenda4d8142015-04-20 10:36:31 -0700104 select MFD_SYSCON
Tony Lindgrena0694862013-01-11 11:24:20 -0800105 select OMAP_DM_TIMER
Tony Lindgren18640192014-11-20 09:13:42 -0800106 select OMAP_GPMC
Tony Lindgrena0694862013-01-11 11:24:20 -0800107 select PINCTRL
Ruslan Bilovol6770b212013-02-14 13:55:24 +0200108 select SOC_BUS
Tony Lindgren0eecc632017-10-10 14:23:43 -0700109 select TI_SYSC
Felipe Balbi85980662014-09-15 16:15:02 -0500110 select OMAP_IRQCHIP
Felipe Balbi429ac202015-10-05 11:40:58 -0500111 select CLKSRC_TI_32K
Tony Lindgrena0694862013-01-11 11:24:20 -0800112 help
113 Systems based on OMAP2, OMAP3, OMAP4 or OMAP5
114
Russell King3fa60972015-06-06 00:38:08 +0100115config OMAP_INTERCONNECT_BARRIER
116 bool
117 select ARM_HEAVY_MB
118
Tony Lindgrena0694862013-01-11 11:24:20 -0800119
Tony Lindgren4a54db62010-07-05 16:31:47 +0300120if ARCH_OMAP2PLUS
121
122menu "TI OMAP2/3/4 Specific Features"
123
Tony Lindgren8d9166b2010-07-05 16:31:48 +0300124config ARCH_OMAP2PLUS_TYPICAL
125 bool "Typical OMAP configuration"
126 default y
127 select AEABI
Russell Kingb1b3f492012-10-06 17:12:25 +0100128 select HIGHMEM
Tony Lindgren8d9166b2010-07-05 16:31:48 +0300129 select I2C
130 select I2C_OMAP
Tony Lindgren8d9166b2010-07-05 16:31:48 +0300131 select MENELAUS if ARCH_OMAP2
R Sricharan8dd21c92013-02-07 16:21:46 +0530132 select NEON if CPU_V7
Rafael J. Wysocki464ed182014-12-19 15:37:54 +0100133 select PM
Russell Kingb1b3f492012-10-06 17:12:25 +0100134 select REGULATOR
Grygorii Strashkofc827922015-11-26 17:22:23 +0200135 select REGULATOR_FIXED_VOLTAGE
Tony Lindgren8d9166b2010-07-05 16:31:48 +0300136 select TWL4030_CORE if ARCH_OMAP3 || ARCH_OMAP4
137 select TWL4030_POWER if ARCH_OMAP3 || ARCH_OMAP4
Russell Kingb1b3f492012-10-06 17:12:25 +0100138 select VFP
Tony Lindgren8d9166b2010-07-05 16:31:48 +0300139 help
140 Compile a kernel suitable for booting most boards
141
Vaibhav Hiremathecc46cf2012-07-05 08:05:15 -0700142config SOC_HAS_OMAP2_SDRC
143 bool "OMAP2 SDRAM Controller support"
144
Santosh Shilimkarfa6d79d2012-08-13 14:24:24 +0530145config SOC_HAS_REALTIME_COUNTER
146 bool "Real time free running counter"
R Sricharanf18153f2013-02-07 13:25:39 +0530147 depends on SOC_OMAP5 || SOC_DRA7XX
Jon Hunter34cceb72012-11-27 11:22:39 -0600148 default y
Santosh Shilimkarfa6d79d2012-08-13 14:24:24 +0530149
Tony Lindgren1dbae812005-11-10 14:26:51 +0000150comment "OMAP Core Type"
Tony Lindgrenf558b272012-03-05 16:02:18 -0800151 depends on ARCH_OMAP2
Tony Lindgren1dbae812005-11-10 14:26:51 +0000152
Tony Lindgren59b479e2011-01-27 16:39:40 -0800153config SOC_OMAP2420
Tony Lindgren1dbae812005-11-10 14:26:51 +0000154 bool "OMAP2420 support"
Tony Lindgrenf558b272012-03-05 16:02:18 -0800155 depends on ARCH_OMAP2
Tony Lindgrenffb63e32010-07-05 16:31:47 +0300156 default y
Timo Teras77900a22006-06-26 16:16:12 -0700157 select OMAP_DM_TIMER
Vaibhav Hiremathecc46cf2012-07-05 08:05:15 -0700158 select SOC_HAS_OMAP2_SDRC
Tony Lindgren1dbae812005-11-10 14:26:51 +0000159
Tony Lindgren59b479e2011-01-27 16:39:40 -0800160config SOC_OMAP2430
Syed Mohammed Khasim72d0f1c2006-12-06 17:14:05 -0800161 bool "OMAP2430 support"
Tony Lindgrenf558b272012-03-05 16:02:18 -0800162 depends on ARCH_OMAP2
Tony Lindgrenffb63e32010-07-05 16:31:47 +0300163 default y
Vaibhav Hiremathecc46cf2012-07-05 08:05:15 -0700164 select SOC_HAS_OMAP2_SDRC
Syed Mohammed Khasim72d0f1c2006-12-06 17:14:05 -0800165
Tony Lindgren59b479e2011-01-27 16:39:40 -0800166config SOC_OMAP3430
Syed Mohammed, Khasimcc26b3b2008-10-09 17:51:41 +0300167 bool "OMAP3430 support"
Tony Lindgrenf558b272012-03-05 16:02:18 -0800168 depends on ARCH_OMAP3
Tony Lindgrenffb63e32010-07-05 16:31:47 +0300169 default y
Vaibhav Hiremathecc46cf2012-07-05 08:05:15 -0700170 select SOC_HAS_OMAP2_SDRC
Syed Mohammed, Khasimcc26b3b2008-10-09 17:51:41 +0300171
Kevin Hilman33959552012-05-10 11:10:07 -0700172config SOC_TI81XX
Hemant Pedanekara9203602011-12-13 10:46:44 -0800173 bool "TI81XX support"
Tony Lindgrenf558b272012-03-05 16:02:18 -0800174 depends on ARCH_OMAP3
Hemant Pedanekar4bd7be22011-02-16 08:31:39 -0800175 default y
176
Tony Lindgrenddaa9122009-12-11 16:16:32 -0800177config OMAP_PACKAGE_CBC
178 bool
179
180config OMAP_PACKAGE_CBB
181 bool
182
183config OMAP_PACKAGE_CUS
184 bool
185
Tony Lindgren662c8b52009-12-11 16:16:33 -0800186config OMAP_PACKAGE_CBP
187 bool
188
Tony Lindgrenf2acae62013-09-25 15:44:39 -0700189comment "OMAP Legacy Platform Data Board Type"
Tony Lindgrenf558b272012-03-05 16:02:18 -0800190 depends on ARCH_OMAP2PLUS
Tony Lindgren1dbae812005-11-10 14:26:51 +0000191
192config MACH_OMAP_GENERIC
Tony Lindgrenf2acae62013-09-25 15:44:39 -0700193 bool
Tony Lindgren1dbae812005-11-10 14:26:51 +0000194
Kalle Valo1b52d5d2009-08-28 10:51:37 -0700195config MACH_OMAP2_TUSB6010
196 bool
Tony Lindgren59b479e2011-01-27 16:39:40 -0800197 depends on ARCH_OMAP2 && SOC_OMAP2420
Kalle Valo1b52d5d2009-08-28 10:51:37 -0700198 default y if MACH_NOKIA_N8X0
199
Tony Lindgren549f95e2015-01-20 08:49:08 -0800200config MACH_OMAP3517EVM
201 bool "OMAP3517/ AM3517 EVM board"
202 depends on ARCH_OMAP3
203 default y
204
Grazvydas Ignotasda177242008-12-10 17:36:54 -0800205config MACH_OMAP3_PANDORA
206 bool "OMAP3 Pandora"
Tony Lindgrena8eb7ca2010-02-12 12:26:48 -0800207 depends on ARCH_OMAP3
Tony Lindgrenffb63e32010-07-05 16:31:47 +0300208 default y
Tony Lindgrenca5742b2009-12-11 16:16:32 -0800209 select OMAP_PACKAGE_CBB
Syed Mohammed Khasim6fdc29e2009-03-23 18:38:16 -0700210
Tony Lindgrend2fbf342009-10-22 14:48:13 -0700211config MACH_NOKIA_N810
212 bool
213
214config MACH_NOKIA_N810_WIMAX
215 bool
216
Kalle Valo63138812009-08-28 10:51:38 -0700217config MACH_NOKIA_N8X0
218 bool "Nokia N800/N810"
Tony Lindgren59b479e2011-01-27 16:39:40 -0800219 depends on SOC_OMAP2420
Tony Lindgrenffb63e32010-07-05 16:31:47 +0300220 default y
Tony Lindgrend2fbf342009-10-22 14:48:13 -0700221 select MACH_NOKIA_N810
222 select MACH_NOKIA_N810_WIMAX
Kalle Valo63138812009-08-28 10:51:38 -0700223
Paul Walmsley18862cb2009-12-08 16:33:14 -0700224config OMAP3_SDRC_AC_TIMING
225 bool "Enable SDRC AC timing register changes"
Tony Lindgrena8eb7ca2010-02-12 12:26:48 -0800226 depends on ARCH_OMAP3
Paul Walmsley18862cb2009-12-08 16:33:14 -0700227 help
228 If you know that none of your system initiators will attempt to
229 access SDRAM during CORE DVFS, select Y here. This should boost
230 SDRAM performance at lower CORE OPPs. There are relatively few
231 users who will wish to say yes at this point - almost everyone will
232 wish to say no. Selecting yes without understanding what is
233 going on could result in system crashes;
234
Tony Lindgren4a54db62010-07-05 16:31:47 +0300235endmenu
236
237endif
Rob Herring21278ae2014-06-10 09:06:10 -0500238
Nishanth Menonc0053bd2015-08-06 10:54:24 -0500239config OMAP5_ERRATA_801819
240 bool "Errata 801819: An eviction from L1 data cache might stall indefinitely"
241 depends on SOC_OMAP5 || SOC_DRA7XX
242 help
243 A livelock can occur in the L2 cache arbitration that might prevent
244 a snoop from completing. Under certain conditions this can cause the
245 system to deadlock.
246
Rob Herring21278ae2014-06-10 09:06:10 -0500247endmenu