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