blob: 403022a38607eaf4f166cb530a226393ad307f0b [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
Arnd Bergmann59d92872013-05-01 00:02:26 +020020
21config ARCH_OMAP4
22 bool "TI OMAP4"
23 depends on ARCH_MULTI_V7
24 select ARCH_OMAP2PLUS
Arnd Bergmann59d92872013-05-01 00:02:26 +020025 select ARCH_NEEDS_CPU_IDLE_COUPLED if SMP
26 select ARM_CPU_SUSPEND if PM
27 select ARM_ERRATA_720789
28 select ARM_GIC
Arnd Bergmann59d92872013-05-01 00:02:26 +020029 select HAVE_ARM_SCU if SMP
Olof Johansson47dcd352013-07-23 14:51:34 -070030 select HAVE_ARM_TWD if SMP
Arnd Bergmann59d92872013-05-01 00:02:26 +020031 select OMAP_INTERCONNECT
Russell King3fa60972015-06-06 00:38:08 +010032 select OMAP_INTERCONNECT_BARRIER
Russell Kinga641f3a2014-06-19 10:19:10 +010033 select PL310_ERRATA_588369 if CACHE_L2X0
34 select PL310_ERRATA_727915 if CACHE_L2X0
Arnd Bergmann59d92872013-05-01 00:02:26 +020035 select PM_OPP if PM
Rafael J. Wysocki464ed182014-12-19 15:37:54 +010036 select PM if CPU_IDLE
Arnd Bergmann59d92872013-05-01 00:02:26 +020037 select ARM_ERRATA_754322
38 select ARM_ERRATA_775420
39
40config SOC_OMAP5
41 bool "TI OMAP5"
42 depends on ARCH_MULTI_V7
43 select ARCH_OMAP2PLUS
44 select ARM_CPU_SUSPEND if PM
45 select ARM_GIC
Arnd Bergmann59d92872013-05-01 00:02:26 +020046 select HAVE_ARM_SCU if SMP
Rob Herring8b7dfa72014-02-01 16:35:44 -060047 select HAVE_ARM_TWD if SMP
Arnd Bergmann59d92872013-05-01 00:02:26 +020048 select HAVE_ARM_ARCH_TIMER
Olof Johanssonf82a3132013-07-24 16:55:23 -070049 select ARM_ERRATA_798181 if SMP
Russell King3fa60972015-06-06 00:38:08 +010050 select OMAP_INTERCONNECT_BARRIER
Arnd Bergmann59d92872013-05-01 00:02:26 +020051
52config SOC_AM33XX
Ezequiel Garcia10851892013-08-08 18:32:08 -030053 bool "TI AM33XX"
Arnd Bergmann59d92872013-05-01 00:02:26 +020054 depends on ARCH_MULTI_V7
55 select ARCH_OMAP2PLUS
56 select ARM_CPU_SUSPEND if PM
Arnd Bergmann59d92872013-05-01 00:02:26 +020057
58config SOC_AM43XX
59 bool "TI AM43x"
60 depends on ARCH_MULTI_V7
Arnd Bergmann59d92872013-05-01 00:02:26 +020061 select ARCH_OMAP2PLUS
Arnd Bergmann59d92872013-05-01 00:02:26 +020062 select ARM_GIC
Arnd Bergmann59d92872013-05-01 00:02:26 +020063 select MACH_OMAP_GENERIC
Sekhar Norid941f862014-04-22 13:58:03 +053064 select MIGHT_HAVE_CACHE_L2X0
Dave Gerlachf87d0892015-07-10 16:05:48 -050065 select HAVE_ARM_SCU
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
Nishanth Menond2e104c2015-09-09 16:18:13 -050073 select HAVE_ARM_SCU if SMP
Tero Kristo68b9f602014-01-10 11:25:28 +020074 select HAVE_ARM_ARCH_TIMER
Sricharan R5c61e612013-12-03 15:57:25 +053075 select IRQ_CROSSBAR
Praneeth Bajjuri209431e2015-03-25 18:25:09 -050076 select ARM_ERRATA_798181 if SMP
Nishanth Menond2e104c2015-09-09 16:18:13 -050077 select OMAP_INTERCONNECT
Russell King3fa60972015-06-06 00:38:08 +010078 select OMAP_INTERCONNECT_BARRIER
Nishanth Menond2e104c2015-09-09 16:18:13 -050079 select PM_OPP if PM
Tero Kristo68b9f602014-01-10 11:25:28 +020080
Tony Lindgrena0694862013-01-11 11:24:20 -080081config ARCH_OMAP2PLUS
Arnd Bergmann59d92872013-05-01 00:02:26 +020082 bool
83 select ARCH_HAS_BANDGAP
Tony Lindgrena0694862013-01-11 11:24:20 -080084 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 Lindgren18640192014-11-20 09:13:42 -080090 select MEMORY
Tony Lindgrenda4d8142015-04-20 10:36:31 -070091 select MFD_SYSCON
Tony Lindgrena0694862013-01-11 11:24:20 -080092 select OMAP_DM_TIMER
Tony Lindgren18640192014-11-20 09:13:42 -080093 select OMAP_GPMC
Tony Lindgrena0694862013-01-11 11:24:20 -080094 select PINCTRL
Ruslan Bilovol6770b212013-02-14 13:55:24 +020095 select SOC_BUS
Olof Johansson9d8812d2013-07-09 01:31:23 -070096 select TI_PRIV_EDMA
Felipe Balbi85980662014-09-15 16:15:02 -050097 select OMAP_IRQCHIP
Tony Lindgrena0694862013-01-11 11:24:20 -080098 help
99 Systems based on OMAP2, OMAP3, OMAP4 or OMAP5
100
Russell King3fa60972015-06-06 00:38:08 +0100101config OMAP_INTERCONNECT_BARRIER
102 bool
103 select ARM_HEAVY_MB
104
Tony Lindgrena0694862013-01-11 11:24:20 -0800105
Tony Lindgren4a54db62010-07-05 16:31:47 +0300106if ARCH_OMAP2PLUS
107
108menu "TI OMAP2/3/4 Specific Features"
109
Tony Lindgren8d9166b2010-07-05 16:31:48 +0300110config ARCH_OMAP2PLUS_TYPICAL
111 bool "Typical OMAP configuration"
112 default y
113 select AEABI
Russell Kingb1b3f492012-10-06 17:12:25 +0100114 select HIGHMEM
Tony Lindgren8d9166b2010-07-05 16:31:48 +0300115 select I2C
116 select I2C_OMAP
Tony Lindgren8d9166b2010-07-05 16:31:48 +0300117 select MENELAUS if ARCH_OMAP2
R Sricharan8dd21c92013-02-07 16:21:46 +0530118 select NEON if CPU_V7
Rafael J. Wysocki464ed182014-12-19 15:37:54 +0100119 select PM
Russell Kingb1b3f492012-10-06 17:12:25 +0100120 select REGULATOR
Tony Lindgren8d9166b2010-07-05 16:31:48 +0300121 select TWL4030_CORE if ARCH_OMAP3 || ARCH_OMAP4
122 select TWL4030_POWER if ARCH_OMAP3 || ARCH_OMAP4
Russell Kingb1b3f492012-10-06 17:12:25 +0100123 select VFP
Tony Lindgren8d9166b2010-07-05 16:31:48 +0300124 help
125 Compile a kernel suitable for booting most boards
126
Vaibhav Hiremathecc46cf2012-07-05 08:05:15 -0700127config SOC_HAS_OMAP2_SDRC
128 bool "OMAP2 SDRAM Controller support"
129
Santosh Shilimkarfa6d79d2012-08-13 14:24:24 +0530130config SOC_HAS_REALTIME_COUNTER
131 bool "Real time free running counter"
R Sricharanf18153f2013-02-07 13:25:39 +0530132 depends on SOC_OMAP5 || SOC_DRA7XX
Jon Hunter34cceb72012-11-27 11:22:39 -0600133 default y
Santosh Shilimkarfa6d79d2012-08-13 14:24:24 +0530134
Tony Lindgren1dbae812005-11-10 14:26:51 +0000135comment "OMAP Core Type"
Tony Lindgrenf558b272012-03-05 16:02:18 -0800136 depends on ARCH_OMAP2
Tony Lindgren1dbae812005-11-10 14:26:51 +0000137
Tony Lindgren59b479e2011-01-27 16:39:40 -0800138config SOC_OMAP2420
Tony Lindgren1dbae812005-11-10 14:26:51 +0000139 bool "OMAP2420 support"
Tony Lindgrenf558b272012-03-05 16:02:18 -0800140 depends on ARCH_OMAP2
Tony Lindgrenffb63e32010-07-05 16:31:47 +0300141 default y
Timo Teras77900a22006-06-26 16:16:12 -0700142 select OMAP_DM_TIMER
Vaibhav Hiremathecc46cf2012-07-05 08:05:15 -0700143 select SOC_HAS_OMAP2_SDRC
Tony Lindgren1dbae812005-11-10 14:26:51 +0000144
Tony Lindgren59b479e2011-01-27 16:39:40 -0800145config SOC_OMAP2430
Syed Mohammed Khasim72d0f1c2006-12-06 17:14:05 -0800146 bool "OMAP2430 support"
Tony Lindgrenf558b272012-03-05 16:02:18 -0800147 depends on ARCH_OMAP2
Tony Lindgrenffb63e32010-07-05 16:31:47 +0300148 default y
Vaibhav Hiremathecc46cf2012-07-05 08:05:15 -0700149 select SOC_HAS_OMAP2_SDRC
Syed Mohammed Khasim72d0f1c2006-12-06 17:14:05 -0800150
Tony Lindgren59b479e2011-01-27 16:39:40 -0800151config SOC_OMAP3430
Syed Mohammed, Khasimcc26b3b2008-10-09 17:51:41 +0300152 bool "OMAP3430 support"
Tony Lindgrenf558b272012-03-05 16:02:18 -0800153 depends on ARCH_OMAP3
Tony Lindgrenffb63e32010-07-05 16:31:47 +0300154 default y
Vaibhav Hiremathecc46cf2012-07-05 08:05:15 -0700155 select SOC_HAS_OMAP2_SDRC
Syed Mohammed, Khasimcc26b3b2008-10-09 17:51:41 +0300156
Kevin Hilman33959552012-05-10 11:10:07 -0700157config SOC_TI81XX
Hemant Pedanekara9203602011-12-13 10:46:44 -0800158 bool "TI81XX support"
Tony Lindgrenf558b272012-03-05 16:02:18 -0800159 depends on ARCH_OMAP3
Hemant Pedanekar4bd7be22011-02-16 08:31:39 -0800160 default y
161
Tony Lindgrenddaa9122009-12-11 16:16:32 -0800162config OMAP_PACKAGE_CBC
163 bool
164
165config OMAP_PACKAGE_CBB
166 bool
167
168config OMAP_PACKAGE_CUS
169 bool
170
Tony Lindgren662c8b52009-12-11 16:16:33 -0800171config OMAP_PACKAGE_CBP
172 bool
173
Tony Lindgrenf2acae62013-09-25 15:44:39 -0700174comment "OMAP Legacy Platform Data Board Type"
Tony Lindgrenf558b272012-03-05 16:02:18 -0800175 depends on ARCH_OMAP2PLUS
Tony Lindgren1dbae812005-11-10 14:26:51 +0000176
177config MACH_OMAP_GENERIC
Tony Lindgrenf2acae62013-09-25 15:44:39 -0700178 bool
Tony Lindgren1dbae812005-11-10 14:26:51 +0000179
Kalle Valo1b52d5d2009-08-28 10:51:37 -0700180config MACH_OMAP2_TUSB6010
181 bool
Tony Lindgren59b479e2011-01-27 16:39:40 -0800182 depends on ARCH_OMAP2 && SOC_OMAP2420
Kalle Valo1b52d5d2009-08-28 10:51:37 -0700183 default y if MACH_NOKIA_N8X0
184
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
Tony Lindgren549f95e2015-01-20 08:49:08 -0800191config MACH_OMAP3517EVM
192 bool "OMAP3517/ AM3517 EVM board"
193 depends on ARCH_OMAP3
194 default y
195
Grazvydas Ignotasda177242008-12-10 17:36:54 -0800196config MACH_OMAP3_PANDORA
197 bool "OMAP3 Pandora"
Tony Lindgrena8eb7ca2010-02-12 12:26:48 -0800198 depends on ARCH_OMAP3
Tony Lindgrenffb63e32010-07-05 16:31:47 +0300199 default y
Tony Lindgrenca5742b2009-12-11 16:16:32 -0800200 select OMAP_PACKAGE_CBB
Felipe Contrerasa075ccc2012-01-20 05:38:31 -0800201 select REGULATOR_FIXED_VOLTAGE if REGULATOR
Syed Mohammed Khasim6fdc29e2009-03-23 18:38:16 -0700202
Tony Lindgrend2fbf342009-10-22 14:48:13 -0700203config MACH_NOKIA_N810
204 bool
205
206config MACH_NOKIA_N810_WIMAX
207 bool
208
Kalle Valo63138812009-08-28 10:51:38 -0700209config MACH_NOKIA_N8X0
210 bool "Nokia N800/N810"
Tony Lindgren59b479e2011-01-27 16:39:40 -0800211 depends on SOC_OMAP2420
Tony Lindgrenffb63e32010-07-05 16:31:47 +0300212 default y
Tony Lindgrend2fbf342009-10-22 14:48:13 -0700213 select MACH_NOKIA_N810
214 select MACH_NOKIA_N810_WIMAX
Kalle Valo63138812009-08-28 10:51:38 -0700215
Lauri Leukkunenffe7f952009-03-23 18:38:17 -0700216config MACH_NOKIA_RX51
Pavel Machekcc067792012-10-17 23:03:00 +0200217 bool "Nokia N900 (RX-51) phone"
Tony Lindgrena8eb7ca2010-02-12 12:26:48 -0800218 depends on ARCH_OMAP3
Tony Lindgrenffb63e32010-07-05 16:31:47 +0300219 default y
Tony Lindgrenca5742b2009-12-11 16:16:32 -0800220 select OMAP_PACKAGE_CBB
Vikram Pandita577145f2009-05-28 14:04:04 -0700221
Paul Walmsley18862cb2009-12-08 16:33:14 -0700222config OMAP3_SDRC_AC_TIMING
223 bool "Enable SDRC AC timing register changes"
Tony Lindgrena8eb7ca2010-02-12 12:26:48 -0800224 depends on ARCH_OMAP3
Paul Walmsley18862cb2009-12-08 16:33:14 -0700225 default n
226 help
227 If you know that none of your system initiators will attempt to
228 access SDRAM during CORE DVFS, select Y here. This should boost
229 SDRAM performance at lower CORE OPPs. There are relatively few
230 users who will wish to say yes at this point - almost everyone will
231 wish to say no. Selecting yes without understanding what is
232 going on could result in system crashes;
233
Tony Lindgren4a54db62010-07-05 16:31:47 +0300234endmenu
235
236endif
Rob Herring21278ae2014-06-10 09:06:10 -0500237
238endmenu