xref: /openbmc/linux/arch/arm/mach-omap2/Kconfig (revision 0da85d1e)
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
21config ARCH_OMAP4
22	bool "TI OMAP4"
23	depends on ARCH_MULTI_V7
24	select ARCH_OMAP2PLUS
25	select ARCH_NEEDS_CPU_IDLE_COUPLED if SMP
26	select ARM_CPU_SUSPEND if PM
27	select ARM_ERRATA_720789
28	select ARM_GIC
29	select HAVE_ARM_SCU if SMP
30	select HAVE_ARM_TWD if SMP
31	select OMAP_INTERCONNECT
32	select PL310_ERRATA_588369 if CACHE_L2X0
33	select PL310_ERRATA_727915 if CACHE_L2X0
34	select PM_OPP if PM
35	select PM if CPU_IDLE
36	select ARM_ERRATA_754322
37	select ARM_ERRATA_775420
38
39config SOC_OMAP5
40	bool "TI OMAP5"
41	depends on ARCH_MULTI_V7
42	select ARCH_OMAP2PLUS
43	select ARM_CPU_SUSPEND if PM
44	select ARM_GIC
45	select HAVE_ARM_SCU if SMP
46	select HAVE_ARM_TWD if SMP
47	select HAVE_ARM_ARCH_TIMER
48	select ARM_ERRATA_798181 if SMP
49
50config SOC_AM33XX
51	bool "TI AM33XX"
52	depends on ARCH_MULTI_V7
53	select ARCH_OMAP2PLUS
54	select ARM_CPU_SUSPEND if PM
55
56config SOC_AM43XX
57	bool "TI AM43x"
58	depends on ARCH_MULTI_V7
59	select ARCH_OMAP2PLUS
60	select ARM_GIC
61	select MACH_OMAP_GENERIC
62	select MIGHT_HAVE_CACHE_L2X0
63
64config SOC_DRA7XX
65	bool "TI DRA7XX"
66	depends on ARCH_MULTI_V7
67	select ARCH_OMAP2PLUS
68	select ARM_CPU_SUSPEND if PM
69	select ARM_GIC
70	select HAVE_ARM_ARCH_TIMER
71	select IRQ_CROSSBAR
72	select ARM_ERRATA_798181 if SMP
73
74config ARCH_OMAP2PLUS
75	bool
76	select ARCH_HAS_BANDGAP
77	select ARCH_HAS_HOLES_MEMORYMODEL
78	select ARCH_OMAP
79	select ARCH_REQUIRE_GPIOLIB
80	select CLKSRC_MMIO
81	select GENERIC_IRQ_CHIP
82	select MACH_OMAP_GENERIC
83	select MEMORY
84	select MFD_SYSCON
85	select OMAP_DM_TIMER
86	select OMAP_GPMC
87	select PINCTRL
88	select SOC_BUS
89	select TI_PRIV_EDMA
90	select OMAP_IRQCHIP
91	help
92	  Systems based on OMAP2, OMAP3, OMAP4 or OMAP5
93
94
95if ARCH_OMAP2PLUS
96
97menu "TI OMAP2/3/4 Specific Features"
98
99config ARCH_OMAP2PLUS_TYPICAL
100	bool "Typical OMAP configuration"
101	default y
102	select AEABI
103	select HIGHMEM
104	select I2C
105	select I2C_OMAP
106	select MENELAUS if ARCH_OMAP2
107	select NEON if CPU_V7
108	select PM
109	select REGULATOR
110	select TWL4030_CORE if ARCH_OMAP3 || ARCH_OMAP4
111	select TWL4030_POWER if ARCH_OMAP3 || ARCH_OMAP4
112	select VFP
113	help
114	  Compile a kernel suitable for booting most boards
115
116config SOC_HAS_OMAP2_SDRC
117	bool "OMAP2 SDRAM Controller support"
118
119config SOC_HAS_REALTIME_COUNTER
120	bool "Real time free running counter"
121	depends on SOC_OMAP5 || SOC_DRA7XX
122	default y
123
124comment "OMAP Core Type"
125	depends on ARCH_OMAP2
126
127config SOC_OMAP2420
128	bool "OMAP2420 support"
129	depends on ARCH_OMAP2
130	default y
131	select OMAP_DM_TIMER
132	select SOC_HAS_OMAP2_SDRC
133
134config SOC_OMAP2430
135	bool "OMAP2430 support"
136	depends on ARCH_OMAP2
137	default y
138	select SOC_HAS_OMAP2_SDRC
139
140config SOC_OMAP3430
141	bool "OMAP3430 support"
142	depends on ARCH_OMAP3
143	default y
144	select SOC_HAS_OMAP2_SDRC
145
146config SOC_TI81XX
147	bool "TI81XX support"
148	depends on ARCH_OMAP3
149	default y
150
151config OMAP_PACKAGE_CBC
152       bool
153
154config OMAP_PACKAGE_CBB
155       bool
156
157config OMAP_PACKAGE_CUS
158       bool
159
160config OMAP_PACKAGE_CBP
161       bool
162
163comment "OMAP Legacy Platform Data Board Type"
164	depends on ARCH_OMAP2PLUS
165
166config MACH_OMAP_GENERIC
167	bool
168
169config MACH_OMAP2_TUSB6010
170	bool
171	depends on ARCH_OMAP2 && SOC_OMAP2420
172	default y if MACH_NOKIA_N8X0
173
174config MACH_OMAP3_BEAGLE
175	bool "OMAP3 BEAGLE board"
176	depends on ARCH_OMAP3
177	default y
178	select OMAP_PACKAGE_CBB
179
180config MACH_OMAP_LDP
181	bool "OMAP3 LDP board"
182	depends on ARCH_OMAP3
183	default y
184	select OMAP_PACKAGE_CBB
185
186config MACH_OMAP3530_LV_SOM
187	bool "OMAP3 Logic 3530 LV SOM board"
188	depends on ARCH_OMAP3
189	default y
190	select OMAP_PACKAGE_CBB
191	help
192	 Support for the LogicPD OMAP3530 SOM Development kit
193	 for full description please see the products webpage at
194	 http://www.logicpd.com/products/development-kits/texas-instruments-zoom%E2%84%A2-omap35x-development-kit
195
196config MACH_OMAP3_TORPEDO
197	bool "OMAP3 Logic 35x Torpedo board"
198	depends on ARCH_OMAP3
199	default y
200	select OMAP_PACKAGE_CBB
201	help
202	 Support for the LogicPD OMAP35x Torpedo Development kit
203	 for full description please see the products webpage at
204	 http://www.logicpd.com/products/development-kits/zoom-omap35x-torpedo-development-kit
205
206config MACH_OVERO
207	bool "Gumstix Overo board"
208	depends on ARCH_OMAP3
209	default y
210	select OMAP_PACKAGE_CBB
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	select REGULATOR_FIXED_VOLTAGE if REGULATOR
223
224config MACH_NOKIA_N810
225       bool
226
227config MACH_NOKIA_N810_WIMAX
228       bool
229
230config MACH_NOKIA_N8X0
231	bool "Nokia N800/N810"
232	depends on SOC_OMAP2420
233	default y
234	select MACH_NOKIA_N810
235	select MACH_NOKIA_N810_WIMAX
236
237config MACH_NOKIA_RX51
238	bool "Nokia N900 (RX-51) phone"
239	depends on ARCH_OMAP3
240	default y
241	select OMAP_PACKAGE_CBB
242
243config MACH_CM_T35
244	bool "CompuLab CM-T35/CM-T3730 modules"
245	depends on ARCH_OMAP3
246	default y
247	select MACH_CM_T3730
248	select OMAP_PACKAGE_CUS
249
250config MACH_CM_T3730
251       bool
252
253config OMAP3_SDRC_AC_TIMING
254	bool "Enable SDRC AC timing register changes"
255	depends on ARCH_OMAP3
256	default n
257	help
258	  If you know that none of your system initiators will attempt to
259	  access SDRAM during CORE DVFS, select Y here.  This should boost
260	  SDRAM performance at lower CORE OPPs.  There are relatively few
261	  users who will wish to say yes at this point - almost everyone will
262	  wish to say no.  Selecting yes without understanding what is
263	  going on could result in system crashes;
264
265endmenu
266
267endif
268
269endmenu
270