blob: 46f3c0d0d01fed3e85c3d7f5ee93c669c8d98315 [file] [log] [blame]
Kukjin Kim83014572011-11-06 13:54:56 +09001# arch/arm/mach-exynos/Kconfig
Kukjin Kim10606aa2011-02-14 15:05:27 +09002#
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
Rob Herring21278ae2014-06-10 09:06:10 -050010menuconfig ARCH_EXYNOS
Arnd Bergmann9dfa92e2014-05-26 06:09:57 +090011 bool "Samsung EXYNOS" if ARCH_MULTI_V7
12 select ARCH_HAS_BANDGAP
Arnd Bergmann9dfa92e2014-05-26 06:09:57 +090013 select ARCH_HAS_HOLES_MEMORYMODEL
14 select ARCH_REQUIRE_GPIOLIB
15 select ARM_AMBA
16 select ARM_GIC
17 select COMMON_CLK_SAMSUNG
18 select HAVE_ARM_SCU if SMP
19 select HAVE_S3C2410_I2C if I2C
20 select HAVE_S3C2410_WATCHDOG if WATCHDOG
21 select HAVE_S3C_RTC if RTC_CLASS
22 select PINCTRL
23 select PINCTRL_EXYNOS
24 select PM_GENERIC_DOMAINS if PM_RUNTIME
25 select S5P_DEV_MFC
26 select SRAM
27 help
28 Support for SAMSUNG EXYNOS SoCs (EXYNOS4/5)
29
Kukjin Kim83014572011-11-06 13:54:56 +090030if ARCH_EXYNOS
31
Chanwoo Choi940bc582014-05-26 04:12:26 +090032config ARCH_EXYNOS3
33 bool "SAMSUNG EXYNOS3"
Sachin Kamat9a101322014-05-26 05:58:42 +090034 select ARM_CPU_SUSPEND if PM
Chanwoo Choi940bc582014-05-26 04:12:26 +090035 help
Sachin Kamat9a101322014-05-26 05:58:42 +090036 Samsung EXYNOS3 (Crotex-A7) SoC based systems
Chanwoo Choi940bc582014-05-26 04:12:26 +090037
Kukjin Kim83014572011-11-06 13:54:56 +090038config ARCH_EXYNOS4
39 bool "SAMSUNG EXYNOS4"
Kukjin Kim23f16c72012-03-13 07:44:39 -070040 default y
Sachin Kamat9a101322014-05-26 05:58:42 +090041 select ARM_CPU_SUSPEND if PM_SLEEP
Bartlomiej Zolnierkiewiczae3c5d72013-10-08 07:02:12 +090042 select CLKSRC_SAMSUNG_PWM if CPU_EXYNOS4210
43 select CPU_EXYNOS4210
Tomasz Figae245f962013-06-19 01:26:42 +090044 select GIC_NON_BANKED
Bartlomiej Zolnierkiewiczae3c5d72013-10-08 07:02:12 +090045 select KEYBOARD_SAMSUNG if INPUT_KEYBOARD
Dave Martince5ea9f2011-11-29 15:56:19 +000046 select MIGHT_HAVE_CACHE_L2X0
Kukjin Kim83014572011-11-06 13:54:56 +090047 help
Sachin Kamat9a101322014-05-26 05:58:42 +090048 Samsung EXYNOS4 (Cortex-A9) SoC based systems
Kukjin Kim83014572011-11-06 13:54:56 +090049
Kukjin Kim23f16c72012-03-13 07:44:39 -070050config ARCH_EXYNOS5
51 bool "SAMSUNG EXYNOS5"
Sachin Kamat9a101322014-05-26 05:58:42 +090052 default y
Kukjin Kim23f16c72012-03-13 07:44:39 -070053 help
Sachin Kamat9a101322014-05-26 05:58:42 +090054 Samsung EXYNOS5 (Cortex-A15/A7) SoC based systems
Kukjin Kim83014572011-11-06 13:54:56 +090055
56comment "EXYNOS SoCs"
Kukjin Kim10606aa2011-02-14 15:05:27 +090057
Chanwoo Choi940bc582014-05-26 04:12:26 +090058config SOC_EXYNOS3250
59 bool "SAMSUNG EXYNOS3250"
60 default y
61 depends on ARCH_EXYNOS3
Chanwoo Choi940bc582014-05-26 04:12:26 +090062
Kukjin Kim10606aa2011-02-14 15:05:27 +090063config CPU_EXYNOS4210
Kukjin Kim83014572011-11-06 13:54:56 +090064 bool "SAMSUNG EXYNOS4210"
65 default y
66 depends on ARCH_EXYNOS4
Kukjin Kim10606aa2011-02-14 15:05:27 +090067
Kukjin Kim68465382011-08-24 17:25:09 +090068config SOC_EXYNOS4212
Kukjin Kim83014572011-11-06 13:54:56 +090069 bool "SAMSUNG EXYNOS4212"
70 default y
71 depends on ARCH_EXYNOS4
Kukjin Kim68465382011-08-24 17:25:09 +090072
Changhwan Youne6a275a2011-10-04 17:08:56 +090073config SOC_EXYNOS4412
Kukjin Kim83014572011-11-06 13:54:56 +090074 bool "SAMSUNG EXYNOS4412"
75 default y
76 depends on ARCH_EXYNOS4
Changhwan Youne6a275a2011-10-04 17:08:56 +090077
Kukjin Kim23f16c72012-03-13 07:44:39 -070078config SOC_EXYNOS5250
79 bool "SAMSUNG EXYNOS5250"
80 default y
81 depends on ARCH_EXYNOS5
Kukjin Kim23f16c72012-03-13 07:44:39 -070082
Pankaj Dubeyed08f102014-05-26 04:28:17 +090083config SOC_EXYNOS5260
84 bool "SAMSUNG EXYNOS5260"
85 default y
86 depends on ARCH_EXYNOS5
87
Tarek Dakhran723c9c72014-05-27 06:54:12 +090088config SOC_EXYNOS5410
89 bool "SAMSUNG EXYNOS5410"
90 default y
91 depends on ARCH_EXYNOS5
Kukjin Kim10606aa2011-02-14 15:05:27 +090092
Chander Kashyap191d7542013-06-19 00:29:34 +090093config SOC_EXYNOS5420
94 bool "SAMSUNG EXYNOS5420"
95 default y
96 depends on ARCH_EXYNOS5
Chander Kashyap191d7542013-06-19 00:29:34 +090097
Kukjin Kim2edb36c2012-11-15 15:48:56 +090098config SOC_EXYNOS5440
99 bool "SAMSUNG EXYNOS5440"
100 default y
101 depends on ARCH_EXYNOS5
Thomas Abrahamcfaf8ee2013-07-16 12:42:59 +0900102 select ARCH_DMA_ADDR_T_64BIT if ARM_LPAE
Mark Rutlandfb521a02013-03-20 13:57:38 +0000103 select HAVE_ARM_ARCH_TIMER
Kukjin Kim2edb36c2012-11-15 15:48:56 +0900104 select AUTO_ZRELADDR
Jingoo Han3f06d152013-06-21 16:25:29 +0900105 select MIGHT_HAVE_PCI
106 select PCI_DOMAINS if PCI
Kukjin Kimb2318482012-12-27 09:19:08 -0800107 select PINCTRL_EXYNOS5440
Amit Daniel Kachhap64649dc2013-04-08 08:17:37 +0000108 select PM_OPP
Kukjin Kim2edb36c2012-11-15 15:48:56 +0900109 help
110 Enable EXYNOS5440 SoC support
111
Arun Kumar K86c6f142014-05-26 04:16:11 +0900112config SOC_EXYNOS5800
113 bool "SAMSUNG EXYNOS5800"
114 default y
115 depends on SOC_EXYNOS5420
116
Abhilash Kesavanccf55112014-05-16 04:26:30 +0900117config EXYNOS5420_MCPM
118 bool "Exynos5420 Multi-Cluster PM support"
119 depends on MCPM && SOC_EXYNOS5420
120 select ARM_CCI
Krzysztof Kozlowskiee2593e2014-07-14 13:59:03 +0100121 select ARM_CPU_SUSPEND
Abhilash Kesavanccf55112014-05-16 04:26:30 +0900122 help
123 This is needed to provide CPU and cluster power management
124 on Exynos5420 implementing big.LITTLE.
125
Bartlomiej Zolnierkiewicz0d713cf2014-09-25 18:02:45 +0900126config EXYNOS_CPU_SUSPEND
127 bool
128 select ARM_CPU_SUSPEND
129 default PM_SLEEP || ARM_EXYNOS_CPUIDLE
130
Kukjin Kim10606aa2011-02-14 15:05:27 +0900131endif