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