xref: /linux/arch/arm/mach-omap2/Kconfig (revision 21278aeafbfacfd62b3e613525f0c694a029dac1)
1*21278aeaSRob Herringmenu "TI OMAP/AM/DM/DRA Family"
2*21278aeaSRob Herring	depends on ARCH_MULTI_V6 || ARCH_MULTI_V7
3*21278aeaSRob Herring
4a0694861STony Lindgrenconfig ARCH_OMAP
5a0694861STony Lindgren	bool
6a0694861STony Lindgren
759d92875SArnd Bergmannconfig ARCH_OMAP2
859d92875SArnd Bergmann	bool "TI OMAP2"
959d92875SArnd Bergmann	depends on ARCH_MULTI_V6
1059d92875SArnd Bergmann	select ARCH_OMAP2PLUS
1159d92875SArnd Bergmann	select CPU_V6
1259d92875SArnd Bergmann	select SOC_HAS_OMAP2_SDRC
1359d92875SArnd Bergmann
1459d92875SArnd Bergmannconfig ARCH_OMAP3
1559d92875SArnd Bergmann	bool "TI OMAP3"
1659d92875SArnd Bergmann	depends on ARCH_MULTI_V7
1759d92875SArnd Bergmann	select ARCH_OMAP2PLUS
1859d92875SArnd Bergmann	select ARCH_HAS_OPP
1959d92875SArnd Bergmann	select ARM_CPU_SUSPEND if PM
2059d92875SArnd Bergmann	select OMAP_INTERCONNECT
2159d92875SArnd Bergmann	select PM_OPP if PM
2259d92875SArnd Bergmann	select PM_RUNTIME if CPU_IDLE
2359d92875SArnd Bergmann	select SOC_HAS_OMAP2_SDRC
2459d92875SArnd Bergmann
2559d92875SArnd Bergmannconfig ARCH_OMAP4
2659d92875SArnd Bergmann	bool "TI OMAP4"
2759d92875SArnd Bergmann	depends on ARCH_MULTI_V7
2859d92875SArnd Bergmann	select ARCH_OMAP2PLUS
2959d92875SArnd Bergmann	select ARCH_HAS_OPP
3059d92875SArnd Bergmann	select ARCH_NEEDS_CPU_IDLE_COUPLED if SMP
3159d92875SArnd Bergmann	select ARM_CPU_SUSPEND if PM
3259d92875SArnd Bergmann	select ARM_ERRATA_720789
3359d92875SArnd Bergmann	select ARM_GIC
3459d92875SArnd Bergmann	select HAVE_ARM_SCU if SMP
3547dcd356SOlof Johansson	select HAVE_ARM_TWD if SMP
3659d92875SArnd Bergmann	select OMAP_INTERCONNECT
3759d92875SArnd Bergmann	select PL310_ERRATA_588369
3859d92875SArnd Bergmann	select PL310_ERRATA_727915
3959d92875SArnd Bergmann	select PM_OPP if PM
4059d92875SArnd Bergmann	select PM_RUNTIME if CPU_IDLE
4159d92875SArnd Bergmann	select ARM_ERRATA_754322
4259d92875SArnd Bergmann	select ARM_ERRATA_775420
4359d92875SArnd Bergmann
4459d92875SArnd Bergmannconfig SOC_OMAP5
4559d92875SArnd Bergmann	bool "TI OMAP5"
4659d92875SArnd Bergmann	depends on ARCH_MULTI_V7
4759d92875SArnd Bergmann	select ARCH_OMAP2PLUS
4822106c11SNishanth Menon	select ARCH_HAS_OPP
4959d92875SArnd Bergmann	select ARM_CPU_SUSPEND if PM
5059d92875SArnd Bergmann	select ARM_GIC
5159d92875SArnd Bergmann	select HAVE_ARM_SCU if SMP
528b7dfa7dSRob Herring	select HAVE_ARM_TWD if SMP
5359d92875SArnd Bergmann	select HAVE_ARM_ARCH_TIMER
54f82a3133SOlof Johansson	select ARM_ERRATA_798181 if SMP
5559d92875SArnd Bergmann
5659d92875SArnd Bergmannconfig SOC_AM33XX
571085189fSEzequiel Garcia	bool "TI AM33XX"
5859d92875SArnd Bergmann	depends on ARCH_MULTI_V7
5959d92875SArnd Bergmann	select ARCH_OMAP2PLUS
6022106c11SNishanth Menon	select ARCH_HAS_OPP
6159d92875SArnd Bergmann	select ARM_CPU_SUSPEND if PM
6259d92875SArnd Bergmann
6359d92875SArnd Bergmannconfig SOC_AM43XX
6459d92875SArnd Bergmann	bool "TI AM43x"
6559d92875SArnd Bergmann	depends on ARCH_MULTI_V7
6659d92875SArnd Bergmann	select ARCH_OMAP2PLUS
6722106c11SNishanth Menon	select ARCH_HAS_OPP
6859d92875SArnd Bergmann	select ARM_GIC
6959d92875SArnd Bergmann	select MACH_OMAP_GENERIC
70d941f86fSSekhar Nori	select MIGHT_HAVE_CACHE_L2X0
7159d92875SArnd Bergmann
7268b9f608STero Kristoconfig SOC_DRA7XX
7368b9f608STero Kristo	bool "TI DRA7XX"
7468b9f608STero Kristo	depends on ARCH_MULTI_V7
7568b9f608STero Kristo	select ARCH_OMAP2PLUS
7622106c11SNishanth Menon	select ARCH_HAS_OPP
7768b9f608STero Kristo	select ARM_CPU_SUSPEND if PM
7868b9f608STero Kristo	select ARM_GIC
7968b9f608STero Kristo	select HAVE_ARM_ARCH_TIMER
805c61e619SSricharan R	select IRQ_CROSSBAR
8168b9f608STero Kristo
82a0694861STony Lindgrenconfig ARCH_OMAP2PLUS
8359d92875SArnd Bergmann	bool
8459d92875SArnd Bergmann	select ARCH_HAS_BANDGAP
85a0694861STony Lindgren	select ARCH_HAS_HOLES_MEMORYMODEL
86a0694861STony Lindgren	select ARCH_OMAP
87a0694861STony Lindgren	select ARCH_REQUIRE_GPIOLIB
88a0694861STony Lindgren	select CLKSRC_MMIO
89a0694861STony Lindgren	select GENERIC_IRQ_CHIP
90f2acae69STony Lindgren	select MACH_OMAP_GENERIC
91a0694861STony Lindgren	select OMAP_DM_TIMER
92a0694861STony Lindgren	select PINCTRL
936770b211SRuslan Bilovol	select SOC_BUS
949d8812dfSOlof Johansson	select TI_PRIV_EDMA
95a0694861STony Lindgren	help
96a0694861STony Lindgren	  Systems based on OMAP2, OMAP3, OMAP4 or OMAP5
97a0694861STony Lindgren
98a0694861STony Lindgren
994a54db61STony Lindgrenif ARCH_OMAP2PLUS
1004a54db61STony Lindgren
1014a54db61STony Lindgrenmenu "TI OMAP2/3/4 Specific Features"
1024a54db61STony Lindgren
1038d9166b5STony Lindgrenconfig ARCH_OMAP2PLUS_TYPICAL
1048d9166b5STony Lindgren	bool "Typical OMAP configuration"
1058d9166b5STony Lindgren	default y
1068d9166b5STony Lindgren	select AEABI
107b1b3f49cSRussell King	select HIGHMEM
1088d9166b5STony Lindgren	select I2C
1098d9166b5STony Lindgren	select I2C_OMAP
1108d9166b5STony Lindgren	select MENELAUS if ARCH_OMAP2
1118dd21c93SR Sricharan	select NEON if CPU_V7
112b1b3f49cSRussell King	select PM_RUNTIME
113b1b3f49cSRussell King	select REGULATOR
1148d9166b5STony Lindgren	select TWL4030_CORE if ARCH_OMAP3 || ARCH_OMAP4
1158d9166b5STony Lindgren	select TWL4030_POWER if ARCH_OMAP3 || ARCH_OMAP4
116b1b3f49cSRussell King	select VFP
1178d9166b5STony Lindgren	help
1188d9166b5STony Lindgren	  Compile a kernel suitable for booting most boards
1198d9166b5STony Lindgren
120ecc46cfdSVaibhav Hiremathconfig SOC_HAS_OMAP2_SDRC
121ecc46cfdSVaibhav Hiremath	bool "OMAP2 SDRAM Controller support"
122ecc46cfdSVaibhav Hiremath
123fa6d79d2SSantosh Shilimkarconfig SOC_HAS_REALTIME_COUNTER
124fa6d79d2SSantosh Shilimkar	bool "Real time free running counter"
125f18153f9SR Sricharan	depends on SOC_OMAP5 || SOC_DRA7XX
12634cceb74SJon Hunter	default y
127fa6d79d2SSantosh Shilimkar
1281dbae815STony Lindgrencomment "OMAP Core Type"
129f558b275STony Lindgren	depends on ARCH_OMAP2
1301dbae815STony Lindgren
13159b479e0STony Lindgrenconfig SOC_OMAP2420
1321dbae815STony Lindgren	bool "OMAP2420 support"
133f558b275STony Lindgren	depends on ARCH_OMAP2
134ffb63e34STony Lindgren	default y
13577900a2fSTimo Teras	select OMAP_DM_TIMER
136ecc46cfdSVaibhav Hiremath	select SOC_HAS_OMAP2_SDRC
1371dbae815STony Lindgren
13859b479e0STony Lindgrenconfig SOC_OMAP2430
13972d0f1c3SSyed Mohammed Khasim	bool "OMAP2430 support"
140f558b275STony Lindgren	depends on ARCH_OMAP2
141ffb63e34STony Lindgren	default y
142ecc46cfdSVaibhav Hiremath	select SOC_HAS_OMAP2_SDRC
14372d0f1c3SSyed Mohammed Khasim
14459b479e0STony Lindgrenconfig SOC_OMAP3430
145cc26b3b0SSyed Mohammed, Khasim	bool "OMAP3430 support"
146f558b275STony Lindgren	depends on ARCH_OMAP3
147ffb63e34STony Lindgren	default y
148ecc46cfdSVaibhav Hiremath	select SOC_HAS_OMAP2_SDRC
149cc26b3b0SSyed Mohammed, Khasim
15033959553SKevin Hilmanconfig SOC_TI81XX
151a920360fSHemant Pedanekar	bool "TI81XX support"
152f558b275STony Lindgren	depends on ARCH_OMAP3
1534bd7be22SHemant Pedanekar	default y
1544bd7be22SHemant Pedanekar
155ddaa912aSTony Lindgrenconfig OMAP_PACKAGE_CBC
156ddaa912aSTony Lindgren       bool
157ddaa912aSTony Lindgren
158ddaa912aSTony Lindgrenconfig OMAP_PACKAGE_CBB
159ddaa912aSTony Lindgren       bool
160ddaa912aSTony Lindgren
161ddaa912aSTony Lindgrenconfig OMAP_PACKAGE_CUS
162ddaa912aSTony Lindgren       bool
163ddaa912aSTony Lindgren
164662c8b55STony Lindgrenconfig OMAP_PACKAGE_CBP
165662c8b55STony Lindgren       bool
166662c8b55STony Lindgren
167f2acae69STony Lindgrencomment "OMAP Legacy Platform Data Board Type"
168f558b275STony Lindgren	depends on ARCH_OMAP2PLUS
1691dbae815STony Lindgren
1701dbae815STony Lindgrenconfig MACH_OMAP_GENERIC
171f2acae69STony Lindgren	bool
1721dbae815STony Lindgren
1731b52d5dfSKalle Valoconfig MACH_OMAP2_TUSB6010
1741b52d5dfSKalle Valo	bool
17559b479e0STony Lindgren	depends on ARCH_OMAP2 && SOC_OMAP2420
1761b52d5dfSKalle Valo	default y if MACH_NOKIA_N8X0
1771b52d5dfSKalle Valo
1782885f000SSyed Mohammed, Khasimconfig MACH_OMAP3_BEAGLE
1792885f000SSyed Mohammed, Khasim	bool "OMAP3 BEAGLE board"
180a8eb7ca0STony Lindgren	depends on ARCH_OMAP3
181ffb63e34STony Lindgren	default y
182ca5742bdSTony Lindgren	select OMAP_PACKAGE_CBB
1832885f000SSyed Mohammed, Khasim
184476544caSThomas Weberconfig MACH_DEVKIT8000
185476544caSThomas Weber	bool "DEVKIT8000 board"
186476544caSThomas Weber	depends on ARCH_OMAP3
187ffb63e34STony Lindgren	default y
18851824c5fSThomas Weber	select OMAP_PACKAGE_CUS
189476544caSThomas Weber
19049265651SNishant Kamatconfig MACH_OMAP_LDP
19149265651SNishant Kamat	bool "OMAP3 LDP board"
192a8eb7ca0STony Lindgren	depends on ARCH_OMAP3
193ffb63e34STony Lindgren	default y
194ca5742bdSTony Lindgren	select OMAP_PACKAGE_CBB
19549265651SNishant Kamat
196d40f3f15STim Nordellconfig MACH_OMAP3530_LV_SOM
197d40f3f15STim Nordell	bool "OMAP3 Logic 3530 LV SOM board"
198d40f3f15STim Nordell	depends on ARCH_OMAP3
199d40f3f15STim Nordell	default y
200b1b3f49cSRussell King	select OMAP_PACKAGE_CBB
201d40f3f15STim Nordell	help
202d40f3f15STim Nordell	 Support for the LogicPD OMAP3530 SOM Development kit
203d40f3f15STim Nordell	 for full description please see the products webpage at
204d40f3f15STim Nordell	 http://www.logicpd.com/products/development-kits/texas-instruments-zoom%E2%84%A2-omap35x-development-kit
205d40f3f15STim Nordell
206d40f3f15STim Nordellconfig MACH_OMAP3_TORPEDO
207d40f3f15STim Nordell	bool "OMAP3 Logic 35x Torpedo board"
208d40f3f15STim Nordell	depends on ARCH_OMAP3
209d40f3f15STim Nordell	default y
210b1b3f49cSRussell King	select OMAP_PACKAGE_CBB
211d40f3f15STim Nordell	help
212d40f3f15STim Nordell	 Support for the LogicPD OMAP35x Torpedo Development kit
213d40f3f15STim Nordell	 for full description please see the products webpage at
214d40f3f15STim Nordell	 http://www.logicpd.com/products/development-kits/zoom-omap35x-torpedo-development-kit
215d40f3f15STim Nordell
216eba2645aSSteve Sakomanconfig MACH_OVERO
217eba2645aSSteve Sakoman	bool "Gumstix Overo board"
218a8eb7ca0STony Lindgren	depends on ARCH_OMAP3
219ffb63e34STony Lindgren	default y
220ca5742bdSTony Lindgren	select OMAP_PACKAGE_CBB
221da177247SGrazvydas Ignotas
222c625327eSRanjith Lohithakshanconfig MACH_OMAP3517EVM
223c625327eSRanjith Lohithakshan	bool "OMAP3517/ AM3517 EVM board"
224a8eb7ca0STony Lindgren	depends on ARCH_OMAP3
225ffb63e34STony Lindgren	default y
226ca5742bdSTony Lindgren	select OMAP_PACKAGE_CBB
227c625327eSRanjith Lohithakshan
2281cb125caSSrinathconfig MACH_CRANEBOARD
2291cb125caSSrinath	bool "AM3517/05 CRANE board"
2301cb125caSSrinath	depends on ARCH_OMAP3
2311cb125caSSrinath	select OMAP_PACKAGE_CBB
2321cb125caSSrinath
233da177247SGrazvydas Ignotasconfig MACH_OMAP3_PANDORA
234da177247SGrazvydas Ignotas	bool "OMAP3 Pandora"
235a8eb7ca0STony Lindgren	depends on ARCH_OMAP3
236ffb63e34STony Lindgren	default y
237ca5742bdSTony Lindgren	select OMAP_PACKAGE_CBB
238a075ccc6SFelipe Contreras	select REGULATOR_FIXED_VOLTAGE if REGULATOR
2396fdc29e2SSyed Mohammed Khasim
240a17fb8f5SRadek Pilarconfig MACH_TOUCHBOOK
2417a079cabSGregoire Gentil	bool "OMAP3 Touch Book"
242a8eb7ca0STony Lindgren	depends on ARCH_OMAP3
243ffb63e34STony Lindgren	default y
244a17fb8f5SRadek Pilar	select OMAP_PACKAGE_CBB
2457a079cabSGregoire Gentil
2466fdc29e2SSyed Mohammed Khasimconfig MACH_OMAP_3430SDP
2476fdc29e2SSyed Mohammed Khasim	bool "OMAP 3430 SDP board"
248a8eb7ca0STony Lindgren	depends on ARCH_OMAP3
249ffb63e34STony Lindgren	default y
250ca5742bdSTony Lindgren	select OMAP_PACKAGE_CBB
251ffe7f95bSLauri Leukkunen
252d2fbf345STony Lindgrenconfig MACH_NOKIA_N810
253d2fbf345STony Lindgren       bool
254d2fbf345STony Lindgren
255d2fbf345STony Lindgrenconfig MACH_NOKIA_N810_WIMAX
256d2fbf345STony Lindgren       bool
257d2fbf345STony Lindgren
25863138812SKalle Valoconfig MACH_NOKIA_N8X0
25963138812SKalle Valo	bool "Nokia N800/N810"
26059b479e0STony Lindgren	depends on SOC_OMAP2420
261ffb63e34STony Lindgren	default y
262d2fbf345STony Lindgren	select MACH_NOKIA_N810
263d2fbf345STony Lindgren	select MACH_NOKIA_N810_WIMAX
26463138812SKalle Valo
265ffe7f95bSLauri Leukkunenconfig MACH_NOKIA_RX51
266cc067797SPavel Machek	bool "Nokia N900 (RX-51) phone"
267a8eb7ca0STony Lindgren	depends on ARCH_OMAP3
268ffb63e34STony Lindgren	default y
269ca5742bdSTony Lindgren	select OMAP_PACKAGE_CBB
270577145f4SVikram Pandita
2712886d128SMike Rapoportconfig MACH_CM_T35
272c3146974SIgor Grinberg	bool "CompuLab CM-T35/CM-T3730 modules"
273a8eb7ca0STony Lindgren	depends on ARCH_OMAP3
274ffb63e34STony Lindgren	default y
275c3146974SIgor Grinberg	select MACH_CM_T3730
276ca5742bdSTony Lindgren	select OMAP_PACKAGE_CUS
2772886d128SMike Rapoport
278d04b620eSIgor Grinbergconfig MACH_CM_T3517
279d04b620eSIgor Grinberg	bool "CompuLab CM-T3517 module"
280d04b620eSIgor Grinberg	depends on ARCH_OMAP3
281d04b620eSIgor Grinberg	default y
282d04b620eSIgor Grinberg	select OMAP_PACKAGE_CBB
283d04b620eSIgor Grinberg
284c3146974SIgor Grinbergconfig MACH_CM_T3730
285c3146974SIgor Grinberg       bool
286c3146974SIgor Grinberg
2879cbc3493SJasonconfig MACH_SBC3530
2889cbc3493SJason	bool "OMAP3 SBC STALKER board"
2899cbc3493SJason	depends on ARCH_OMAP3
290ffb63e34STony Lindgren	default y
2919cbc3493SJason	select OMAP_PACKAGE_CUS
2929cbc3493SJason
2932c87fb2eSHemant Pedanekarconfig MACH_TI8168EVM
2942c87fb2eSHemant Pedanekar	bool "TI8168 Evaluation Module"
29533959553SKevin Hilman	depends on SOC_TI81XX
2962c87fb2eSHemant Pedanekar	default y
2972c87fb2eSHemant Pedanekar
298a890b676SHemant Pedanekarconfig MACH_TI8148EVM
299a890b676SHemant Pedanekar	bool "TI8148 Evaluation Module"
30033959553SKevin Hilman	depends on SOC_TI81XX
301a890b676SHemant Pedanekar	default y
302a890b676SHemant Pedanekar
303183bd50fSAlexander Shishkinconfig OMAP3_EMU
304183bd50fSAlexander Shishkin	bool "OMAP3 debugging peripherals"
305183bd50fSAlexander Shishkin	depends on ARCH_OMAP3
306a8a6565cSMing Lei	select ARM_AMBA
307183bd50fSAlexander Shishkin	select OC_ETM
308183bd50fSAlexander Shishkin	help
309183bd50fSAlexander Shishkin	  Say Y here to enable debugging hardware of omap3
310183bd50fSAlexander Shishkin
31118862cbeSPaul Walmsleyconfig OMAP3_SDRC_AC_TIMING
31218862cbeSPaul Walmsley	bool "Enable SDRC AC timing register changes"
313a8eb7ca0STony Lindgren	depends on ARCH_OMAP3
31418862cbeSPaul Walmsley	default n
31518862cbeSPaul Walmsley	help
31618862cbeSPaul Walmsley	  If you know that none of your system initiators will attempt to
31718862cbeSPaul Walmsley	  access SDRAM during CORE DVFS, select Y here.  This should boost
31818862cbeSPaul Walmsley	  SDRAM performance at lower CORE OPPs.  There are relatively few
31918862cbeSPaul Walmsley	  users who will wish to say yes at this point - almost everyone will
32018862cbeSPaul Walmsley	  wish to say no.  Selecting yes without understanding what is
32118862cbeSPaul Walmsley	  going on could result in system crashes;
32218862cbeSPaul Walmsley
323137d105dSSantosh Shilimkarconfig OMAP4_ERRATA_I688
3242ec1fc4eSSantosh Shilimkar	bool "OMAP4 errata: Async Bridge Corruption"
3251348bbf9SSantosh Shilimkar	depends on (ARCH_OMAP4 || SOC_OMAP5) && !ARCH_MULTIPLATFORM
326137d105dSSantosh Shilimkar	select ARCH_HAS_BARRIERS
327137d105dSSantosh Shilimkar	help
328137d105dSSantosh Shilimkar	  If a data is stalled inside asynchronous bridge because of back
329137d105dSSantosh Shilimkar	  pressure, it may be accepted multiple times, creating pointer
330137d105dSSantosh Shilimkar	  misalignment that will corrupt next transfers on that data path
331137d105dSSantosh Shilimkar	  until next reset of the system (No recovery procedure once the
332137d105dSSantosh Shilimkar	  issue is hit, the path remains consistently broken). Async bridge
333137d105dSSantosh Shilimkar	  can be found on path between MPU to EMIF and MPU to L3 interconnect.
334137d105dSSantosh Shilimkar	  This situation can happen only when the idle is initiated by a
335137d105dSSantosh Shilimkar	  Master Request Disconnection (which is trigged by software when
336137d105dSSantosh Shilimkar	  executing WFI on CPU).
337137d105dSSantosh Shilimkar	  The work-around for this errata needs all the initiators connected
338137d105dSSantosh Shilimkar	  through async bridge must ensure that data path is properly drained
339137d105dSSantosh Shilimkar	  before issuing WFI. This condition will be met if one Strongly ordered
340137d105dSSantosh Shilimkar	  access is performed to the target right before executing the WFI.
341137d105dSSantosh Shilimkar	  In MPU case, L3 T2ASYNC FIFO and DDR T2ASYNC FIFO needs to be drained.
342137d105dSSantosh Shilimkar	  IO barrier ensure that there is no synchronisation loss on initiators
343137d105dSSantosh Shilimkar	  operating on both interconnect port simultaneously.
3444a54db61STony Lindgrenendmenu
3454a54db61STony Lindgren
3464a54db61STony Lindgrenendif
347*21278aeaSRob Herring
348*21278aeaSRob Herringendmenu
349