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