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