xref: /linux/arch/arm/mach-omap2/Kconfig (revision 2a39af3870e99304df81d2a4058408d68efb02e0)
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
5133ad7abSTony Lindgrenconfig OMAP_HWMOD
6133ad7abSTony Lindgren	bool
7133ad7abSTony 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
13133ad7abSTony 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
20*2a39af38STony Lindgren	select ARM_CPU_SUSPEND
21133ad7abSTony Lindgren	select OMAP_HWMOD
2259d92875SArnd Bergmann	select OMAP_INTERCONNECT
23*2a39af38STony Lindgren	select PM_OPP
2459d92875SArnd Bergmann	select SOC_HAS_OMAP2_SDRC
252e4094bdSNishanth Menon	select ARM_ERRATA_430973
2659d92875SArnd Bergmann
2759d92875SArnd Bergmannconfig ARCH_OMAP4
2859d92875SArnd Bergmann	bool "TI OMAP4"
2959d92875SArnd Bergmann	depends on ARCH_MULTI_V7
3059d92875SArnd Bergmann	select ARCH_OMAP2PLUS
3159d92875SArnd Bergmann	select ARCH_NEEDS_CPU_IDLE_COUPLED if SMP
32*2a39af38STony Lindgren	select ARM_CPU_SUSPEND
3359d92875SArnd Bergmann	select ARM_ERRATA_720789
3459d92875SArnd Bergmann	select ARM_GIC
3559d92875SArnd Bergmann	select HAVE_ARM_SCU if SMP
3647dcd356SOlof Johansson	select HAVE_ARM_TWD if SMP
37133ad7abSTony Lindgren	select OMAP_HWMOD
3859d92875SArnd Bergmann	select OMAP_INTERCONNECT
393fa60975SRussell King	select OMAP_INTERCONNECT_BARRIER
40a641f3a6SRussell King	select PL310_ERRATA_588369 if CACHE_L2X0
41a641f3a6SRussell King	select PL310_ERRATA_727915 if CACHE_L2X0
42*2a39af38STony Lindgren	select PM_OPP
43464ed18eSRafael J. Wysocki	select PM if CPU_IDLE
4459d92875SArnd Bergmann	select ARM_ERRATA_754322
4559d92875SArnd Bergmann	select ARM_ERRATA_775420
468d29bdbaSDave Gerlach	select OMAP_INTERCONNECT
4759d92875SArnd Bergmann
4859d92875SArnd Bergmannconfig SOC_OMAP5
4959d92875SArnd Bergmann	bool "TI OMAP5"
5059d92875SArnd Bergmann	depends on ARCH_MULTI_V7
5159d92875SArnd Bergmann	select ARCH_OMAP2PLUS
52*2a39af38STony Lindgren	select ARM_CPU_SUSPEND
5359d92875SArnd Bergmann	select ARM_GIC
5459d92875SArnd Bergmann	select HAVE_ARM_SCU if SMP
5559d92875SArnd Bergmann	select HAVE_ARM_ARCH_TIMER
56f82a3133SOlof Johansson	select ARM_ERRATA_798181 if SMP
57133ad7abSTony Lindgren	select OMAP_HWMOD
58d8f8004eSNishanth Menon	select OMAP_INTERCONNECT
593fa60975SRussell King	select OMAP_INTERCONNECT_BARRIER
60*2a39af38STony Lindgren	select PM_OPP
616a3b764bSTony Lindgren	select ZONE_DMA if ARM_LPAE
6259d92875SArnd Bergmann
6359d92875SArnd Bergmannconfig SOC_AM33XX
641085189fSEzequiel Garcia	bool "TI AM33XX"
6559d92875SArnd Bergmann	depends on ARCH_MULTI_V7
6659d92875SArnd Bergmann	select ARCH_OMAP2PLUS
67*2a39af38STony Lindgren	select ARM_CPU_SUSPEND
6859d92875SArnd Bergmann
6959d92875SArnd Bergmannconfig SOC_AM43XX
7059d92875SArnd Bergmann	bool "TI AM43x"
7159d92875SArnd Bergmann	depends on ARCH_MULTI_V7
7259d92875SArnd Bergmann	select ARCH_OMAP2PLUS
7359d92875SArnd Bergmann	select ARM_GIC
7459d92875SArnd Bergmann	select MACH_OMAP_GENERIC
75f87d089dSDave Gerlach	select HAVE_ARM_SCU
760b3e6fcaSGrygorii Strashko	select GENERIC_CLOCKEVENTS_BROADCAST
7754011103SFelipe Balbi	select HAVE_ARM_TWD
7865db875dSDave Gerlach	select ARM_ERRATA_754322
7965db875dSDave Gerlach	select ARM_ERRATA_775420
8072bb40b8SDave Gerlach	select OMAP_INTERCONNECT
81*2a39af38STony Lindgren	select ARM_CPU_SUSPEND
8259d92875SArnd Bergmann
8368b9f608STero Kristoconfig SOC_DRA7XX
8468b9f608STero Kristo	bool "TI DRA7XX"
8568b9f608STero Kristo	depends on ARCH_MULTI_V7
8668b9f608STero Kristo	select ARCH_OMAP2PLUS
87*2a39af38STony Lindgren	select ARM_CPU_SUSPEND
8868b9f608STero Kristo	select ARM_GIC
89d2e104c6SNishanth Menon	select HAVE_ARM_SCU if SMP
9068b9f608STero Kristo	select HAVE_ARM_ARCH_TIMER
915c61e619SSricharan R	select IRQ_CROSSBAR
92209431efSPraneeth Bajjuri	select ARM_ERRATA_798181 if SMP
93133ad7abSTony Lindgren	select OMAP_HWMOD
94d2e104c6SNishanth Menon	select OMAP_INTERCONNECT
953fa60975SRussell King	select OMAP_INTERCONNECT_BARRIER
96*2a39af38STony Lindgren	select PM_OPP
976a3b764bSTony Lindgren	select ZONE_DMA if ARM_LPAE
98c2818a19SKishon Vijay Abraham I	select PINCTRL_TI_IODELAY if OF && PINCTRL
9968b9f608STero Kristo
100a0694861STony Lindgrenconfig ARCH_OMAP2PLUS
10159d92875SArnd Bergmann	bool
10259d92875SArnd Bergmann	select ARCH_HAS_BANDGAP
103fe013e21SArnd Bergmann	select ARCH_HAS_RESET_CONTROLLER
104a0694861STony Lindgren	select ARCH_OMAP
105a0694861STony Lindgren	select CLKSRC_MMIO
106a0694861STony Lindgren	select GENERIC_IRQ_CHIP
1075c34a4e8SLinus Walleij	select GPIOLIB
108f2acae69STony Lindgren	select MACH_OMAP_GENERIC
10918640193STony Lindgren	select MEMORY
110da4d8145STony Lindgren	select MFD_SYSCON
111a0694861STony Lindgren	select OMAP_DM_TIMER
11218640193STony Lindgren	select OMAP_GPMC
113a0694861STony Lindgren	select PINCTRL
114*2a39af38STony Lindgren	select PM
115*2a39af38STony Lindgren	select PM_GENERIC_DOMAINS
116*2a39af38STony Lindgren	select PM_GENERIC_DOMAINS_OF
117fe013e21SArnd Bergmann	select RESET_CONTROLLER
118*2a39af38STony Lindgren	select SIMPLE_PM_BUS
1196770b211SRuslan Bilovol	select SOC_BUS
1200eecc636STony Lindgren	select TI_SYSC
1218598066cSFelipe Balbi	select OMAP_IRQCHIP
122429ac200SFelipe Balbi	select CLKSRC_TI_32K
123a0694861STony Lindgren	help
124a0694861STony Lindgren	  Systems based on OMAP2, OMAP3, OMAP4 or OMAP5
125a0694861STony Lindgren
1263fa60975SRussell Kingconfig OMAP_INTERCONNECT_BARRIER
1273fa60975SRussell King	bool
1283fa60975SRussell King	select ARM_HEAVY_MB
1293fa60975SRussell King
130a0694861STony Lindgren
1314a54db61STony Lindgrenif ARCH_OMAP2PLUS
1324a54db61STony Lindgren
1334a54db61STony Lindgrenmenu "TI OMAP2/3/4 Specific Features"
1344a54db61STony Lindgren
1358d9166b5STony Lindgrenconfig ARCH_OMAP2PLUS_TYPICAL
1368d9166b5STony Lindgren	bool "Typical OMAP configuration"
1378d9166b5STony Lindgren	default y
1388d9166b5STony Lindgren	select AEABI
139b1b3f49cSRussell King	select HIGHMEM
1408d9166b5STony Lindgren	select I2C
1418d9166b5STony Lindgren	select I2C_OMAP
1428d9166b5STony Lindgren	select MENELAUS if ARCH_OMAP2
1438dd21c93SR Sricharan	select NEON if CPU_V7
144b1b3f49cSRussell King	select REGULATOR
145fc827928SGrygorii Strashko	select REGULATOR_FIXED_VOLTAGE
1468d9166b5STony Lindgren	select TWL4030_CORE if ARCH_OMAP3 || ARCH_OMAP4
1478d9166b5STony Lindgren	select TWL4030_POWER if ARCH_OMAP3 || ARCH_OMAP4
148b1b3f49cSRussell King	select VFP
1498d9166b5STony Lindgren	help
1508d9166b5STony Lindgren	  Compile a kernel suitable for booting most boards
1518d9166b5STony Lindgren
152ecc46cfdSVaibhav Hiremathconfig SOC_HAS_OMAP2_SDRC
153ecc46cfdSVaibhav Hiremath	bool "OMAP2 SDRAM Controller support"
154ecc46cfdSVaibhav Hiremath
155fa6d79d2SSantosh Shilimkarconfig SOC_HAS_REALTIME_COUNTER
156fa6d79d2SSantosh Shilimkar	bool "Real time free running counter"
157f18153f9SR Sricharan	depends on SOC_OMAP5 || SOC_DRA7XX
15834cceb74SJon Hunter	default y
159fa6d79d2SSantosh Shilimkar
1601dbae815STony Lindgrencomment "OMAP Core Type"
161f558b275STony Lindgren	depends on ARCH_OMAP2
1621dbae815STony Lindgren
16359b479e0STony Lindgrenconfig SOC_OMAP2420
1641dbae815STony Lindgren	bool "OMAP2420 support"
165f558b275STony Lindgren	depends on ARCH_OMAP2
166ffb63e34STony Lindgren	default y
16777900a2fSTimo Teras	select OMAP_DM_TIMER
168ecc46cfdSVaibhav Hiremath	select SOC_HAS_OMAP2_SDRC
1691dbae815STony Lindgren
17059b479e0STony Lindgrenconfig SOC_OMAP2430
17172d0f1c3SSyed Mohammed Khasim	bool "OMAP2430 support"
172f558b275STony Lindgren	depends on ARCH_OMAP2
173ffb63e34STony Lindgren	default y
174ecc46cfdSVaibhav Hiremath	select SOC_HAS_OMAP2_SDRC
17572d0f1c3SSyed Mohammed Khasim
17659b479e0STony Lindgrenconfig SOC_OMAP3430
177cc26b3b0SSyed Mohammed, Khasim	bool "OMAP3430 support"
178f558b275STony Lindgren	depends on ARCH_OMAP3
179ffb63e34STony Lindgren	default y
180ecc46cfdSVaibhav Hiremath	select SOC_HAS_OMAP2_SDRC
181cc26b3b0SSyed Mohammed, Khasim
18233959553SKevin Hilmanconfig SOC_TI81XX
183a920360fSHemant Pedanekar	bool "TI81XX support"
184f558b275STony Lindgren	depends on ARCH_OMAP3
1854bd7be22SHemant Pedanekar	default y
1864bd7be22SHemant Pedanekar
187ddaa912aSTony Lindgrenconfig OMAP_PACKAGE_CBC
188ddaa912aSTony Lindgren       bool
189ddaa912aSTony Lindgren
190ddaa912aSTony Lindgrenconfig OMAP_PACKAGE_CBB
191ddaa912aSTony Lindgren       bool
192ddaa912aSTony Lindgren
193ddaa912aSTony Lindgrenconfig OMAP_PACKAGE_CUS
194ddaa912aSTony Lindgren       bool
195ddaa912aSTony Lindgren
196662c8b55STony Lindgrenconfig OMAP_PACKAGE_CBP
197662c8b55STony Lindgren       bool
198662c8b55STony Lindgren
199f2acae69STony Lindgrencomment "OMAP Legacy Platform Data Board Type"
200f558b275STony Lindgren	depends on ARCH_OMAP2PLUS
2011dbae815STony Lindgren
2021dbae815STony Lindgrenconfig MACH_OMAP_GENERIC
203f2acae69STony Lindgren	bool
2041dbae815STony Lindgren
2051b52d5dfSKalle Valoconfig MACH_OMAP2_TUSB6010
2061b52d5dfSKalle Valo	bool
20759b479e0STony Lindgren	depends on ARCH_OMAP2 && SOC_OMAP2420
2081b52d5dfSKalle Valo	default y if MACH_NOKIA_N8X0
2091b52d5dfSKalle Valo
210549f95edSTony Lindgrenconfig MACH_OMAP3517EVM
211549f95edSTony Lindgren	bool "OMAP3517/ AM3517 EVM board"
212549f95edSTony Lindgren	depends on ARCH_OMAP3
213549f95edSTony Lindgren	default y
214549f95edSTony Lindgren
215da177247SGrazvydas Ignotasconfig MACH_OMAP3_PANDORA
216da177247SGrazvydas Ignotas	bool "OMAP3 Pandora"
217a8eb7ca0STony Lindgren	depends on ARCH_OMAP3
218ffb63e34STony Lindgren	default y
219ca5742bdSTony Lindgren	select OMAP_PACKAGE_CBB
2206fdc29e2SSyed Mohammed Khasim
221d2fbf345STony Lindgrenconfig MACH_NOKIA_N810
222d2fbf345STony Lindgren       bool
223d2fbf345STony Lindgren
224d2fbf345STony Lindgrenconfig MACH_NOKIA_N810_WIMAX
225d2fbf345STony Lindgren       bool
226d2fbf345STony Lindgren
22763138812SKalle Valoconfig MACH_NOKIA_N8X0
22863138812SKalle Valo	bool "Nokia N800/N810"
22959b479e0STony Lindgren	depends on SOC_OMAP2420
230ffb63e34STony Lindgren	default y
231d2fbf345STony Lindgren	select MACH_NOKIA_N810
232d2fbf345STony Lindgren	select MACH_NOKIA_N810_WIMAX
23363138812SKalle Valo
23418862cbeSPaul Walmsleyconfig OMAP3_SDRC_AC_TIMING
23518862cbeSPaul Walmsley	bool "Enable SDRC AC timing register changes"
236a8eb7ca0STony Lindgren	depends on ARCH_OMAP3
23718862cbeSPaul Walmsley	help
23818862cbeSPaul Walmsley	  If you know that none of your system initiators will attempt to
23918862cbeSPaul Walmsley	  access SDRAM during CORE DVFS, select Y here.  This should boost
24018862cbeSPaul Walmsley	  SDRAM performance at lower CORE OPPs.  There are relatively few
24118862cbeSPaul Walmsley	  users who will wish to say yes at this point - almost everyone will
24218862cbeSPaul Walmsley	  wish to say no.  Selecting yes without understanding what is
24318862cbeSPaul Walmsley	  going on could result in system crashes;
24418862cbeSPaul Walmsley
2454a54db61STony Lindgrenendmenu
2464a54db61STony Lindgren
2474a54db61STony Lindgrenendif
24821278aeaSRob Herring
249c0053bd5SNishanth Menonconfig OMAP5_ERRATA_801819
250c0053bd5SNishanth Menon	bool "Errata 801819: An eviction from L1 data cache might stall indefinitely"
251c0053bd5SNishanth Menon	depends on SOC_OMAP5 || SOC_DRA7XX
252c0053bd5SNishanth Menon	help
253c0053bd5SNishanth Menon	  A livelock can occur in the L2 cache arbitration that might prevent
254c0053bd5SNishanth Menon	  a snoop from completing. Under certain conditions this can cause the
255c0053bd5SNishanth Menon	  system to deadlock.
256c0053bd5SNishanth Menon
25721278aeaSRob Herringendmenu
258