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