xref: /openbmc/linux/arch/arm/mach-omap2/Kconfig (revision f5005f78)
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	select HAVE_ARM_SCU
64
65config SOC_DRA7XX
66	bool "TI DRA7XX"
67	depends on ARCH_MULTI_V7
68	select ARCH_OMAP2PLUS
69	select ARM_CPU_SUSPEND if PM
70	select ARM_GIC
71	select HAVE_ARM_ARCH_TIMER
72	select IRQ_CROSSBAR
73	select ARM_ERRATA_798181 if SMP
74
75config ARCH_OMAP2PLUS
76	bool
77	select ARCH_HAS_BANDGAP
78	select ARCH_HAS_HOLES_MEMORYMODEL
79	select ARCH_OMAP
80	select ARCH_REQUIRE_GPIOLIB
81	select CLKSRC_MMIO
82	select GENERIC_IRQ_CHIP
83	select MACH_OMAP_GENERIC
84	select MEMORY
85	select MFD_SYSCON
86	select OMAP_DM_TIMER
87	select OMAP_GPMC
88	select PINCTRL
89	select SOC_BUS
90	select TI_PRIV_EDMA
91	select OMAP_IRQCHIP
92	help
93	  Systems based on OMAP2, OMAP3, OMAP4 or OMAP5
94
95
96if ARCH_OMAP2PLUS
97
98menu "TI OMAP2/3/4 Specific Features"
99
100config ARCH_OMAP2PLUS_TYPICAL
101	bool "Typical OMAP configuration"
102	default y
103	select AEABI
104	select HIGHMEM
105	select I2C
106	select I2C_OMAP
107	select MENELAUS if ARCH_OMAP2
108	select NEON if CPU_V7
109	select PM
110	select REGULATOR
111	select TWL4030_CORE if ARCH_OMAP3 || ARCH_OMAP4
112	select TWL4030_POWER if ARCH_OMAP3 || ARCH_OMAP4
113	select VFP
114	help
115	  Compile a kernel suitable for booting most boards
116
117config SOC_HAS_OMAP2_SDRC
118	bool "OMAP2 SDRAM Controller support"
119
120config SOC_HAS_REALTIME_COUNTER
121	bool "Real time free running counter"
122	depends on SOC_OMAP5 || SOC_DRA7XX
123	default y
124
125comment "OMAP Core Type"
126	depends on ARCH_OMAP2
127
128config SOC_OMAP2420
129	bool "OMAP2420 support"
130	depends on ARCH_OMAP2
131	default y
132	select OMAP_DM_TIMER
133	select SOC_HAS_OMAP2_SDRC
134
135config SOC_OMAP2430
136	bool "OMAP2430 support"
137	depends on ARCH_OMAP2
138	default y
139	select SOC_HAS_OMAP2_SDRC
140
141config SOC_OMAP3430
142	bool "OMAP3430 support"
143	depends on ARCH_OMAP3
144	default y
145	select SOC_HAS_OMAP2_SDRC
146
147config SOC_TI81XX
148	bool "TI81XX support"
149	depends on ARCH_OMAP3
150	default y
151
152config OMAP_PACKAGE_CBC
153       bool
154
155config OMAP_PACKAGE_CBB
156       bool
157
158config OMAP_PACKAGE_CUS
159       bool
160
161config OMAP_PACKAGE_CBP
162       bool
163
164comment "OMAP Legacy Platform Data Board Type"
165	depends on ARCH_OMAP2PLUS
166
167config MACH_OMAP_GENERIC
168	bool
169
170config MACH_OMAP2_TUSB6010
171	bool
172	depends on ARCH_OMAP2 && SOC_OMAP2420
173	default y if MACH_NOKIA_N8X0
174
175config MACH_OMAP_LDP
176	bool "OMAP3 LDP board"
177	depends on ARCH_OMAP3
178	default y
179	select OMAP_PACKAGE_CBB
180
181config MACH_OMAP3530_LV_SOM
182	bool "OMAP3 Logic 3530 LV SOM board"
183	depends on ARCH_OMAP3
184	default y
185	select OMAP_PACKAGE_CBB
186	help
187	 Support for the LogicPD OMAP3530 SOM Development kit
188	 for full description please see the products webpage at
189	 http://www.logicpd.com/products/development-kits/texas-instruments-zoom%E2%84%A2-omap35x-development-kit
190
191config MACH_OMAP3_TORPEDO
192	bool "OMAP3 Logic 35x Torpedo board"
193	depends on ARCH_OMAP3
194	default y
195	select OMAP_PACKAGE_CBB
196	help
197	 Support for the LogicPD OMAP35x Torpedo Development kit
198	 for full description please see the products webpage at
199	 http://www.logicpd.com/products/development-kits/zoom-omap35x-torpedo-development-kit
200
201config MACH_OMAP3517EVM
202	bool "OMAP3517/ AM3517 EVM board"
203	depends on ARCH_OMAP3
204	default y
205
206config MACH_OMAP3_PANDORA
207	bool "OMAP3 Pandora"
208	depends on ARCH_OMAP3
209	default y
210	select OMAP_PACKAGE_CBB
211	select REGULATOR_FIXED_VOLTAGE if REGULATOR
212
213config MACH_NOKIA_N810
214       bool
215
216config MACH_NOKIA_N810_WIMAX
217       bool
218
219config MACH_NOKIA_N8X0
220	bool "Nokia N800/N810"
221	depends on SOC_OMAP2420
222	default y
223	select MACH_NOKIA_N810
224	select MACH_NOKIA_N810_WIMAX
225
226config MACH_NOKIA_RX51
227	bool "Nokia N900 (RX-51) phone"
228	depends on ARCH_OMAP3
229	default y
230	select OMAP_PACKAGE_CBB
231
232config OMAP3_SDRC_AC_TIMING
233	bool "Enable SDRC AC timing register changes"
234	depends on ARCH_OMAP3
235	default n
236	help
237	  If you know that none of your system initiators will attempt to
238	  access SDRAM during CORE DVFS, select Y here.  This should boost
239	  SDRAM performance at lower CORE OPPs.  There are relatively few
240	  users who will wish to say yes at this point - almost everyone will
241	  wish to say no.  Selecting yes without understanding what is
242	  going on could result in system crashes;
243
244endmenu
245
246endif
247
248endmenu
249