xref: /linux/arch/arm/mach-omap2/Kconfig (revision 464ed18ebdb6236fcff59d2a35d4d2e28668435a)
121278aeaSRob Herringmenu "TI OMAP/AM/DM/DRA Family"
221278aeaSRob Herring	depends on ARCH_MULTI_V6 || ARCH_MULTI_V7
321278aeaSRob Herring
459d92875SArnd Bergmannconfig ARCH_OMAP2
559d92875SArnd Bergmann	bool "TI OMAP2"
659d92875SArnd Bergmann	depends on ARCH_MULTI_V6
759d92875SArnd Bergmann	select ARCH_OMAP2PLUS
859d92875SArnd Bergmann	select CPU_V6
959d92875SArnd Bergmann	select SOC_HAS_OMAP2_SDRC
1059d92875SArnd Bergmann
1159d92875SArnd Bergmannconfig ARCH_OMAP3
1259d92875SArnd Bergmann	bool "TI OMAP3"
1359d92875SArnd Bergmann	depends on ARCH_MULTI_V7
1459d92875SArnd Bergmann	select ARCH_OMAP2PLUS
1559d92875SArnd Bergmann	select ARM_CPU_SUSPEND if PM
1659d92875SArnd Bergmann	select OMAP_INTERCONNECT
1759d92875SArnd Bergmann	select PM_OPP if PM
18*464ed18eSRafael J. Wysocki	select PM if CPU_IDLE
1959d92875SArnd Bergmann	select SOC_HAS_OMAP2_SDRC
2059d92875SArnd Bergmann
2159d92875SArnd Bergmannconfig ARCH_OMAP4
2259d92875SArnd Bergmann	bool "TI OMAP4"
2359d92875SArnd Bergmann	depends on ARCH_MULTI_V7
2459d92875SArnd Bergmann	select ARCH_OMAP2PLUS
2559d92875SArnd Bergmann	select ARCH_NEEDS_CPU_IDLE_COUPLED if SMP
2659d92875SArnd Bergmann	select ARM_CPU_SUSPEND if PM
2759d92875SArnd Bergmann	select ARM_ERRATA_720789
2859d92875SArnd Bergmann	select ARM_GIC
2959d92875SArnd Bergmann	select HAVE_ARM_SCU if SMP
3047dcd356SOlof Johansson	select HAVE_ARM_TWD if SMP
3159d92875SArnd Bergmann	select OMAP_INTERCONNECT
32a641f3a6SRussell King	select PL310_ERRATA_588369 if CACHE_L2X0
33a641f3a6SRussell King	select PL310_ERRATA_727915 if CACHE_L2X0
3459d92875SArnd Bergmann	select PM_OPP if PM
35*464ed18eSRafael J. Wysocki	select PM if CPU_IDLE
3659d92875SArnd Bergmann	select ARM_ERRATA_754322
3759d92875SArnd Bergmann	select ARM_ERRATA_775420
3859d92875SArnd Bergmann
3959d92875SArnd Bergmannconfig SOC_OMAP5
4059d92875SArnd Bergmann	bool "TI OMAP5"
4159d92875SArnd Bergmann	depends on ARCH_MULTI_V7
4259d92875SArnd Bergmann	select ARCH_OMAP2PLUS
4359d92875SArnd Bergmann	select ARM_CPU_SUSPEND if PM
4459d92875SArnd Bergmann	select ARM_GIC
4559d92875SArnd Bergmann	select HAVE_ARM_SCU if SMP
468b7dfa7dSRob Herring	select HAVE_ARM_TWD if SMP
4759d92875SArnd Bergmann	select HAVE_ARM_ARCH_TIMER
48f82a3133SOlof Johansson	select ARM_ERRATA_798181 if SMP
4959d92875SArnd Bergmann
5059d92875SArnd Bergmannconfig SOC_AM33XX
511085189fSEzequiel Garcia	bool "TI AM33XX"
5259d92875SArnd Bergmann	depends on ARCH_MULTI_V7
5359d92875SArnd Bergmann	select ARCH_OMAP2PLUS
5459d92875SArnd Bergmann	select ARM_CPU_SUSPEND if PM
5559d92875SArnd Bergmann
5659d92875SArnd Bergmannconfig SOC_AM43XX
5759d92875SArnd Bergmann	bool "TI AM43x"
5859d92875SArnd Bergmann	depends on ARCH_MULTI_V7
5959d92875SArnd Bergmann	select ARCH_OMAP2PLUS
6059d92875SArnd Bergmann	select ARM_GIC
6159d92875SArnd Bergmann	select MACH_OMAP_GENERIC
62d941f86fSSekhar Nori	select MIGHT_HAVE_CACHE_L2X0
6359d92875SArnd Bergmann
6468b9f608STero Kristoconfig SOC_DRA7XX
6568b9f608STero Kristo	bool "TI DRA7XX"
6668b9f608STero Kristo	depends on ARCH_MULTI_V7
6768b9f608STero Kristo	select ARCH_OMAP2PLUS
6868b9f608STero Kristo	select ARM_CPU_SUSPEND if PM
6968b9f608STero Kristo	select ARM_GIC
7068b9f608STero Kristo	select HAVE_ARM_ARCH_TIMER
715c61e619SSricharan R	select IRQ_CROSSBAR
7268b9f608STero Kristo
73a0694861STony Lindgrenconfig ARCH_OMAP2PLUS
7459d92875SArnd Bergmann	bool
7559d92875SArnd Bergmann	select ARCH_HAS_BANDGAP
76a0694861STony Lindgren	select ARCH_HAS_HOLES_MEMORYMODEL
77a0694861STony Lindgren	select ARCH_OMAP
78a0694861STony Lindgren	select ARCH_REQUIRE_GPIOLIB
79a0694861STony Lindgren	select CLKSRC_MMIO
80a0694861STony Lindgren	select GENERIC_IRQ_CHIP
81f2acae69STony Lindgren	select MACH_OMAP_GENERIC
8218640193STony Lindgren	select MEMORY
83a0694861STony Lindgren	select OMAP_DM_TIMER
8418640193STony Lindgren	select OMAP_GPMC
85a0694861STony Lindgren	select PINCTRL
866770b211SRuslan Bilovol	select SOC_BUS
879d8812dfSOlof Johansson	select TI_PRIV_EDMA
888598066cSFelipe Balbi	select OMAP_IRQCHIP
89a0694861STony Lindgren	help
90a0694861STony Lindgren	  Systems based on OMAP2, OMAP3, OMAP4 or OMAP5
91a0694861STony Lindgren
92a0694861STony Lindgren
934a54db61STony Lindgrenif ARCH_OMAP2PLUS
944a54db61STony Lindgren
954a54db61STony Lindgrenmenu "TI OMAP2/3/4 Specific Features"
964a54db61STony Lindgren
978d9166b5STony Lindgrenconfig ARCH_OMAP2PLUS_TYPICAL
988d9166b5STony Lindgren	bool "Typical OMAP configuration"
998d9166b5STony Lindgren	default y
1008d9166b5STony Lindgren	select AEABI
101b1b3f49cSRussell King	select HIGHMEM
1028d9166b5STony Lindgren	select I2C
1038d9166b5STony Lindgren	select I2C_OMAP
1048d9166b5STony Lindgren	select MENELAUS if ARCH_OMAP2
1058dd21c93SR Sricharan	select NEON if CPU_V7
106*464ed18eSRafael J. Wysocki	select PM
107b1b3f49cSRussell King	select REGULATOR
1088d9166b5STony Lindgren	select TWL4030_CORE if ARCH_OMAP3 || ARCH_OMAP4
1098d9166b5STony Lindgren	select TWL4030_POWER if ARCH_OMAP3 || ARCH_OMAP4
110b1b3f49cSRussell King	select VFP
1118d9166b5STony Lindgren	help
1128d9166b5STony Lindgren	  Compile a kernel suitable for booting most boards
1138d9166b5STony Lindgren
114ecc46cfdSVaibhav Hiremathconfig SOC_HAS_OMAP2_SDRC
115ecc46cfdSVaibhav Hiremath	bool "OMAP2 SDRAM Controller support"
116ecc46cfdSVaibhav Hiremath
117fa6d79d2SSantosh Shilimkarconfig SOC_HAS_REALTIME_COUNTER
118fa6d79d2SSantosh Shilimkar	bool "Real time free running counter"
119f18153f9SR Sricharan	depends on SOC_OMAP5 || SOC_DRA7XX
12034cceb74SJon Hunter	default y
121fa6d79d2SSantosh Shilimkar
1221dbae815STony Lindgrencomment "OMAP Core Type"
123f558b275STony Lindgren	depends on ARCH_OMAP2
1241dbae815STony Lindgren
12559b479e0STony Lindgrenconfig SOC_OMAP2420
1261dbae815STony Lindgren	bool "OMAP2420 support"
127f558b275STony Lindgren	depends on ARCH_OMAP2
128ffb63e34STony Lindgren	default y
12977900a2fSTimo Teras	select OMAP_DM_TIMER
130ecc46cfdSVaibhav Hiremath	select SOC_HAS_OMAP2_SDRC
1311dbae815STony Lindgren
13259b479e0STony Lindgrenconfig SOC_OMAP2430
13372d0f1c3SSyed Mohammed Khasim	bool "OMAP2430 support"
134f558b275STony Lindgren	depends on ARCH_OMAP2
135ffb63e34STony Lindgren	default y
136ecc46cfdSVaibhav Hiremath	select SOC_HAS_OMAP2_SDRC
13772d0f1c3SSyed Mohammed Khasim
13859b479e0STony Lindgrenconfig SOC_OMAP3430
139cc26b3b0SSyed Mohammed, Khasim	bool "OMAP3430 support"
140f558b275STony Lindgren	depends on ARCH_OMAP3
141ffb63e34STony Lindgren	default y
142ecc46cfdSVaibhav Hiremath	select SOC_HAS_OMAP2_SDRC
143cc26b3b0SSyed Mohammed, Khasim
14433959553SKevin Hilmanconfig SOC_TI81XX
145a920360fSHemant Pedanekar	bool "TI81XX support"
146f558b275STony Lindgren	depends on ARCH_OMAP3
1474bd7be22SHemant Pedanekar	default y
1484bd7be22SHemant Pedanekar
149ddaa912aSTony Lindgrenconfig OMAP_PACKAGE_CBC
150ddaa912aSTony Lindgren       bool
151ddaa912aSTony Lindgren
152ddaa912aSTony Lindgrenconfig OMAP_PACKAGE_CBB
153ddaa912aSTony Lindgren       bool
154ddaa912aSTony Lindgren
155ddaa912aSTony Lindgrenconfig OMAP_PACKAGE_CUS
156ddaa912aSTony Lindgren       bool
157ddaa912aSTony Lindgren
158662c8b55STony Lindgrenconfig OMAP_PACKAGE_CBP
159662c8b55STony Lindgren       bool
160662c8b55STony Lindgren
161f2acae69STony Lindgrencomment "OMAP Legacy Platform Data Board Type"
162f558b275STony Lindgren	depends on ARCH_OMAP2PLUS
1631dbae815STony Lindgren
1641dbae815STony Lindgrenconfig MACH_OMAP_GENERIC
165f2acae69STony Lindgren	bool
1661dbae815STony Lindgren
1671b52d5dfSKalle Valoconfig MACH_OMAP2_TUSB6010
1681b52d5dfSKalle Valo	bool
16959b479e0STony Lindgren	depends on ARCH_OMAP2 && SOC_OMAP2420
1701b52d5dfSKalle Valo	default y if MACH_NOKIA_N8X0
1711b52d5dfSKalle Valo
1722885f000SSyed Mohammed, Khasimconfig MACH_OMAP3_BEAGLE
1732885f000SSyed Mohammed, Khasim	bool "OMAP3 BEAGLE board"
174a8eb7ca0STony Lindgren	depends on ARCH_OMAP3
175ffb63e34STony Lindgren	default y
176ca5742bdSTony Lindgren	select OMAP_PACKAGE_CBB
1772885f000SSyed Mohammed, Khasim
178476544caSThomas Weberconfig MACH_DEVKIT8000
179476544caSThomas Weber	bool "DEVKIT8000 board"
180476544caSThomas Weber	depends on ARCH_OMAP3
181ffb63e34STony Lindgren	default y
18251824c5fSThomas Weber	select OMAP_PACKAGE_CUS
183476544caSThomas Weber
18449265651SNishant Kamatconfig MACH_OMAP_LDP
18549265651SNishant Kamat	bool "OMAP3 LDP board"
186a8eb7ca0STony Lindgren	depends on ARCH_OMAP3
187ffb63e34STony Lindgren	default y
188ca5742bdSTony Lindgren	select OMAP_PACKAGE_CBB
18949265651SNishant Kamat
190d40f3f15STim Nordellconfig MACH_OMAP3530_LV_SOM
191d40f3f15STim Nordell	bool "OMAP3 Logic 3530 LV SOM board"
192d40f3f15STim Nordell	depends on ARCH_OMAP3
193d40f3f15STim Nordell	default y
194b1b3f49cSRussell King	select OMAP_PACKAGE_CBB
195d40f3f15STim Nordell	help
196d40f3f15STim Nordell	 Support for the LogicPD OMAP3530 SOM Development kit
197d40f3f15STim Nordell	 for full description please see the products webpage at
198d40f3f15STim Nordell	 http://www.logicpd.com/products/development-kits/texas-instruments-zoom%E2%84%A2-omap35x-development-kit
199d40f3f15STim Nordell
200d40f3f15STim Nordellconfig MACH_OMAP3_TORPEDO
201d40f3f15STim Nordell	bool "OMAP3 Logic 35x Torpedo board"
202d40f3f15STim Nordell	depends on ARCH_OMAP3
203d40f3f15STim Nordell	default y
204b1b3f49cSRussell King	select OMAP_PACKAGE_CBB
205d40f3f15STim Nordell	help
206d40f3f15STim Nordell	 Support for the LogicPD OMAP35x Torpedo Development kit
207d40f3f15STim Nordell	 for full description please see the products webpage at
208d40f3f15STim Nordell	 http://www.logicpd.com/products/development-kits/zoom-omap35x-torpedo-development-kit
209d40f3f15STim Nordell
210eba2645aSSteve Sakomanconfig MACH_OVERO
211eba2645aSSteve Sakoman	bool "Gumstix Overo board"
212a8eb7ca0STony Lindgren	depends on ARCH_OMAP3
213ffb63e34STony Lindgren	default y
214ca5742bdSTony Lindgren	select OMAP_PACKAGE_CBB
215da177247SGrazvydas Ignotas
216c625327eSRanjith Lohithakshanconfig MACH_OMAP3517EVM
217c625327eSRanjith Lohithakshan	bool "OMAP3517/ AM3517 EVM board"
218a8eb7ca0STony Lindgren	depends on ARCH_OMAP3
219ffb63e34STony Lindgren	default y
220ca5742bdSTony Lindgren	select OMAP_PACKAGE_CBB
221c625327eSRanjith Lohithakshan
2221cb125caSSrinathconfig MACH_CRANEBOARD
2231cb125caSSrinath	bool "AM3517/05 CRANE board"
2241cb125caSSrinath	depends on ARCH_OMAP3
2251cb125caSSrinath	select OMAP_PACKAGE_CBB
2261cb125caSSrinath
227da177247SGrazvydas Ignotasconfig MACH_OMAP3_PANDORA
228da177247SGrazvydas Ignotas	bool "OMAP3 Pandora"
229a8eb7ca0STony Lindgren	depends on ARCH_OMAP3
230ffb63e34STony Lindgren	default y
231ca5742bdSTony Lindgren	select OMAP_PACKAGE_CBB
232a075ccc6SFelipe Contreras	select REGULATOR_FIXED_VOLTAGE if REGULATOR
2336fdc29e2SSyed Mohammed Khasim
234a17fb8f5SRadek Pilarconfig MACH_TOUCHBOOK
2357a079cabSGregoire Gentil	bool "OMAP3 Touch Book"
236a8eb7ca0STony Lindgren	depends on ARCH_OMAP3
237ffb63e34STony Lindgren	default y
238a17fb8f5SRadek Pilar	select OMAP_PACKAGE_CBB
2397a079cabSGregoire Gentil
240d2fbf345STony Lindgrenconfig MACH_NOKIA_N810
241d2fbf345STony Lindgren       bool
242d2fbf345STony Lindgren
243d2fbf345STony Lindgrenconfig MACH_NOKIA_N810_WIMAX
244d2fbf345STony Lindgren       bool
245d2fbf345STony Lindgren
24663138812SKalle Valoconfig MACH_NOKIA_N8X0
24763138812SKalle Valo	bool "Nokia N800/N810"
24859b479e0STony Lindgren	depends on SOC_OMAP2420
249ffb63e34STony Lindgren	default y
250d2fbf345STony Lindgren	select MACH_NOKIA_N810
251d2fbf345STony Lindgren	select MACH_NOKIA_N810_WIMAX
25263138812SKalle Valo
253ffe7f95bSLauri Leukkunenconfig MACH_NOKIA_RX51
254cc067797SPavel Machek	bool "Nokia N900 (RX-51) phone"
255a8eb7ca0STony Lindgren	depends on ARCH_OMAP3
256ffb63e34STony Lindgren	default y
257ca5742bdSTony Lindgren	select OMAP_PACKAGE_CBB
258577145f4SVikram Pandita
2592886d128SMike Rapoportconfig MACH_CM_T35
260c3146974SIgor Grinberg	bool "CompuLab CM-T35/CM-T3730 modules"
261a8eb7ca0STony Lindgren	depends on ARCH_OMAP3
262ffb63e34STony Lindgren	default y
263c3146974SIgor Grinberg	select MACH_CM_T3730
264ca5742bdSTony Lindgren	select OMAP_PACKAGE_CUS
2652886d128SMike Rapoport
266d04b620eSIgor Grinbergconfig MACH_CM_T3517
267d04b620eSIgor Grinberg	bool "CompuLab CM-T3517 module"
268d04b620eSIgor Grinberg	depends on ARCH_OMAP3
269d04b620eSIgor Grinberg	default y
270d04b620eSIgor Grinberg	select OMAP_PACKAGE_CBB
271d04b620eSIgor Grinberg
272c3146974SIgor Grinbergconfig MACH_CM_T3730
273c3146974SIgor Grinberg       bool
274c3146974SIgor Grinberg
2759cbc3493SJasonconfig MACH_SBC3530
2769cbc3493SJason	bool "OMAP3 SBC STALKER board"
2779cbc3493SJason	depends on ARCH_OMAP3
278ffb63e34STony Lindgren	default y
2799cbc3493SJason	select OMAP_PACKAGE_CUS
2809cbc3493SJason
28118862cbeSPaul Walmsleyconfig OMAP3_SDRC_AC_TIMING
28218862cbeSPaul Walmsley	bool "Enable SDRC AC timing register changes"
283a8eb7ca0STony Lindgren	depends on ARCH_OMAP3
28418862cbeSPaul Walmsley	default n
28518862cbeSPaul Walmsley	help
28618862cbeSPaul Walmsley	  If you know that none of your system initiators will attempt to
28718862cbeSPaul Walmsley	  access SDRAM during CORE DVFS, select Y here.  This should boost
28818862cbeSPaul Walmsley	  SDRAM performance at lower CORE OPPs.  There are relatively few
28918862cbeSPaul Walmsley	  users who will wish to say yes at this point - almost everyone will
29018862cbeSPaul Walmsley	  wish to say no.  Selecting yes without understanding what is
29118862cbeSPaul Walmsley	  going on could result in system crashes;
29218862cbeSPaul Walmsley
293137d105dSSantosh Shilimkarconfig OMAP4_ERRATA_I688
2942ec1fc4eSSantosh Shilimkar	bool "OMAP4 errata: Async Bridge Corruption"
2951348bbf9SSantosh Shilimkar	depends on (ARCH_OMAP4 || SOC_OMAP5) && !ARCH_MULTIPLATFORM
296137d105dSSantosh Shilimkar	select ARCH_HAS_BARRIERS
297137d105dSSantosh Shilimkar	help
298137d105dSSantosh Shilimkar	  If a data is stalled inside asynchronous bridge because of back
299137d105dSSantosh Shilimkar	  pressure, it may be accepted multiple times, creating pointer
300137d105dSSantosh Shilimkar	  misalignment that will corrupt next transfers on that data path
301137d105dSSantosh Shilimkar	  until next reset of the system (No recovery procedure once the
302137d105dSSantosh Shilimkar	  issue is hit, the path remains consistently broken). Async bridge
303137d105dSSantosh Shilimkar	  can be found on path between MPU to EMIF and MPU to L3 interconnect.
304137d105dSSantosh Shilimkar	  This situation can happen only when the idle is initiated by a
305137d105dSSantosh Shilimkar	  Master Request Disconnection (which is trigged by software when
306137d105dSSantosh Shilimkar	  executing WFI on CPU).
307137d105dSSantosh Shilimkar	  The work-around for this errata needs all the initiators connected
308137d105dSSantosh Shilimkar	  through async bridge must ensure that data path is properly drained
309137d105dSSantosh Shilimkar	  before issuing WFI. This condition will be met if one Strongly ordered
310137d105dSSantosh Shilimkar	  access is performed to the target right before executing the WFI.
311137d105dSSantosh Shilimkar	  In MPU case, L3 T2ASYNC FIFO and DDR T2ASYNC FIFO needs to be drained.
312137d105dSSantosh Shilimkar	  IO barrier ensure that there is no synchronisation loss on initiators
313137d105dSSantosh Shilimkar	  operating on both interconnect port simultaneously.
3144a54db61STony Lindgrenendmenu
3154a54db61STony Lindgren
3164a54db61STony Lindgrenendif
31721278aeaSRob Herring
31821278aeaSRob Herringendmenu
319