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