xref: /linux/arch/arm/mach-omap2/Kconfig (revision 133ad7ab7005dc951fb66d3de9e29a8259fe9744)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
221278aeaSRob Herringmenu "TI OMAP/AM/DM/DRA Family"
321278aeaSRob Herring	depends on ARCH_MULTI_V6 || ARCH_MULTI_V7
421278aeaSRob Herring
5*133ad7abSTony Lindgrenconfig OMAP_HWMOD
6*133ad7abSTony Lindgren	bool
7*133ad7abSTony Lindgren
859d92875SArnd Bergmannconfig ARCH_OMAP2
959d92875SArnd Bergmann	bool "TI OMAP2"
1059d92875SArnd Bergmann	depends on ARCH_MULTI_V6
1159d92875SArnd Bergmann	select ARCH_OMAP2PLUS
1259d92875SArnd Bergmann	select CPU_V6
13*133ad7abSTony Lindgren	select OMAP_HWMOD
1459d92875SArnd Bergmann	select SOC_HAS_OMAP2_SDRC
1559d92875SArnd Bergmann
1659d92875SArnd Bergmannconfig ARCH_OMAP3
1759d92875SArnd Bergmann	bool "TI OMAP3"
1859d92875SArnd Bergmann	depends on ARCH_MULTI_V7
1959d92875SArnd Bergmann	select ARCH_OMAP2PLUS
2059d92875SArnd Bergmann	select ARM_CPU_SUSPEND if PM
21*133ad7abSTony Lindgren	select OMAP_HWMOD
2259d92875SArnd Bergmann	select OMAP_INTERCONNECT
2359d92875SArnd Bergmann	select PM_OPP if PM
24464ed18eSRafael J. Wysocki	select PM if CPU_IDLE
2559d92875SArnd Bergmann	select SOC_HAS_OMAP2_SDRC
262e4094bdSNishanth Menon	select ARM_ERRATA_430973
2759d92875SArnd Bergmann
2859d92875SArnd Bergmannconfig ARCH_OMAP4
2959d92875SArnd Bergmann	bool "TI OMAP4"
3059d92875SArnd Bergmann	depends on ARCH_MULTI_V7
3159d92875SArnd Bergmann	select ARCH_OMAP2PLUS
3259d92875SArnd Bergmann	select ARCH_NEEDS_CPU_IDLE_COUPLED if SMP
3359d92875SArnd Bergmann	select ARM_CPU_SUSPEND if PM
3459d92875SArnd Bergmann	select ARM_ERRATA_720789
3559d92875SArnd Bergmann	select ARM_GIC
3659d92875SArnd Bergmann	select HAVE_ARM_SCU if SMP
3747dcd356SOlof Johansson	select HAVE_ARM_TWD if SMP
38*133ad7abSTony Lindgren	select OMAP_HWMOD
3959d92875SArnd Bergmann	select OMAP_INTERCONNECT
403fa60975SRussell King	select OMAP_INTERCONNECT_BARRIER
41a641f3a6SRussell King	select PL310_ERRATA_588369 if CACHE_L2X0
42a641f3a6SRussell King	select PL310_ERRATA_727915 if CACHE_L2X0
4359d92875SArnd Bergmann	select PM_OPP if PM
44464ed18eSRafael J. Wysocki	select PM if CPU_IDLE
4559d92875SArnd Bergmann	select ARM_ERRATA_754322
4659d92875SArnd Bergmann	select ARM_ERRATA_775420
478d29bdbaSDave Gerlach	select OMAP_INTERCONNECT
4859d92875SArnd Bergmann
4959d92875SArnd Bergmannconfig SOC_OMAP5
5059d92875SArnd Bergmann	bool "TI OMAP5"
5159d92875SArnd Bergmann	depends on ARCH_MULTI_V7
5259d92875SArnd Bergmann	select ARCH_OMAP2PLUS
5359d92875SArnd Bergmann	select ARM_CPU_SUSPEND if PM
5459d92875SArnd Bergmann	select ARM_GIC
5559d92875SArnd Bergmann	select HAVE_ARM_SCU if SMP
5659d92875SArnd Bergmann	select HAVE_ARM_ARCH_TIMER
57f82a3133SOlof Johansson	select ARM_ERRATA_798181 if SMP
58*133ad7abSTony Lindgren	select OMAP_HWMOD
59d8f8004eSNishanth Menon	select OMAP_INTERCONNECT
603fa60975SRussell King	select OMAP_INTERCONNECT_BARRIER
61d8f8004eSNishanth Menon	select PM_OPP if PM
626a3b764bSTony Lindgren	select ZONE_DMA if ARM_LPAE
6359d92875SArnd Bergmann
6459d92875SArnd Bergmannconfig SOC_AM33XX
651085189fSEzequiel Garcia	bool "TI AM33XX"
6659d92875SArnd Bergmann	depends on ARCH_MULTI_V7
6759d92875SArnd Bergmann	select ARCH_OMAP2PLUS
6859d92875SArnd Bergmann	select ARM_CPU_SUSPEND if PM
6959d92875SArnd Bergmann
7059d92875SArnd Bergmannconfig SOC_AM43XX
7159d92875SArnd Bergmann	bool "TI AM43x"
7259d92875SArnd Bergmann	depends on ARCH_MULTI_V7
7359d92875SArnd Bergmann	select ARCH_OMAP2PLUS
7459d92875SArnd Bergmann	select ARM_GIC
7559d92875SArnd Bergmann	select MACH_OMAP_GENERIC
76f87d089dSDave Gerlach	select HAVE_ARM_SCU
770b3e6fcaSGrygorii Strashko	select GENERIC_CLOCKEVENTS_BROADCAST
7854011103SFelipe Balbi	select HAVE_ARM_TWD
7965db875dSDave Gerlach	select ARM_ERRATA_754322
8065db875dSDave Gerlach	select ARM_ERRATA_775420
81*133ad7abSTony Lindgren	select OMAP_HWMOD
8272bb40b8SDave Gerlach	select OMAP_INTERCONNECT
8341d9d44dSDave Gerlach	select ARM_CPU_SUSPEND if PM
8459d92875SArnd Bergmann
8568b9f608STero Kristoconfig SOC_DRA7XX
8668b9f608STero Kristo	bool "TI DRA7XX"
8768b9f608STero Kristo	depends on ARCH_MULTI_V7
8868b9f608STero Kristo	select ARCH_OMAP2PLUS
8968b9f608STero Kristo	select ARM_CPU_SUSPEND if PM
9068b9f608STero Kristo	select ARM_GIC
91d2e104c6SNishanth Menon	select HAVE_ARM_SCU if SMP
9268b9f608STero Kristo	select HAVE_ARM_ARCH_TIMER
935c61e619SSricharan R	select IRQ_CROSSBAR
94209431efSPraneeth Bajjuri	select ARM_ERRATA_798181 if SMP
95*133ad7abSTony Lindgren	select OMAP_HWMOD
96d2e104c6SNishanth Menon	select OMAP_INTERCONNECT
973fa60975SRussell King	select OMAP_INTERCONNECT_BARRIER
98d2e104c6SNishanth Menon	select PM_OPP if PM
996a3b764bSTony Lindgren	select ZONE_DMA if ARM_LPAE
100c2818a19SKishon Vijay Abraham I	select PINCTRL_TI_IODELAY if OF && PINCTRL
10168b9f608STero Kristo
102a0694861STony Lindgrenconfig ARCH_OMAP2PLUS
10359d92875SArnd Bergmann	bool
10459d92875SArnd Bergmann	select ARCH_HAS_BANDGAP
105a0694861STony Lindgren	select ARCH_HAS_HOLES_MEMORYMODEL
106fe013e21SArnd Bergmann	select ARCH_HAS_RESET_CONTROLLER
107a0694861STony Lindgren	select ARCH_OMAP
108a0694861STony Lindgren	select CLKSRC_MMIO
109a0694861STony Lindgren	select GENERIC_IRQ_CHIP
1105c34a4e8SLinus Walleij	select GPIOLIB
111f2acae69STony Lindgren	select MACH_OMAP_GENERIC
11218640193STony Lindgren	select MEMORY
113da4d8145STony Lindgren	select MFD_SYSCON
114a0694861STony Lindgren	select OMAP_DM_TIMER
11518640193STony Lindgren	select OMAP_GPMC
116a0694861STony Lindgren	select PINCTRL
117c20782adSTony Lindgren	select PM_GENERIC_DOMAINS if PM
118b69fd001STony Lindgren	select PM_GENERIC_DOMAINS_OF if PM
119fe013e21SArnd Bergmann	select RESET_CONTROLLER
1206770b211SRuslan Bilovol	select SOC_BUS
1210eecc636STony Lindgren	select TI_SYSC
1228598066cSFelipe Balbi	select OMAP_IRQCHIP
123429ac200SFelipe Balbi	select CLKSRC_TI_32K
124a0694861STony Lindgren	help
125a0694861STony Lindgren	  Systems based on OMAP2, OMAP3, OMAP4 or OMAP5
126a0694861STony Lindgren
1273fa60975SRussell Kingconfig OMAP_INTERCONNECT_BARRIER
1283fa60975SRussell King	bool
1293fa60975SRussell King	select ARM_HEAVY_MB
1303fa60975SRussell King
131a0694861STony Lindgren
1324a54db61STony Lindgrenif ARCH_OMAP2PLUS
1334a54db61STony Lindgren
1344a54db61STony Lindgrenmenu "TI OMAP2/3/4 Specific Features"
1354a54db61STony Lindgren
1368d9166b5STony Lindgrenconfig ARCH_OMAP2PLUS_TYPICAL
1378d9166b5STony Lindgren	bool "Typical OMAP configuration"
1388d9166b5STony Lindgren	default y
1398d9166b5STony Lindgren	select AEABI
140b1b3f49cSRussell King	select HIGHMEM
1418d9166b5STony Lindgren	select I2C
1428d9166b5STony Lindgren	select I2C_OMAP
1438d9166b5STony Lindgren	select MENELAUS if ARCH_OMAP2
1448dd21c93SR Sricharan	select NEON if CPU_V7
145464ed18eSRafael J. Wysocki	select PM
146b1b3f49cSRussell King	select REGULATOR
147fc827928SGrygorii Strashko	select REGULATOR_FIXED_VOLTAGE
1488d9166b5STony Lindgren	select TWL4030_CORE if ARCH_OMAP3 || ARCH_OMAP4
1498d9166b5STony Lindgren	select TWL4030_POWER if ARCH_OMAP3 || ARCH_OMAP4
150b1b3f49cSRussell King	select VFP
1518d9166b5STony Lindgren	help
1528d9166b5STony Lindgren	  Compile a kernel suitable for booting most boards
1538d9166b5STony Lindgren
154ecc46cfdSVaibhav Hiremathconfig SOC_HAS_OMAP2_SDRC
155ecc46cfdSVaibhav Hiremath	bool "OMAP2 SDRAM Controller support"
156ecc46cfdSVaibhav Hiremath
157fa6d79d2SSantosh Shilimkarconfig SOC_HAS_REALTIME_COUNTER
158fa6d79d2SSantosh Shilimkar	bool "Real time free running counter"
159f18153f9SR Sricharan	depends on SOC_OMAP5 || SOC_DRA7XX
16034cceb74SJon Hunter	default y
161fa6d79d2SSantosh Shilimkar
1621dbae815STony Lindgrencomment "OMAP Core Type"
163f558b275STony Lindgren	depends on ARCH_OMAP2
1641dbae815STony Lindgren
16559b479e0STony Lindgrenconfig SOC_OMAP2420
1661dbae815STony Lindgren	bool "OMAP2420 support"
167f558b275STony Lindgren	depends on ARCH_OMAP2
168ffb63e34STony Lindgren	default y
16977900a2fSTimo Teras	select OMAP_DM_TIMER
170ecc46cfdSVaibhav Hiremath	select SOC_HAS_OMAP2_SDRC
1711dbae815STony Lindgren
17259b479e0STony Lindgrenconfig SOC_OMAP2430
17372d0f1c3SSyed Mohammed Khasim	bool "OMAP2430 support"
174f558b275STony Lindgren	depends on ARCH_OMAP2
175ffb63e34STony Lindgren	default y
176ecc46cfdSVaibhav Hiremath	select SOC_HAS_OMAP2_SDRC
17772d0f1c3SSyed Mohammed Khasim
17859b479e0STony Lindgrenconfig SOC_OMAP3430
179cc26b3b0SSyed Mohammed, Khasim	bool "OMAP3430 support"
180f558b275STony Lindgren	depends on ARCH_OMAP3
181ffb63e34STony Lindgren	default y
182ecc46cfdSVaibhav Hiremath	select SOC_HAS_OMAP2_SDRC
183cc26b3b0SSyed Mohammed, Khasim
18433959553SKevin Hilmanconfig SOC_TI81XX
185a920360fSHemant Pedanekar	bool "TI81XX support"
186f558b275STony Lindgren	depends on ARCH_OMAP3
1874bd7be22SHemant Pedanekar	default y
1884bd7be22SHemant Pedanekar
189ddaa912aSTony Lindgrenconfig OMAP_PACKAGE_CBC
190ddaa912aSTony Lindgren       bool
191ddaa912aSTony Lindgren
192ddaa912aSTony Lindgrenconfig OMAP_PACKAGE_CBB
193ddaa912aSTony Lindgren       bool
194ddaa912aSTony Lindgren
195ddaa912aSTony Lindgrenconfig OMAP_PACKAGE_CUS
196ddaa912aSTony Lindgren       bool
197ddaa912aSTony Lindgren
198662c8b55STony Lindgrenconfig OMAP_PACKAGE_CBP
199662c8b55STony Lindgren       bool
200662c8b55STony Lindgren
201f2acae69STony Lindgrencomment "OMAP Legacy Platform Data Board Type"
202f558b275STony Lindgren	depends on ARCH_OMAP2PLUS
2031dbae815STony Lindgren
2041dbae815STony Lindgrenconfig MACH_OMAP_GENERIC
205f2acae69STony Lindgren	bool
2061dbae815STony Lindgren
2071b52d5dfSKalle Valoconfig MACH_OMAP2_TUSB6010
2081b52d5dfSKalle Valo	bool
20959b479e0STony Lindgren	depends on ARCH_OMAP2 && SOC_OMAP2420
2101b52d5dfSKalle Valo	default y if MACH_NOKIA_N8X0
2111b52d5dfSKalle Valo
212549f95edSTony Lindgrenconfig MACH_OMAP3517EVM
213549f95edSTony Lindgren	bool "OMAP3517/ AM3517 EVM board"
214549f95edSTony Lindgren	depends on ARCH_OMAP3
215549f95edSTony Lindgren	default y
216549f95edSTony Lindgren
217da177247SGrazvydas Ignotasconfig MACH_OMAP3_PANDORA
218da177247SGrazvydas Ignotas	bool "OMAP3 Pandora"
219a8eb7ca0STony Lindgren	depends on ARCH_OMAP3
220ffb63e34STony Lindgren	default y
221ca5742bdSTony Lindgren	select OMAP_PACKAGE_CBB
2226fdc29e2SSyed Mohammed Khasim
223d2fbf345STony Lindgrenconfig MACH_NOKIA_N810
224d2fbf345STony Lindgren       bool
225d2fbf345STony Lindgren
226d2fbf345STony Lindgrenconfig MACH_NOKIA_N810_WIMAX
227d2fbf345STony Lindgren       bool
228d2fbf345STony Lindgren
22963138812SKalle Valoconfig MACH_NOKIA_N8X0
23063138812SKalle Valo	bool "Nokia N800/N810"
23159b479e0STony Lindgren	depends on SOC_OMAP2420
232ffb63e34STony Lindgren	default y
233d2fbf345STony Lindgren	select MACH_NOKIA_N810
234d2fbf345STony Lindgren	select MACH_NOKIA_N810_WIMAX
23563138812SKalle Valo
23618862cbeSPaul Walmsleyconfig OMAP3_SDRC_AC_TIMING
23718862cbeSPaul Walmsley	bool "Enable SDRC AC timing register changes"
238a8eb7ca0STony Lindgren	depends on ARCH_OMAP3
23918862cbeSPaul Walmsley	help
24018862cbeSPaul Walmsley	  If you know that none of your system initiators will attempt to
24118862cbeSPaul Walmsley	  access SDRAM during CORE DVFS, select Y here.  This should boost
24218862cbeSPaul Walmsley	  SDRAM performance at lower CORE OPPs.  There are relatively few
24318862cbeSPaul Walmsley	  users who will wish to say yes at this point - almost everyone will
24418862cbeSPaul Walmsley	  wish to say no.  Selecting yes without understanding what is
24518862cbeSPaul Walmsley	  going on could result in system crashes;
24618862cbeSPaul Walmsley
2474a54db61STony Lindgrenendmenu
2484a54db61STony Lindgren
2494a54db61STony Lindgrenendif
25021278aeaSRob Herring
251c0053bd5SNishanth Menonconfig OMAP5_ERRATA_801819
252c0053bd5SNishanth Menon	bool "Errata 801819: An eviction from L1 data cache might stall indefinitely"
253c0053bd5SNishanth Menon	depends on SOC_OMAP5 || SOC_DRA7XX
254c0053bd5SNishanth Menon	help
255c0053bd5SNishanth Menon	  A livelock can occur in the L2 cache arbitration that might prevent
256c0053bd5SNishanth Menon	  a snoop from completing. Under certain conditions this can cause the
257c0053bd5SNishanth Menon	  system to deadlock.
258c0053bd5SNishanth Menon
25921278aeaSRob Herringendmenu
260