xref: /openbmc/linux/arch/arm/mach-exynos/Kconfig (revision 15e47304)
1# arch/arm/mach-exynos/Kconfig
2#
3# Copyright (c) 2010-2011 Samsung Electronics Co., Ltd.
4#		http://www.samsung.com/
5#
6# Licensed under GPLv2
7
8# Configuration options for the EXYNOS4
9
10if ARCH_EXYNOS
11
12menu "SAMSUNG EXYNOS SoCs Support"
13
14config ARCH_EXYNOS4
15	bool "SAMSUNG EXYNOS4"
16	default y
17	select HAVE_SMP
18	select MIGHT_HAVE_CACHE_L2X0
19	help
20	  Samsung EXYNOS4 SoCs based systems
21
22config ARCH_EXYNOS5
23	bool "SAMSUNG EXYNOS5"
24	select HAVE_SMP
25	help
26	  Samsung EXYNOS5 (Cortex-A15) SoC based systems
27
28comment "EXYNOS SoCs"
29
30config CPU_EXYNOS4210
31	bool "SAMSUNG EXYNOS4210"
32	default y
33	depends on ARCH_EXYNOS4
34	select SAMSUNG_DMADEV
35	select ARM_CPU_SUSPEND if PM
36	select S5P_PM if PM
37	select S5P_SLEEP if PM
38	select PM_GENERIC_DOMAINS
39	help
40	  Enable EXYNOS4210 CPU support
41
42config SOC_EXYNOS4212
43	bool "SAMSUNG EXYNOS4212"
44	default y
45	depends on ARCH_EXYNOS4
46	select SAMSUNG_DMADEV
47	select S5P_PM if PM
48	select S5P_SLEEP if PM
49	help
50	  Enable EXYNOS4212 SoC support
51
52config SOC_EXYNOS4412
53	bool "SAMSUNG EXYNOS4412"
54	default y
55	depends on ARCH_EXYNOS4
56	select SAMSUNG_DMADEV
57	help
58	  Enable EXYNOS4412 SoC support
59
60config SOC_EXYNOS5250
61	bool "SAMSUNG EXYNOS5250"
62	default y
63	depends on ARCH_EXYNOS5
64	select SAMSUNG_DMADEV
65	select S5P_PM if PM
66	select S5P_SLEEP if PM
67	help
68	  Enable EXYNOS5250 SoC support
69
70config EXYNOS4_MCT
71	bool
72	default y
73	help
74	  Use MCT (Multi Core Timer) as kernel timers
75
76config EXYNOS_DEV_DMA
77	bool
78	help
79	  Compile in amba device definitions for DMA controller
80
81config EXYNOS4_DEV_AHCI
82	bool
83	help
84	  Compile in platform device definitions for AHCI
85
86config EXYNOS_DEV_DRM
87	bool
88	help
89	  Compile in platform device definitions for core DRM device
90
91config EXYNOS4_SETUP_FIMD0
92	bool
93	help
94	  Common setup code for FIMD0.
95
96config EXYNOS_DEV_SYSMMU
97	bool
98	help
99	  Common setup code for SYSTEM MMU in EXYNOS platforms
100
101config EXYNOS4_DEV_DWMCI
102	bool
103	help
104	  Compile in platform device definitions for DWMCI
105
106config EXYNOS4_DEV_USB_OHCI
107	bool
108	help
109	  Compile in platform device definition for USB OHCI
110
111config EXYNOS4_SETUP_I2C1
112	bool
113	help
114	  Common setup code for i2c bus 1.
115
116config EXYNOS4_SETUP_I2C2
117	bool
118	help
119	  Common setup code for i2c bus 2.
120
121config EXYNOS4_SETUP_I2C3
122	bool
123	help
124	  Common setup code for i2c bus 3.
125
126config EXYNOS4_SETUP_I2C4
127	bool
128	help
129	  Common setup code for i2c bus 4.
130
131config EXYNOS4_SETUP_I2C5
132	bool
133	help
134	  Common setup code for i2c bus 5.
135
136config EXYNOS4_SETUP_I2C6
137	bool
138	help
139	  Common setup code for i2c bus 6.
140
141config EXYNOS4_SETUP_I2C7
142	bool
143	help
144	  Common setup code for i2c bus 7.
145
146config EXYNOS4_SETUP_KEYPAD
147	bool
148	help
149	  Common setup code for keypad.
150
151config EXYNOS4_SETUP_SDHCI
152	bool
153	select EXYNOS4_SETUP_SDHCI_GPIO
154	help
155	  Internal helper functions for EXYNOS4 based SDHCI systems.
156
157config EXYNOS4_SETUP_SDHCI_GPIO
158	bool
159	help
160	  Common setup code for SDHCI gpio.
161
162config EXYNOS4_SETUP_FIMC
163	bool
164	help
165	  Common setup code for the camera interfaces.
166
167config EXYNOS4_SETUP_USB_PHY
168	bool
169	help
170	  Common setup code for USB PHY controller
171
172config EXYNOS_SETUP_SPI
173	bool
174	help
175	  Common setup code for SPI GPIO configurations.
176
177# machine support
178
179if ARCH_EXYNOS4
180
181comment "EXYNOS4210 Boards"
182
183config MACH_SMDKC210
184	bool "SMDKC210"
185	select MACH_SMDKV310
186	help
187	  Machine support for Samsung SMDKC210
188
189config MACH_SMDKV310
190	bool "SMDKV310"
191	select CPU_EXYNOS4210
192	select S5P_DEV_FIMD0
193	select S3C_DEV_RTC
194	select S3C_DEV_WDT
195	select S3C_DEV_I2C1
196	select S5P_DEV_FIMC0
197	select S5P_DEV_FIMC1
198	select S5P_DEV_FIMC2
199	select S5P_DEV_FIMC3
200	select S5P_DEV_G2D
201	select S5P_DEV_I2C_HDMIPHY
202	select S5P_DEV_JPEG
203	select S5P_DEV_MFC
204	select S5P_DEV_TV
205	select S5P_DEV_USB_EHCI
206	select S3C_DEV_HSMMC
207	select S3C_DEV_HSMMC1
208	select S3C_DEV_HSMMC2
209	select S3C_DEV_HSMMC3
210	select S3C_DEV_USB_HSOTG
211	select SAMSUNG_DEV_BACKLIGHT
212	select EXYNOS_DEV_DRM
213	select EXYNOS_DEV_SYSMMU
214	select EXYNOS4_DEV_AHCI
215	select SAMSUNG_DEV_KEYPAD
216	select EXYNOS_DEV_DMA
217	select SAMSUNG_DEV_PWM
218	select EXYNOS4_DEV_USB_OHCI
219	select EXYNOS4_SETUP_FIMD0
220	select EXYNOS4_SETUP_I2C1
221	select EXYNOS4_SETUP_KEYPAD
222	select EXYNOS4_SETUP_SDHCI
223	select EXYNOS4_SETUP_USB_PHY
224	help
225	  Machine support for Samsung SMDKV310
226
227config MACH_ARMLEX4210
228	bool "ARMLEX4210"
229	select CPU_EXYNOS4210
230	select S3C_DEV_RTC
231	select S3C_DEV_WDT
232	select S3C_DEV_HSMMC
233	select S3C_DEV_HSMMC2
234	select S3C_DEV_HSMMC3
235	select EXYNOS4_DEV_AHCI
236	select EXYNOS_DEV_DMA
237	select EXYNOS4_SETUP_SDHCI
238	help
239	  Machine support for Samsung ARMLEX4210 based on EXYNOS4210
240
241config MACH_UNIVERSAL_C210
242	bool "Mobile UNIVERSAL_C210 Board"
243	select CPU_EXYNOS4210
244	select S5P_HRT
245	select CLKSRC_MMIO
246	select HAVE_SCHED_CLOCK
247	select S5P_GPIO_INT
248	select S5P_DEV_FIMC0
249	select S5P_DEV_FIMC1
250	select S5P_DEV_FIMC2
251	select S5P_DEV_FIMC3
252	select S5P_DEV_G2D
253	select S5P_DEV_CSIS0
254	select S5P_DEV_JPEG
255	select S5P_DEV_FIMD0
256	select S3C_DEV_HSMMC
257	select S3C_DEV_HSMMC2
258	select S3C_DEV_HSMMC3
259	select S3C_DEV_I2C1
260	select S3C_DEV_I2C3
261	select S3C_DEV_I2C5
262	select S3C_DEV_USB_HSOTG
263	select S5P_DEV_I2C_HDMIPHY
264	select S5P_DEV_MFC
265	select S5P_DEV_ONENAND
266	select S5P_DEV_TV
267	select EXYNOS_DEV_SYSMMU
268	select EXYNOS_DEV_DMA
269	select EXYNOS_DEV_DRM
270	select EXYNOS4_SETUP_FIMD0
271	select EXYNOS4_SETUP_I2C1
272	select EXYNOS4_SETUP_I2C3
273	select EXYNOS4_SETUP_I2C5
274	select EXYNOS4_SETUP_SDHCI
275	select EXYNOS4_SETUP_FIMC
276	select S5P_SETUP_MIPIPHY
277	select EXYNOS4_SETUP_USB_PHY
278	help
279	  Machine support for Samsung Mobile Universal S5PC210 Reference
280	  Board.
281
282config MACH_NURI
283	bool "Mobile NURI Board"
284	select CPU_EXYNOS4210
285	select S5P_GPIO_INT
286	select S3C_DEV_WDT
287	select S3C_DEV_RTC
288	select S5P_DEV_FIMD0
289	select S3C_DEV_HSMMC
290	select S3C_DEV_HSMMC2
291	select S3C_DEV_HSMMC3
292	select S3C_DEV_I2C1
293	select S3C_DEV_I2C3
294	select S3C_DEV_I2C5
295	select S3C_DEV_I2C6
296	select S3C_DEV_USB_HSOTG
297	select S5P_DEV_CSIS0
298	select S5P_DEV_JPEG
299	select S5P_DEV_FIMC0
300	select S5P_DEV_FIMC1
301	select S5P_DEV_FIMC2
302	select S5P_DEV_FIMC3
303	select S5P_DEV_G2D
304	select S5P_DEV_MFC
305	select S5P_DEV_USB_EHCI
306	select S5P_SETUP_MIPIPHY
307	select EXYNOS_DEV_DMA
308	select EXYNOS_DEV_DRM
309	select EXYNOS4_SETUP_FIMC
310	select EXYNOS4_SETUP_FIMD0
311	select EXYNOS4_SETUP_I2C1
312	select EXYNOS4_SETUP_I2C3
313	select EXYNOS4_SETUP_I2C5
314	select EXYNOS4_SETUP_I2C6
315	select EXYNOS4_SETUP_SDHCI
316	select EXYNOS4_SETUP_USB_PHY
317	select S5P_SETUP_MIPIPHY
318	select SAMSUNG_DEV_PWM
319	select SAMSUNG_DEV_ADC
320	help
321	  Machine support for Samsung Mobile NURI Board.
322
323config MACH_ORIGEN
324	bool "ORIGEN"
325	select CPU_EXYNOS4210
326	select S3C_DEV_RTC
327	select S3C_DEV_WDT
328	select S3C_DEV_HSMMC
329	select S3C_DEV_HSMMC2
330	select S3C_DEV_USB_HSOTG
331	select S5P_DEV_FIMC0
332	select S5P_DEV_FIMC1
333	select S5P_DEV_FIMC2
334	select S5P_DEV_FIMC3
335	select S5P_DEV_FIMD0
336	select S5P_DEV_G2D
337	select S5P_DEV_I2C_HDMIPHY
338	select S5P_DEV_JPEG
339	select S5P_DEV_MFC
340	select S5P_DEV_TV
341	select S5P_DEV_USB_EHCI
342	select SAMSUNG_DEV_BACKLIGHT
343	select SAMSUNG_DEV_PWM
344	select EXYNOS_DEV_DRM
345	select EXYNOS_DEV_SYSMMU
346	select EXYNOS_DEV_DMA
347	select EXYNOS4_DEV_USB_OHCI
348	select EXYNOS4_SETUP_FIMD0
349	select EXYNOS4_SETUP_SDHCI
350	select EXYNOS4_SETUP_USB_PHY
351	help
352	  Machine support for ORIGEN based on Samsung EXYNOS4210
353
354comment "EXYNOS4212 Boards"
355
356config MACH_SMDK4212
357	bool "SMDK4212"
358	select SOC_EXYNOS4212
359	select S3C_DEV_HSMMC2
360	select S3C_DEV_HSMMC3
361	select S3C_DEV_I2C1
362	select S3C_DEV_I2C3
363	select S3C_DEV_I2C7
364	select S3C_DEV_RTC
365	select S3C_DEV_USB_HSOTG
366	select S3C_DEV_WDT
367	select S5P_DEV_FIMC0
368	select S5P_DEV_FIMC1
369	select S5P_DEV_FIMC2
370	select S5P_DEV_FIMC3
371	select S5P_DEV_FIMD0
372	select S5P_DEV_MFC
373	select SAMSUNG_DEV_BACKLIGHT
374	select SAMSUNG_DEV_KEYPAD
375	select SAMSUNG_DEV_PWM
376	select EXYNOS_DEV_SYSMMU
377	select EXYNOS_DEV_DMA
378	select EXYNOS_DEV_DRM
379	select EXYNOS4_SETUP_FIMD0
380	select EXYNOS4_SETUP_I2C1
381	select EXYNOS4_SETUP_I2C3
382	select EXYNOS4_SETUP_I2C7
383	select EXYNOS4_SETUP_KEYPAD
384	select EXYNOS4_SETUP_SDHCI
385	select EXYNOS4_SETUP_USB_PHY
386	help
387	  Machine support for Samsung SMDK4212
388
389comment "EXYNOS4412 Boards"
390
391config MACH_SMDK4412
392	bool "SMDK4412"
393	select SOC_EXYNOS4412
394	select MACH_SMDK4212
395	help
396	  Machine support for Samsung SMDK4412
397endif
398
399comment "Flattened Device Tree based board for EXYNOS SoCs"
400
401config MACH_EXYNOS4_DT
402	bool "Samsung Exynos4 Machine using device tree"
403	depends on ARCH_EXYNOS4
404	select CPU_EXYNOS4210
405	select USE_OF
406	select ARM_AMBA
407	select HAVE_SAMSUNG_KEYPAD if INPUT_KEYBOARD
408	help
409	  Machine support for Samsung Exynos4 machine with device tree enabled.
410	  Select this if a fdt blob is available for the Exynos4 SoC based board.
411	  Note: This is under development and not all peripherals can be supported
412	  with this machine file.
413
414config MACH_EXYNOS5_DT
415	bool "SAMSUNG EXYNOS5 Machine using device tree"
416	depends on ARCH_EXYNOS5
417	select SOC_EXYNOS5250
418	select USE_OF
419	select ARM_AMBA
420	help
421	  Machine support for Samsung Exynos4 machine with device tree enabled.
422	  Select this if a fdt blob is available for the EXYNOS4 SoC based board.
423
424if ARCH_EXYNOS4
425
426comment "Configuration for HSMMC 8-bit bus width"
427
428config EXYNOS4_SDHCI_CH0_8BIT
429	bool "Channel 0 with 8-bit bus"
430	help
431	  Support HSMMC Channel 0 8-bit bus.
432	  If selected, Channel 1 is disabled.
433
434config EXYNOS4_SDHCI_CH2_8BIT
435	bool "Channel 2 with 8-bit bus"
436	help
437	  Support HSMMC Channel 2 8-bit bus.
438	  If selected, Channel 3 is disabled.
439endif
440
441endmenu
442
443endif
444