1 # arch/arm/mach-exynos/Kconfig
3 # Copyright (c) 2010-2011 Samsung Electronics Co., Ltd.
4 # http://www.samsung.com/
8 # Configuration options for the EXYNOS4
12 menu "SAMSUNG EXYNOS SoCs Support"
15 bool "SAMSUNG EXYNOS3"
17 select HAVE_ARM_SCU if SMP
19 select MIGHT_HAVE_CACHE_L2X0
21 Samsung EXYNOS3 SoCs based systems
24 bool "SAMSUNG EXYNOS4"
26 select HAVE_ARM_SCU if SMP
28 select MIGHT_HAVE_CACHE_L2X0
29 select ARCH_HAS_BANDGAP
31 Samsung EXYNOS4 SoCs based systems
34 bool "SAMSUNG EXYNOS5"
35 select HAVE_ARM_SCU if SMP
37 select ARCH_HAS_BANDGAP
39 Samsung EXYNOS5 (Cortex-A15) SoC based systems
44 bool "SAMSUNG EXYNOS3250"
46 depends on ARCH_EXYNOS3
47 select ARM_CPU_SUSPEND if PM
48 select PM_GENERIC_DOMAINS
50 select S5P_SLEEP if PM
53 Enable EXYNOS3250 CPU support
56 bool "SAMSUNG EXYNOS4210"
58 depends on ARCH_EXYNOS4
59 select ARM_CPU_SUSPEND if PM
60 select PM_GENERIC_DOMAINS
62 select S5P_SLEEP if PM
65 Enable EXYNOS4210 CPU support
68 bool "SAMSUNG EXYNOS4212"
70 depends on ARCH_EXYNOS4
72 select S5P_SLEEP if PM
75 Enable EXYNOS4212 SoC support
78 bool "SAMSUNG EXYNOS4412"
80 depends on ARCH_EXYNOS4
83 Enable EXYNOS4412 SoC support
86 bool "SAMSUNG EXYNOS5250"
88 depends on ARCH_EXYNOS5
89 select PM_GENERIC_DOMAINS if PM
91 select S5P_SLEEP if PM
95 Enable EXYNOS5250 SoC support
98 bool "SAMSUNG EXYNOS5420"
100 depends on ARCH_EXYNOS5
101 select PM_GENERIC_DOMAINS if PM
103 select S5P_SLEEP if PM
105 Enable EXYNOS5420 SoC support
107 config SOC_EXYNOS5440
108 bool "SAMSUNG EXYNOS5440"
110 depends on ARCH_EXYNOS5
112 select ARM_ARCH_TIMER
115 select PINCTRL_EXYNOS5440
118 Enable EXYNOS5440 SoC support
121 bool "ATAGS based boot for EXYNOS (deprecated)"
122 depends on !ARCH_MULTIPLATFORM
126 The EXYNOS platform is moving towards being completely probed
127 through device tree. This enables support for board files using
128 the traditional ATAGS boot format.
129 Note that this option is not available for multiplatform builds.
133 config EXYNOS_DEV_DMA
136 Compile in amba device definitions for DMA controller
138 config EXYNOS4_DEV_AHCI
141 Compile in platform device definitions for AHCI
143 config EXYNOS4_SETUP_FIMD0
146 Common setup code for FIMD0.
148 config EXYNOS4_DEV_USB_OHCI
151 Compile in platform device definition for USB OHCI
153 config EXYNOS4_SETUP_I2C1
156 Common setup code for i2c bus 1.
158 config EXYNOS4_SETUP_I2C2
161 Common setup code for i2c bus 2.
163 config EXYNOS4_SETUP_I2C3
166 Common setup code for i2c bus 3.
168 config EXYNOS4_SETUP_I2C4
171 Common setup code for i2c bus 4.
173 config EXYNOS4_SETUP_I2C5
176 Common setup code for i2c bus 5.
178 config EXYNOS4_SETUP_I2C6
181 Common setup code for i2c bus 6.
183 config EXYNOS4_SETUP_I2C7
186 Common setup code for i2c bus 7.
188 config EXYNOS4_SETUP_KEYPAD
191 Common setup code for keypad.
193 config EXYNOS4_SETUP_SDHCI
195 select EXYNOS4_SETUP_SDHCI_GPIO
197 Internal helper functions for EXYNOS4 based SDHCI systems.
199 config EXYNOS4_SETUP_SDHCI_GPIO
202 Common setup code for SDHCI gpio.
204 config EXYNOS4_SETUP_FIMC
207 Common setup code for the camera interfaces.
209 config EXYNOS4_SETUP_USB_PHY
212 Common setup code for USB PHY controller
214 config EXYNOS_SETUP_SPI
217 Common setup code for SPI GPIO configurations.
220 bool "Enable sec_debug stub"
222 Stub module for sec_debug functionality required in Tizen.
228 comment "EXYNOS4210 Boards"
234 Machine support for Samsung SMDKC210
238 select CPU_EXYNOS4210
239 select EXYNOS4_DEV_AHCI
240 select EXYNOS4_DEV_USB_OHCI
241 select EXYNOS4_SETUP_FIMD0
242 select EXYNOS4_SETUP_I2C1
243 select EXYNOS4_SETUP_KEYPAD
244 select EXYNOS4_SETUP_SDHCI
245 select EXYNOS4_SETUP_USB_PHY
246 select EXYNOS_DEV_DMA
247 select EXYNOS_DEV_SYSMMU
250 select S3C_DEV_HSMMC1
251 select S3C_DEV_HSMMC2
252 select S3C_DEV_HSMMC3
255 select S3C_DEV_USB_HSOTG
263 select S5P_DEV_I2C_HDMIPHY
267 select S5P_DEV_USB_EHCI
268 select SAMSUNG_DEV_BACKLIGHT
269 select SAMSUNG_DEV_KEYPAD
270 select SAMSUNG_DEV_PWM
272 Machine support for Samsung SMDKV310
274 config MACH_ARMLEX4210
276 select CPU_EXYNOS4210
277 select EXYNOS4_DEV_AHCI
278 select EXYNOS4_SETUP_SDHCI
279 select EXYNOS_DEV_DMA
281 select S3C_DEV_HSMMC2
282 select S3C_DEV_HSMMC3
286 Machine support for Samsung ARMLEX4210 based on EXYNOS4210
288 config MACH_UNIVERSAL_C210
289 bool "Mobile UNIVERSAL_C210 Board"
291 select CLKSRC_SAMSUNG_PWM
292 select CPU_EXYNOS4210
293 select EXYNOS4_SETUP_FIMC
294 select EXYNOS4_SETUP_FIMD0
295 select EXYNOS4_SETUP_I2C1
296 select EXYNOS4_SETUP_I2C3
297 select EXYNOS4_SETUP_I2C5
298 select EXYNOS4_SETUP_SDHCI
299 select EXYNOS4_SETUP_USB_PHY
300 select EXYNOS_DEV_DMA
301 select EXYNOS_DEV_SYSMMU
303 select S3C_DEV_HSMMC2
304 select S3C_DEV_HSMMC3
308 select S3C_DEV_USB_HSOTG
316 select S5P_DEV_I2C_HDMIPHY
319 select S5P_DEV_ONENAND
322 select S5P_SETUP_MIPIPHY
324 Machine support for Samsung Mobile Universal S5PC210 Reference
328 bool "Mobile NURI Board"
329 select CPU_EXYNOS4210
330 select EXYNOS4_SETUP_FIMC
331 select EXYNOS4_SETUP_FIMD0
332 select EXYNOS4_SETUP_I2C1
333 select EXYNOS4_SETUP_I2C3
334 select EXYNOS4_SETUP_I2C5
335 select EXYNOS4_SETUP_I2C6
336 select EXYNOS4_SETUP_SDHCI
337 select EXYNOS4_SETUP_USB_PHY
338 select EXYNOS_DEV_DMA
340 select S3C_DEV_HSMMC2
341 select S3C_DEV_HSMMC3
347 select S3C_DEV_USB_HSOTG
358 select S5P_DEV_USB_EHCI
360 select S5P_SETUP_MIPIPHY
361 select SAMSUNG_DEV_ADC
362 select SAMSUNG_DEV_PWM
364 Machine support for Samsung Mobile NURI Board.
368 select CPU_EXYNOS4210
369 select EXYNOS4_DEV_USB_OHCI
370 select EXYNOS4_SETUP_FIMD0
371 select EXYNOS4_SETUP_SDHCI
372 select EXYNOS4_SETUP_USB_PHY
373 select EXYNOS_DEV_DMA
374 select EXYNOS_DEV_SYSMMU
377 select S3C_DEV_HSMMC2
379 select S3C_DEV_USB_HSOTG
387 select S5P_DEV_I2C_HDMIPHY
391 select S5P_DEV_USB_EHCI
392 select SAMSUNG_DEV_BACKLIGHT
393 select SAMSUNG_DEV_PWM
395 Machine support for ORIGEN based on Samsung EXYNOS4210
397 comment "EXYNOS4212 Boards"
401 select EXYNOS4_SETUP_FIMD0
402 select EXYNOS4_SETUP_I2C1
403 select EXYNOS4_SETUP_I2C3
404 select EXYNOS4_SETUP_I2C7
405 select EXYNOS4_SETUP_KEYPAD
406 select EXYNOS4_SETUP_SDHCI
407 select EXYNOS4_SETUP_USB_PHY
408 select EXYNOS_DEV_DMA
409 select EXYNOS_DEV_SYSMMU
411 select S3C_DEV_HSMMC2
412 select S3C_DEV_HSMMC3
417 select S3C_DEV_USB_HSOTG
425 select SAMSUNG_DEV_BACKLIGHT
426 select SAMSUNG_DEV_KEYPAD
427 select SAMSUNG_DEV_PWM
428 select SOC_EXYNOS4212
430 Machine support for Samsung SMDK4212
432 comment "EXYNOS4412 Boards"
437 select SOC_EXYNOS4412
439 Machine support for Samsung SMDK4412
444 comment "Flattened Device Tree based board for EXYNOS SoCs"
446 config MACH_EXYNOS3_DT
447 bool "Samsung Exynos3 Machine using device tree"
448 depends on ARCH_EXYNOS3
451 select SOC_EXYNOS3250
455 Machine support for Samsung Exynos3 machine with device tree enabled.
456 Select this if a fdt blob is available for the Exynos3 SoC based board.
457 Note: This is under development and not all peripherals can be supported
458 with this machine file.
460 config MACH_EXYNOS4_DT
461 bool "Samsung Exynos4 Machine using device tree"
462 depends on ARCH_EXYNOS4
465 select CLKSRC_SAMSUNG_PWM if CPU_EXYNOS4210
466 select CPU_EXYNOS4210
467 select KEYBOARD_SAMSUNG if INPUT_KEYBOARD
469 select PINCTRL_EXYNOS
471 select S5P_SETUP_MIPIPHY
473 select ARM_DMA_USE_IOMMU if EXYNOS_IOMMU
475 Machine support for Samsung Exynos4 machine with device tree enabled.
476 Select this if a fdt blob is available for the Exynos4 SoC based board.
477 Note: This is under development and not all peripherals can be supported
478 with this machine file.
480 config MACH_EXYNOS5_DT
481 bool "SAMSUNG EXYNOS5 Machine using device tree"
483 depends on ARCH_EXYNOS5
488 Machine support for Samsung EXYNOS5 machine with device tree enabled.
489 Select this if a fdt blob is available for the EXYNOS5 SoC based board.
493 comment "Configuration for HSMMC 8-bit bus width"
495 config EXYNOS4_SDHCI_CH0_8BIT
496 bool "Channel 0 with 8-bit bus"
498 Support HSMMC Channel 0 8-bit bus.
499 If selected, Channel 1 is disabled.
501 config EXYNOS4_SDHCI_CH2_8BIT
502 bool "Channel 2 with 8-bit bus"
504 Support HSMMC Channel 2 8-bit bus.
505 If selected, Channel 3 is disabled.
508 config SOC_EXYNOS5800
509 bool "SAMSUNG EXYNOS5800"
511 depends on SOC_EXYNOS5420