xref: /linux/arch/arm/mach-omap2/Kconfig (revision 133ad7ab7005dc951fb66d3de9e29a8259fe9744)
1# SPDX-License-Identifier: GPL-2.0-only
2menu "TI OMAP/AM/DM/DRA Family"
3	depends on ARCH_MULTI_V6 || ARCH_MULTI_V7
4
5config OMAP_HWMOD
6	bool
7
8config ARCH_OMAP2
9	bool "TI OMAP2"
10	depends on ARCH_MULTI_V6
11	select ARCH_OMAP2PLUS
12	select CPU_V6
13	select OMAP_HWMOD
14	select SOC_HAS_OMAP2_SDRC
15
16config ARCH_OMAP3
17	bool "TI OMAP3"
18	depends on ARCH_MULTI_V7
19	select ARCH_OMAP2PLUS
20	select ARM_CPU_SUSPEND if PM
21	select OMAP_HWMOD
22	select OMAP_INTERCONNECT
23	select PM_OPP if PM
24	select PM if CPU_IDLE
25	select SOC_HAS_OMAP2_SDRC
26	select ARM_ERRATA_430973
27
28config ARCH_OMAP4
29	bool "TI OMAP4"
30	depends on ARCH_MULTI_V7
31	select ARCH_OMAP2PLUS
32	select ARCH_NEEDS_CPU_IDLE_COUPLED if SMP
33	select ARM_CPU_SUSPEND if PM
34	select ARM_ERRATA_720789
35	select ARM_GIC
36	select HAVE_ARM_SCU if SMP
37	select HAVE_ARM_TWD if SMP
38	select OMAP_HWMOD
39	select OMAP_INTERCONNECT
40	select OMAP_INTERCONNECT_BARRIER
41	select PL310_ERRATA_588369 if CACHE_L2X0
42	select PL310_ERRATA_727915 if CACHE_L2X0
43	select PM_OPP if PM
44	select PM if CPU_IDLE
45	select ARM_ERRATA_754322
46	select ARM_ERRATA_775420
47	select OMAP_INTERCONNECT
48
49config SOC_OMAP5
50	bool "TI OMAP5"
51	depends on ARCH_MULTI_V7
52	select ARCH_OMAP2PLUS
53	select ARM_CPU_SUSPEND if PM
54	select ARM_GIC
55	select HAVE_ARM_SCU if SMP
56	select HAVE_ARM_ARCH_TIMER
57	select ARM_ERRATA_798181 if SMP
58	select OMAP_HWMOD
59	select OMAP_INTERCONNECT
60	select OMAP_INTERCONNECT_BARRIER
61	select PM_OPP if PM
62	select ZONE_DMA if ARM_LPAE
63
64config SOC_AM33XX
65	bool "TI AM33XX"
66	depends on ARCH_MULTI_V7
67	select ARCH_OMAP2PLUS
68	select ARM_CPU_SUSPEND if PM
69
70config SOC_AM43XX
71	bool "TI AM43x"
72	depends on ARCH_MULTI_V7
73	select ARCH_OMAP2PLUS
74	select ARM_GIC
75	select MACH_OMAP_GENERIC
76	select HAVE_ARM_SCU
77	select GENERIC_CLOCKEVENTS_BROADCAST
78	select HAVE_ARM_TWD
79	select ARM_ERRATA_754322
80	select ARM_ERRATA_775420
81	select OMAP_HWMOD
82	select OMAP_INTERCONNECT
83	select ARM_CPU_SUSPEND if PM
84
85config SOC_DRA7XX
86	bool "TI DRA7XX"
87	depends on ARCH_MULTI_V7
88	select ARCH_OMAP2PLUS
89	select ARM_CPU_SUSPEND if PM
90	select ARM_GIC
91	select HAVE_ARM_SCU if SMP
92	select HAVE_ARM_ARCH_TIMER
93	select IRQ_CROSSBAR
94	select ARM_ERRATA_798181 if SMP
95	select OMAP_HWMOD
96	select OMAP_INTERCONNECT
97	select OMAP_INTERCONNECT_BARRIER
98	select PM_OPP if PM
99	select ZONE_DMA if ARM_LPAE
100	select PINCTRL_TI_IODELAY if OF && PINCTRL
101
102config ARCH_OMAP2PLUS
103	bool
104	select ARCH_HAS_BANDGAP
105	select ARCH_HAS_HOLES_MEMORYMODEL
106	select ARCH_HAS_RESET_CONTROLLER
107	select ARCH_OMAP
108	select CLKSRC_MMIO
109	select GENERIC_IRQ_CHIP
110	select GPIOLIB
111	select MACH_OMAP_GENERIC
112	select MEMORY
113	select MFD_SYSCON
114	select OMAP_DM_TIMER
115	select OMAP_GPMC
116	select PINCTRL
117	select PM_GENERIC_DOMAINS if PM
118	select PM_GENERIC_DOMAINS_OF if PM
119	select RESET_CONTROLLER
120	select SOC_BUS
121	select TI_SYSC
122	select OMAP_IRQCHIP
123	select CLKSRC_TI_32K
124	help
125	  Systems based on OMAP2, OMAP3, OMAP4 or OMAP5
126
127config OMAP_INTERCONNECT_BARRIER
128	bool
129	select ARM_HEAVY_MB
130
131
132if ARCH_OMAP2PLUS
133
134menu "TI OMAP2/3/4 Specific Features"
135
136config ARCH_OMAP2PLUS_TYPICAL
137	bool "Typical OMAP configuration"
138	default y
139	select AEABI
140	select HIGHMEM
141	select I2C
142	select I2C_OMAP
143	select MENELAUS if ARCH_OMAP2
144	select NEON if CPU_V7
145	select PM
146	select REGULATOR
147	select REGULATOR_FIXED_VOLTAGE
148	select TWL4030_CORE if ARCH_OMAP3 || ARCH_OMAP4
149	select TWL4030_POWER if ARCH_OMAP3 || ARCH_OMAP4
150	select VFP
151	help
152	  Compile a kernel suitable for booting most boards
153
154config SOC_HAS_OMAP2_SDRC
155	bool "OMAP2 SDRAM Controller support"
156
157config SOC_HAS_REALTIME_COUNTER
158	bool "Real time free running counter"
159	depends on SOC_OMAP5 || SOC_DRA7XX
160	default y
161
162comment "OMAP Core Type"
163	depends on ARCH_OMAP2
164
165config SOC_OMAP2420
166	bool "OMAP2420 support"
167	depends on ARCH_OMAP2
168	default y
169	select OMAP_DM_TIMER
170	select SOC_HAS_OMAP2_SDRC
171
172config SOC_OMAP2430
173	bool "OMAP2430 support"
174	depends on ARCH_OMAP2
175	default y
176	select SOC_HAS_OMAP2_SDRC
177
178config SOC_OMAP3430
179	bool "OMAP3430 support"
180	depends on ARCH_OMAP3
181	default y
182	select SOC_HAS_OMAP2_SDRC
183
184config SOC_TI81XX
185	bool "TI81XX support"
186	depends on ARCH_OMAP3
187	default y
188
189config OMAP_PACKAGE_CBC
190       bool
191
192config OMAP_PACKAGE_CBB
193       bool
194
195config OMAP_PACKAGE_CUS
196       bool
197
198config OMAP_PACKAGE_CBP
199       bool
200
201comment "OMAP Legacy Platform Data Board Type"
202	depends on ARCH_OMAP2PLUS
203
204config MACH_OMAP_GENERIC
205	bool
206
207config MACH_OMAP2_TUSB6010
208	bool
209	depends on ARCH_OMAP2 && SOC_OMAP2420
210	default y if MACH_NOKIA_N8X0
211
212config MACH_OMAP3517EVM
213	bool "OMAP3517/ AM3517 EVM board"
214	depends on ARCH_OMAP3
215	default y
216
217config MACH_OMAP3_PANDORA
218	bool "OMAP3 Pandora"
219	depends on ARCH_OMAP3
220	default y
221	select OMAP_PACKAGE_CBB
222
223config MACH_NOKIA_N810
224       bool
225
226config MACH_NOKIA_N810_WIMAX
227       bool
228
229config MACH_NOKIA_N8X0
230	bool "Nokia N800/N810"
231	depends on SOC_OMAP2420
232	default y
233	select MACH_NOKIA_N810
234	select MACH_NOKIA_N810_WIMAX
235
236config OMAP3_SDRC_AC_TIMING
237	bool "Enable SDRC AC timing register changes"
238	depends on ARCH_OMAP3
239	help
240	  If you know that none of your system initiators will attempt to
241	  access SDRAM during CORE DVFS, select Y here.  This should boost
242	  SDRAM performance at lower CORE OPPs.  There are relatively few
243	  users who will wish to say yes at this point - almost everyone will
244	  wish to say no.  Selecting yes without understanding what is
245	  going on could result in system crashes;
246
247endmenu
248
249endif
250
251config OMAP5_ERRATA_801819
252	bool "Errata 801819: An eviction from L1 data cache might stall indefinitely"
253	depends on SOC_OMAP5 || SOC_DRA7XX
254	help
255	  A livelock can occur in the L2 cache arbitration that might prevent
256	  a snoop from completing. Under certain conditions this can cause the
257	  system to deadlock.
258
259endmenu
260