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