xref: /openbmc/linux/arch/arm/mach-omap2/Kconfig (revision a5e1d715)
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 TWL4030_CORE if ARCH_OMAP3 || ARCH_OMAP4
125	select TWL4030_POWER if ARCH_OMAP3 || ARCH_OMAP4
126	select VFP
127	help
128	  Compile a kernel suitable for booting most boards
129
130config SOC_HAS_OMAP2_SDRC
131	bool "OMAP2 SDRAM Controller support"
132
133config SOC_HAS_REALTIME_COUNTER
134	bool "Real time free running counter"
135	depends on SOC_OMAP5 || SOC_DRA7XX
136	default y
137
138comment "OMAP Core Type"
139	depends on ARCH_OMAP2
140
141config SOC_OMAP2420
142	bool "OMAP2420 support"
143	depends on ARCH_OMAP2
144	default y
145	select OMAP_DM_TIMER
146	select SOC_HAS_OMAP2_SDRC
147
148config SOC_OMAP2430
149	bool "OMAP2430 support"
150	depends on ARCH_OMAP2
151	default y
152	select SOC_HAS_OMAP2_SDRC
153
154config SOC_OMAP3430
155	bool "OMAP3430 support"
156	depends on ARCH_OMAP3
157	default y
158	select SOC_HAS_OMAP2_SDRC
159
160config SOC_TI81XX
161	bool "TI81XX support"
162	depends on ARCH_OMAP3
163	default y
164
165config OMAP_PACKAGE_CBC
166       bool
167
168config OMAP_PACKAGE_CBB
169       bool
170
171config OMAP_PACKAGE_CUS
172       bool
173
174config OMAP_PACKAGE_CBP
175       bool
176
177comment "OMAP Legacy Platform Data Board Type"
178	depends on ARCH_OMAP2PLUS
179
180config MACH_OMAP_GENERIC
181	bool
182
183config MACH_OMAP2_TUSB6010
184	bool
185	depends on ARCH_OMAP2 && SOC_OMAP2420
186	default y if MACH_NOKIA_N8X0
187
188config MACH_OMAP_LDP
189	bool "OMAP3 LDP board"
190	depends on ARCH_OMAP3
191	default y
192	select OMAP_PACKAGE_CBB
193
194config MACH_OMAP3517EVM
195	bool "OMAP3517/ AM3517 EVM board"
196	depends on ARCH_OMAP3
197	default y
198
199config MACH_OMAP3_PANDORA
200	bool "OMAP3 Pandora"
201	depends on ARCH_OMAP3
202	default y
203	select OMAP_PACKAGE_CBB
204	select REGULATOR_FIXED_VOLTAGE if REGULATOR
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