blob: 0465338183c706721d94d356683fad3fa17a4435 [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
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
Arnd Bergmann59d92872013-05-01 00:02:26 +020015 select ARM_CPU_SUSPEND if PM
Arnd Bergmann59d92872013-05-01 00:02:26 +020016 select OMAP_INTERCONNECT
17 select PM_OPP if PM
Rafael J. Wysocki464ed182014-12-19 15:37:54 +010018 select PM if CPU_IDLE
Arnd Bergmann59d92872013-05-01 00:02:26 +020019 select SOC_HAS_OMAP2_SDRC
Nishanth Menon2e4094b2016-05-19 18:20:17 -050020 select ARM_ERRATA_430973
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
Arnd Bergmann59d92872013-05-01 00:02:26 +020026 select ARCH_NEEDS_CPU_IDLE_COUPLED if SMP
27 select ARM_CPU_SUSPEND if PM
28 select ARM_ERRATA_720789
29 select ARM_GIC
Arnd Bergmann59d92872013-05-01 00:02:26 +020030 select HAVE_ARM_SCU if SMP
Olof Johansson47dcd352013-07-23 14:51:34 -070031 select HAVE_ARM_TWD if SMP
Arnd Bergmann59d92872013-05-01 00:02:26 +020032 select OMAP_INTERCONNECT
Russell King3fa60972015-06-06 00:38:08 +010033 select OMAP_INTERCONNECT_BARRIER
Russell Kinga641f3a2014-06-19 10:19:10 +010034 select PL310_ERRATA_588369 if CACHE_L2X0
35 select PL310_ERRATA_727915 if CACHE_L2X0
Arnd Bergmann59d92872013-05-01 00:02:26 +020036 select PM_OPP if PM
Rafael J. Wysocki464ed182014-12-19 15:37:54 +010037 select PM if CPU_IDLE
Arnd Bergmann59d92872013-05-01 00:02:26 +020038 select ARM_ERRATA_754322
39 select ARM_ERRATA_775420
Dave Gerlach8d29bdb2016-05-24 11:12:29 -050040 select OMAP_INTERCONNECT
Arnd Bergmann59d92872013-05-01 00:02:26 +020041
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
Arnd Bergmann59d92872013-05-01 00:02:26 +020049 select HAVE_ARM_ARCH_TIMER
Olof Johanssonf82a3132013-07-24 16:55:23 -070050 select ARM_ERRATA_798181 if SMP
Nishanth Menond8f80042015-09-09 16:18:14 -050051 select OMAP_INTERCONNECT
Russell King3fa60972015-06-06 00:38:08 +010052 select OMAP_INTERCONNECT_BARRIER
Nishanth Menond8f80042015-09-09 16:18:14 -050053 select PM_OPP if PM
Tony Lindgren6a3b7642015-10-16 12:16:21 -070054 select ZONE_DMA if ARM_LPAE
Arnd Bergmann59d92872013-05-01 00:02:26 +020055
56config SOC_AM33XX
Ezequiel Garcia10851892013-08-08 18:32:08 -030057 bool "TI AM33XX"
Arnd Bergmann59d92872013-05-01 00:02:26 +020058 depends on ARCH_MULTI_V7
59 select ARCH_OMAP2PLUS
60 select ARM_CPU_SUSPEND if PM
Arnd Bergmann59d92872013-05-01 00:02:26 +020061
62config SOC_AM43XX
63 bool "TI AM43x"
64 depends on ARCH_MULTI_V7
Arnd Bergmann59d92872013-05-01 00:02:26 +020065 select ARCH_OMAP2PLUS
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
Dave Gerlachf87d0892015-07-10 16:05:48 -050069 select HAVE_ARM_SCU
Grygorii Strashko0b3e6fc2015-12-14 22:34:05 +020070 select GENERIC_CLOCKEVENTS_BROADCAST
Felipe Balbi54011102015-12-14 22:34:06 +020071 select HAVE_ARM_TWD
Dave Gerlach65db8752016-05-12 13:20:52 -050072 select ARM_ERRATA_754322
73 select ARM_ERRATA_775420
Dave Gerlach72bb40b2016-10-19 15:44:12 -050074 select OMAP_INTERCONNECT
Arnd Bergmann59d92872013-05-01 00:02:26 +020075
Tero Kristo68b9f602014-01-10 11:25:28 +020076config SOC_DRA7XX
77 bool "TI DRA7XX"
78 depends on ARCH_MULTI_V7
79 select ARCH_OMAP2PLUS
80 select ARM_CPU_SUSPEND if PM
81 select ARM_GIC
Nishanth Menond2e104c2015-09-09 16:18:13 -050082 select HAVE_ARM_SCU if SMP
Tero Kristo68b9f602014-01-10 11:25:28 +020083 select HAVE_ARM_ARCH_TIMER
Sricharan R5c61e612013-12-03 15:57:25 +053084 select IRQ_CROSSBAR
Praneeth Bajjuri209431e2015-03-25 18:25:09 -050085 select ARM_ERRATA_798181 if SMP
Nishanth Menond2e104c2015-09-09 16:18:13 -050086 select OMAP_INTERCONNECT
Russell King3fa60972015-06-06 00:38:08 +010087 select OMAP_INTERCONNECT_BARRIER
Nishanth Menond2e104c2015-09-09 16:18:13 -050088 select PM_OPP if PM
Tony Lindgren6a3b7642015-10-16 12:16:21 -070089 select ZONE_DMA if ARM_LPAE
Tero Kristo68b9f602014-01-10 11:25:28 +020090
Tony Lindgrena0694862013-01-11 11:24:20 -080091config ARCH_OMAP2PLUS
Arnd Bergmann59d92872013-05-01 00:02:26 +020092 bool
93 select ARCH_HAS_BANDGAP
Tony Lindgrena0694862013-01-11 11:24:20 -080094 select ARCH_HAS_HOLES_MEMORYMODEL
95 select ARCH_OMAP
Tony Lindgrena0694862013-01-11 11:24:20 -080096 select CLKSRC_MMIO
Tony Lindgrena0694862013-01-11 11:24:20 -080097 select GENERIC_IRQ_CHIP
Linus Walleij5c34a4e2016-06-02 14:10:16 +020098 select GPIOLIB
Tony Lindgrenf2acae62013-09-25 15:44:39 -070099 select MACH_OMAP_GENERIC
Tony Lindgren18640192014-11-20 09:13:42 -0800100 select MEMORY
Tony Lindgrenda4d8142015-04-20 10:36:31 -0700101 select MFD_SYSCON
Tony Lindgrena0694862013-01-11 11:24:20 -0800102 select OMAP_DM_TIMER
Tony Lindgren18640192014-11-20 09:13:42 -0800103 select OMAP_GPMC
Tony Lindgrena0694862013-01-11 11:24:20 -0800104 select PINCTRL
Ruslan Bilovol6770b212013-02-14 13:55:24 +0200105 select SOC_BUS
Felipe Balbi85980662014-09-15 16:15:02 -0500106 select OMAP_IRQCHIP
Felipe Balbi429ac202015-10-05 11:40:58 -0500107 select CLKSRC_TI_32K
Tony Lindgrena0694862013-01-11 11:24:20 -0800108 help
109 Systems based on OMAP2, OMAP3, OMAP4 or OMAP5
110
Russell King3fa60972015-06-06 00:38:08 +0100111config OMAP_INTERCONNECT_BARRIER
112 bool
113 select ARM_HEAVY_MB
114
Tony Lindgrena0694862013-01-11 11:24:20 -0800115
Tony Lindgren4a54db62010-07-05 16:31:47 +0300116if ARCH_OMAP2PLUS
117
118menu "TI OMAP2/3/4 Specific Features"
119
Tony Lindgren8d9166b2010-07-05 16:31:48 +0300120config ARCH_OMAP2PLUS_TYPICAL
121 bool "Typical OMAP configuration"
122 default y
123 select AEABI
Russell Kingb1b3f492012-10-06 17:12:25 +0100124 select HIGHMEM
Tony Lindgren8d9166b2010-07-05 16:31:48 +0300125 select I2C
126 select I2C_OMAP
Tony Lindgren8d9166b2010-07-05 16:31:48 +0300127 select MENELAUS if ARCH_OMAP2
R Sricharan8dd21c92013-02-07 16:21:46 +0530128 select NEON if CPU_V7
Rafael J. Wysocki464ed182014-12-19 15:37:54 +0100129 select PM
Russell Kingb1b3f492012-10-06 17:12:25 +0100130 select REGULATOR
Grygorii Strashkofc827922015-11-26 17:22:23 +0200131 select REGULATOR_FIXED_VOLTAGE
Tony Lindgren8d9166b2010-07-05 16:31:48 +0300132 select TWL4030_CORE if ARCH_OMAP3 || ARCH_OMAP4
133 select TWL4030_POWER if ARCH_OMAP3 || ARCH_OMAP4
Russell Kingb1b3f492012-10-06 17:12:25 +0100134 select VFP
Tony Lindgren8d9166b2010-07-05 16:31:48 +0300135 help
136 Compile a kernel suitable for booting most boards
137
Vaibhav Hiremathecc46cf2012-07-05 08:05:15 -0700138config SOC_HAS_OMAP2_SDRC
139 bool "OMAP2 SDRAM Controller support"
140
Santosh Shilimkarfa6d79d2012-08-13 14:24:24 +0530141config SOC_HAS_REALTIME_COUNTER
142 bool "Real time free running counter"
R Sricharanf18153f2013-02-07 13:25:39 +0530143 depends on SOC_OMAP5 || SOC_DRA7XX
Jon Hunter34cceb72012-11-27 11:22:39 -0600144 default y
Santosh Shilimkarfa6d79d2012-08-13 14:24:24 +0530145
Tony Lindgren1dbae812005-11-10 14:26:51 +0000146comment "OMAP Core Type"
Tony Lindgrenf558b272012-03-05 16:02:18 -0800147 depends on ARCH_OMAP2
Tony Lindgren1dbae812005-11-10 14:26:51 +0000148
Tony Lindgren59b479e2011-01-27 16:39:40 -0800149config SOC_OMAP2420
Tony Lindgren1dbae812005-11-10 14:26:51 +0000150 bool "OMAP2420 support"
Tony Lindgrenf558b272012-03-05 16:02:18 -0800151 depends on ARCH_OMAP2
Tony Lindgrenffb63e32010-07-05 16:31:47 +0300152 default y
Timo Teras77900a22006-06-26 16:16:12 -0700153 select OMAP_DM_TIMER
Vaibhav Hiremathecc46cf2012-07-05 08:05:15 -0700154 select SOC_HAS_OMAP2_SDRC
Tony Lindgren1dbae812005-11-10 14:26:51 +0000155
Tony Lindgren59b479e2011-01-27 16:39:40 -0800156config SOC_OMAP2430
Syed Mohammed Khasim72d0f1c2006-12-06 17:14:05 -0800157 bool "OMAP2430 support"
Tony Lindgrenf558b272012-03-05 16:02:18 -0800158 depends on ARCH_OMAP2
Tony Lindgrenffb63e32010-07-05 16:31:47 +0300159 default y
Vaibhav Hiremathecc46cf2012-07-05 08:05:15 -0700160 select SOC_HAS_OMAP2_SDRC
Syed Mohammed Khasim72d0f1c2006-12-06 17:14:05 -0800161
Tony Lindgren59b479e2011-01-27 16:39:40 -0800162config SOC_OMAP3430
Syed Mohammed, Khasimcc26b3b2008-10-09 17:51:41 +0300163 bool "OMAP3430 support"
Tony Lindgrenf558b272012-03-05 16:02:18 -0800164 depends on ARCH_OMAP3
Tony Lindgrenffb63e32010-07-05 16:31:47 +0300165 default y
Vaibhav Hiremathecc46cf2012-07-05 08:05:15 -0700166 select SOC_HAS_OMAP2_SDRC
Syed Mohammed, Khasimcc26b3b2008-10-09 17:51:41 +0300167
Kevin Hilman33959552012-05-10 11:10:07 -0700168config SOC_TI81XX
Hemant Pedanekara9203602011-12-13 10:46:44 -0800169 bool "TI81XX support"
Tony Lindgrenf558b272012-03-05 16:02:18 -0800170 depends on ARCH_OMAP3
Hemant Pedanekar4bd7be22011-02-16 08:31:39 -0800171 default y
172
Tony Lindgrenddaa9122009-12-11 16:16:32 -0800173config OMAP_PACKAGE_CBC
174 bool
175
176config OMAP_PACKAGE_CBB
177 bool
178
179config OMAP_PACKAGE_CUS
180 bool
181
Tony Lindgren662c8b52009-12-11 16:16:33 -0800182config OMAP_PACKAGE_CBP
183 bool
184
Tony Lindgrenf2acae62013-09-25 15:44:39 -0700185comment "OMAP Legacy Platform Data Board Type"
Tony Lindgrenf558b272012-03-05 16:02:18 -0800186 depends on ARCH_OMAP2PLUS
Tony Lindgren1dbae812005-11-10 14:26:51 +0000187
188config MACH_OMAP_GENERIC
Tony Lindgrenf2acae62013-09-25 15:44:39 -0700189 bool
Tony Lindgren1dbae812005-11-10 14:26:51 +0000190
Kalle Valo1b52d5d2009-08-28 10:51:37 -0700191config MACH_OMAP2_TUSB6010
192 bool
Tony Lindgren59b479e2011-01-27 16:39:40 -0800193 depends on ARCH_OMAP2 && SOC_OMAP2420
Kalle Valo1b52d5d2009-08-28 10:51:37 -0700194 default y if MACH_NOKIA_N8X0
195
Tony Lindgren549f95e2015-01-20 08:49:08 -0800196config MACH_OMAP3517EVM
197 bool "OMAP3517/ AM3517 EVM board"
198 depends on ARCH_OMAP3
199 default y
200
Grazvydas Ignotasda177242008-12-10 17:36:54 -0800201config MACH_OMAP3_PANDORA
202 bool "OMAP3 Pandora"
Tony Lindgrena8eb7ca2010-02-12 12:26:48 -0800203 depends on ARCH_OMAP3
Tony Lindgrenffb63e32010-07-05 16:31:47 +0300204 default y
Tony Lindgrenca5742b2009-12-11 16:16:32 -0800205 select OMAP_PACKAGE_CBB
Syed Mohammed Khasim6fdc29e2009-03-23 18:38:16 -0700206
Tony Lindgrend2fbf342009-10-22 14:48:13 -0700207config MACH_NOKIA_N810
208 bool
209
210config MACH_NOKIA_N810_WIMAX
211 bool
212
Kalle Valo63138812009-08-28 10:51:38 -0700213config MACH_NOKIA_N8X0
214 bool "Nokia N800/N810"
Tony Lindgren59b479e2011-01-27 16:39:40 -0800215 depends on SOC_OMAP2420
Tony Lindgrenffb63e32010-07-05 16:31:47 +0300216 default y
Tony Lindgrend2fbf342009-10-22 14:48:13 -0700217 select MACH_NOKIA_N810
218 select MACH_NOKIA_N810_WIMAX
Kalle Valo63138812009-08-28 10:51:38 -0700219
Paul Walmsley18862cb2009-12-08 16:33:14 -0700220config OMAP3_SDRC_AC_TIMING
221 bool "Enable SDRC AC timing register changes"
Tony Lindgrena8eb7ca2010-02-12 12:26:48 -0800222 depends on ARCH_OMAP3
Paul Walmsley18862cb2009-12-08 16:33:14 -0700223 default n
224 help
225 If you know that none of your system initiators will attempt to
226 access SDRAM during CORE DVFS, select Y here. This should boost
227 SDRAM performance at lower CORE OPPs. There are relatively few
228 users who will wish to say yes at this point - almost everyone will
229 wish to say no. Selecting yes without understanding what is
230 going on could result in system crashes;
231
Tony Lindgren4a54db62010-07-05 16:31:47 +0300232endmenu
233
234endif
Rob Herring21278ae2014-06-10 09:06:10 -0500235
Nishanth Menonc0053bd2015-08-06 10:54:24 -0500236config OMAP5_ERRATA_801819
237 bool "Errata 801819: An eviction from L1 data cache might stall indefinitely"
238 depends on SOC_OMAP5 || SOC_DRA7XX
239 help
240 A livelock can occur in the L2 cache arbitration that might prevent
241 a snoop from completing. Under certain conditions this can cause the
242 system to deadlock.
243
Rob Herring21278ae2014-06-10 09:06:10 -0500244endmenu