xref: /linux/arch/arm/mach-omap2/Kconfig (revision ec8f24b7faaf3d4799a7c3f4c1b87f6b02778ad1)
1*ec8f24b7SThomas 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
559d92875SArnd Bergmannconfig ARCH_OMAP2
659d92875SArnd Bergmann	bool "TI OMAP2"
759d92875SArnd Bergmann	depends on ARCH_MULTI_V6
859d92875SArnd Bergmann	select ARCH_OMAP2PLUS
959d92875SArnd Bergmann	select CPU_V6
1059d92875SArnd Bergmann	select SOC_HAS_OMAP2_SDRC
1159d92875SArnd Bergmann
1259d92875SArnd Bergmannconfig ARCH_OMAP3
1359d92875SArnd Bergmann	bool "TI OMAP3"
1459d92875SArnd Bergmann	depends on ARCH_MULTI_V7
1559d92875SArnd Bergmann	select ARCH_OMAP2PLUS
1659d92875SArnd Bergmann	select ARM_CPU_SUSPEND if PM
1759d92875SArnd Bergmann	select OMAP_INTERCONNECT
1859d92875SArnd Bergmann	select PM_OPP if PM
19464ed18eSRafael J. Wysocki	select PM if CPU_IDLE
2059d92875SArnd Bergmann	select SOC_HAS_OMAP2_SDRC
212e4094bdSNishanth Menon	select ARM_ERRATA_430973
2259d92875SArnd Bergmann
2359d92875SArnd Bergmannconfig ARCH_OMAP4
2459d92875SArnd Bergmann	bool "TI OMAP4"
2559d92875SArnd Bergmann	depends on ARCH_MULTI_V7
2659d92875SArnd Bergmann	select ARCH_OMAP2PLUS
2759d92875SArnd Bergmann	select ARCH_NEEDS_CPU_IDLE_COUPLED if SMP
2859d92875SArnd Bergmann	select ARM_CPU_SUSPEND if PM
2959d92875SArnd Bergmann	select ARM_ERRATA_720789
3059d92875SArnd Bergmann	select ARM_GIC
3159d92875SArnd Bergmann	select HAVE_ARM_SCU if SMP
3247dcd356SOlof Johansson	select HAVE_ARM_TWD if SMP
3359d92875SArnd Bergmann	select OMAP_INTERCONNECT
343fa60975SRussell King	select OMAP_INTERCONNECT_BARRIER
35a641f3a6SRussell King	select PL310_ERRATA_588369 if CACHE_L2X0
36a641f3a6SRussell King	select PL310_ERRATA_727915 if CACHE_L2X0
3759d92875SArnd Bergmann	select PM_OPP if PM
38464ed18eSRafael J. Wysocki	select PM if CPU_IDLE
3959d92875SArnd Bergmann	select ARM_ERRATA_754322
4059d92875SArnd Bergmann	select ARM_ERRATA_775420
418d29bdbaSDave Gerlach	select OMAP_INTERCONNECT
4259d92875SArnd Bergmann
4359d92875SArnd Bergmannconfig SOC_OMAP5
4459d92875SArnd Bergmann	bool "TI OMAP5"
4559d92875SArnd Bergmann	depends on ARCH_MULTI_V7
4659d92875SArnd Bergmann	select ARCH_OMAP2PLUS
4759d92875SArnd Bergmann	select ARM_CPU_SUSPEND if PM
4859d92875SArnd Bergmann	select ARM_GIC
4959d92875SArnd Bergmann	select HAVE_ARM_SCU if SMP
5059d92875SArnd Bergmann	select HAVE_ARM_ARCH_TIMER
51f82a3133SOlof Johansson	select ARM_ERRATA_798181 if SMP
52d8f8004eSNishanth Menon	select OMAP_INTERCONNECT
533fa60975SRussell King	select OMAP_INTERCONNECT_BARRIER
54d8f8004eSNishanth Menon	select PM_OPP if PM
556a3b764bSTony Lindgren	select ZONE_DMA if ARM_LPAE
5659d92875SArnd Bergmann
5759d92875SArnd Bergmannconfig SOC_AM33XX
581085189fSEzequiel Garcia	bool "TI AM33XX"
5959d92875SArnd Bergmann	depends on ARCH_MULTI_V7
6059d92875SArnd Bergmann	select ARCH_OMAP2PLUS
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
6759d92875SArnd Bergmann	select ARM_GIC
6859d92875SArnd Bergmann	select MACH_OMAP_GENERIC
69d941f86fSSekhar Nori	select MIGHT_HAVE_CACHE_L2X0
70f87d089dSDave Gerlach	select HAVE_ARM_SCU
710b3e6fcaSGrygorii Strashko	select GENERIC_CLOCKEVENTS_BROADCAST
7254011103SFelipe Balbi	select HAVE_ARM_TWD
7365db875dSDave Gerlach	select ARM_ERRATA_754322
7465db875dSDave Gerlach	select ARM_ERRATA_775420
7572bb40b8SDave Gerlach	select OMAP_INTERCONNECT
7641d9d44dSDave Gerlach	select ARM_CPU_SUSPEND if PM
7759d92875SArnd Bergmann
7868b9f608STero Kristoconfig SOC_DRA7XX
7968b9f608STero Kristo	bool "TI DRA7XX"
8068b9f608STero Kristo	depends on ARCH_MULTI_V7
8168b9f608STero Kristo	select ARCH_OMAP2PLUS
8268b9f608STero Kristo	select ARM_CPU_SUSPEND if PM
8368b9f608STero Kristo	select ARM_GIC
84d2e104c6SNishanth Menon	select HAVE_ARM_SCU if SMP
8568b9f608STero Kristo	select HAVE_ARM_ARCH_TIMER
865c61e619SSricharan R	select IRQ_CROSSBAR
87209431efSPraneeth Bajjuri	select ARM_ERRATA_798181 if SMP
88d2e104c6SNishanth Menon	select OMAP_INTERCONNECT
893fa60975SRussell King	select OMAP_INTERCONNECT_BARRIER
90d2e104c6SNishanth Menon	select PM_OPP if PM
916a3b764bSTony Lindgren	select ZONE_DMA if ARM_LPAE
92c2818a19SKishon Vijay Abraham I	select PINCTRL_TI_IODELAY if OF && PINCTRL
9368b9f608STero Kristo
94a0694861STony Lindgrenconfig ARCH_OMAP2PLUS
9559d92875SArnd Bergmann	bool
9659d92875SArnd Bergmann	select ARCH_HAS_BANDGAP
97a0694861STony Lindgren	select ARCH_HAS_HOLES_MEMORYMODEL
98a0694861STony Lindgren	select ARCH_OMAP
99a0694861STony Lindgren	select CLKSRC_MMIO
100a0694861STony Lindgren	select GENERIC_IRQ_CHIP
1015c34a4e8SLinus Walleij	select GPIOLIB
102f2acae69STony Lindgren	select MACH_OMAP_GENERIC
10318640193STony Lindgren	select MEMORY
104da4d8145STony Lindgren	select MFD_SYSCON
105a0694861STony Lindgren	select OMAP_DM_TIMER
10618640193STony Lindgren	select OMAP_GPMC
107a0694861STony Lindgren	select PINCTRL
1086770b211SRuslan Bilovol	select SOC_BUS
1090eecc636STony Lindgren	select TI_SYSC
1108598066cSFelipe Balbi	select OMAP_IRQCHIP
111429ac200SFelipe Balbi	select CLKSRC_TI_32K
112a0694861STony Lindgren	help
113a0694861STony Lindgren	  Systems based on OMAP2, OMAP3, OMAP4 or OMAP5
114a0694861STony Lindgren
1153fa60975SRussell Kingconfig OMAP_INTERCONNECT_BARRIER
1163fa60975SRussell King	bool
1173fa60975SRussell King	select ARM_HEAVY_MB
1183fa60975SRussell King
119a0694861STony Lindgren
1204a54db61STony Lindgrenif ARCH_OMAP2PLUS
1214a54db61STony Lindgren
1224a54db61STony Lindgrenmenu "TI OMAP2/3/4 Specific Features"
1234a54db61STony Lindgren
1248d9166b5STony Lindgrenconfig ARCH_OMAP2PLUS_TYPICAL
1258d9166b5STony Lindgren	bool "Typical OMAP configuration"
1268d9166b5STony Lindgren	default y
1278d9166b5STony Lindgren	select AEABI
128b1b3f49cSRussell King	select HIGHMEM
1298d9166b5STony Lindgren	select I2C
1308d9166b5STony Lindgren	select I2C_OMAP
1318d9166b5STony Lindgren	select MENELAUS if ARCH_OMAP2
1328dd21c93SR Sricharan	select NEON if CPU_V7
133464ed18eSRafael J. Wysocki	select PM
134b1b3f49cSRussell King	select REGULATOR
135fc827928SGrygorii Strashko	select REGULATOR_FIXED_VOLTAGE
1368d9166b5STony Lindgren	select TWL4030_CORE if ARCH_OMAP3 || ARCH_OMAP4
1378d9166b5STony Lindgren	select TWL4030_POWER if ARCH_OMAP3 || ARCH_OMAP4
138b1b3f49cSRussell King	select VFP
1398d9166b5STony Lindgren	help
1408d9166b5STony Lindgren	  Compile a kernel suitable for booting most boards
1418d9166b5STony Lindgren
142ecc46cfdSVaibhav Hiremathconfig SOC_HAS_OMAP2_SDRC
143ecc46cfdSVaibhav Hiremath	bool "OMAP2 SDRAM Controller support"
144ecc46cfdSVaibhav Hiremath
145fa6d79d2SSantosh Shilimkarconfig SOC_HAS_REALTIME_COUNTER
146fa6d79d2SSantosh Shilimkar	bool "Real time free running counter"
147f18153f9SR Sricharan	depends on SOC_OMAP5 || SOC_DRA7XX
14834cceb74SJon Hunter	default y
149fa6d79d2SSantosh Shilimkar
1501dbae815STony Lindgrencomment "OMAP Core Type"
151f558b275STony Lindgren	depends on ARCH_OMAP2
1521dbae815STony Lindgren
15359b479e0STony Lindgrenconfig SOC_OMAP2420
1541dbae815STony Lindgren	bool "OMAP2420 support"
155f558b275STony Lindgren	depends on ARCH_OMAP2
156ffb63e34STony Lindgren	default y
15777900a2fSTimo Teras	select OMAP_DM_TIMER
158ecc46cfdSVaibhav Hiremath	select SOC_HAS_OMAP2_SDRC
1591dbae815STony Lindgren
16059b479e0STony Lindgrenconfig SOC_OMAP2430
16172d0f1c3SSyed Mohammed Khasim	bool "OMAP2430 support"
162f558b275STony Lindgren	depends on ARCH_OMAP2
163ffb63e34STony Lindgren	default y
164ecc46cfdSVaibhav Hiremath	select SOC_HAS_OMAP2_SDRC
16572d0f1c3SSyed Mohammed Khasim
16659b479e0STony Lindgrenconfig SOC_OMAP3430
167cc26b3b0SSyed Mohammed, Khasim	bool "OMAP3430 support"
168f558b275STony Lindgren	depends on ARCH_OMAP3
169ffb63e34STony Lindgren	default y
170ecc46cfdSVaibhav Hiremath	select SOC_HAS_OMAP2_SDRC
171cc26b3b0SSyed Mohammed, Khasim
17233959553SKevin Hilmanconfig SOC_TI81XX
173a920360fSHemant Pedanekar	bool "TI81XX support"
174f558b275STony Lindgren	depends on ARCH_OMAP3
1754bd7be22SHemant Pedanekar	default y
1764bd7be22SHemant Pedanekar
177ddaa912aSTony Lindgrenconfig OMAP_PACKAGE_CBC
178ddaa912aSTony Lindgren       bool
179ddaa912aSTony Lindgren
180ddaa912aSTony Lindgrenconfig OMAP_PACKAGE_CBB
181ddaa912aSTony Lindgren       bool
182ddaa912aSTony Lindgren
183ddaa912aSTony Lindgrenconfig OMAP_PACKAGE_CUS
184ddaa912aSTony Lindgren       bool
185ddaa912aSTony Lindgren
186662c8b55STony Lindgrenconfig OMAP_PACKAGE_CBP
187662c8b55STony Lindgren       bool
188662c8b55STony Lindgren
189f2acae69STony Lindgrencomment "OMAP Legacy Platform Data Board Type"
190f558b275STony Lindgren	depends on ARCH_OMAP2PLUS
1911dbae815STony Lindgren
1921dbae815STony Lindgrenconfig MACH_OMAP_GENERIC
193f2acae69STony Lindgren	bool
1941dbae815STony Lindgren
1951b52d5dfSKalle Valoconfig MACH_OMAP2_TUSB6010
1961b52d5dfSKalle Valo	bool
19759b479e0STony Lindgren	depends on ARCH_OMAP2 && SOC_OMAP2420
1981b52d5dfSKalle Valo	default y if MACH_NOKIA_N8X0
1991b52d5dfSKalle Valo
200549f95edSTony Lindgrenconfig MACH_OMAP3517EVM
201549f95edSTony Lindgren	bool "OMAP3517/ AM3517 EVM board"
202549f95edSTony Lindgren	depends on ARCH_OMAP3
203549f95edSTony Lindgren	default y
204549f95edSTony Lindgren
205da177247SGrazvydas Ignotasconfig MACH_OMAP3_PANDORA
206da177247SGrazvydas Ignotas	bool "OMAP3 Pandora"
207a8eb7ca0STony Lindgren	depends on ARCH_OMAP3
208ffb63e34STony Lindgren	default y
209ca5742bdSTony Lindgren	select OMAP_PACKAGE_CBB
2106fdc29e2SSyed Mohammed Khasim
211d2fbf345STony Lindgrenconfig MACH_NOKIA_N810
212d2fbf345STony Lindgren       bool
213d2fbf345STony Lindgren
214d2fbf345STony Lindgrenconfig MACH_NOKIA_N810_WIMAX
215d2fbf345STony Lindgren       bool
216d2fbf345STony Lindgren
21763138812SKalle Valoconfig MACH_NOKIA_N8X0
21863138812SKalle Valo	bool "Nokia N800/N810"
21959b479e0STony Lindgren	depends on SOC_OMAP2420
220ffb63e34STony Lindgren	default y
221d2fbf345STony Lindgren	select MACH_NOKIA_N810
222d2fbf345STony Lindgren	select MACH_NOKIA_N810_WIMAX
22363138812SKalle Valo
22418862cbeSPaul Walmsleyconfig OMAP3_SDRC_AC_TIMING
22518862cbeSPaul Walmsley	bool "Enable SDRC AC timing register changes"
226a8eb7ca0STony Lindgren	depends on ARCH_OMAP3
22718862cbeSPaul Walmsley	help
22818862cbeSPaul Walmsley	  If you know that none of your system initiators will attempt to
22918862cbeSPaul Walmsley	  access SDRAM during CORE DVFS, select Y here.  This should boost
23018862cbeSPaul Walmsley	  SDRAM performance at lower CORE OPPs.  There are relatively few
23118862cbeSPaul Walmsley	  users who will wish to say yes at this point - almost everyone will
23218862cbeSPaul Walmsley	  wish to say no.  Selecting yes without understanding what is
23318862cbeSPaul Walmsley	  going on could result in system crashes;
23418862cbeSPaul Walmsley
2354a54db61STony Lindgrenendmenu
2364a54db61STony Lindgren
2374a54db61STony Lindgrenendif
23821278aeaSRob Herring
239c0053bd5SNishanth Menonconfig OMAP5_ERRATA_801819
240c0053bd5SNishanth Menon	bool "Errata 801819: An eviction from L1 data cache might stall indefinitely"
241c0053bd5SNishanth Menon	depends on SOC_OMAP5 || SOC_DRA7XX
242c0053bd5SNishanth Menon	help
243c0053bd5SNishanth Menon	  A livelock can occur in the L2 cache arbitration that might prevent
244c0053bd5SNishanth Menon	  a snoop from completing. Under certain conditions this can cause the
245c0053bd5SNishanth Menon	  system to deadlock.
246c0053bd5SNishanth Menon
24721278aeaSRob Herringendmenu
248