blob: d58995c9a95a8addd71915b3d1b29a0720692476 [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
Arnd Bergmann9dfa92e2014-05-26 06:09:57 +090010config ARCH_EXYNOS
11 bool "Samsung EXYNOS" if ARCH_MULTI_V7
12 select ARCH_HAS_BANDGAP
13 select ARCH_HAS_CPUFREQ
14 select ARCH_HAS_HOLES_MEMORYMODEL
15 select ARCH_REQUIRE_GPIOLIB
16 select ARM_AMBA
17 select ARM_GIC
18 select COMMON_CLK_SAMSUNG
19 select HAVE_ARM_SCU if SMP
20 select HAVE_S3C2410_I2C if I2C
21 select HAVE_S3C2410_WATCHDOG if WATCHDOG
22 select HAVE_S3C_RTC if RTC_CLASS
23 select PINCTRL
24 select PINCTRL_EXYNOS
25 select PM_GENERIC_DOMAINS if PM_RUNTIME
26 select S5P_DEV_MFC
27 select SRAM
28 help
29 Support for SAMSUNG EXYNOS SoCs (EXYNOS4/5)
30
Kukjin Kim83014572011-11-06 13:54:56 +090031if ARCH_EXYNOS
32
33menu "SAMSUNG EXYNOS SoCs Support"
34
Chanwoo Choi940bc582014-05-26 04:12:26 +090035config ARCH_EXYNOS3
36 bool "SAMSUNG EXYNOS3"
Sachin Kamat9a101322014-05-26 05:58:42 +090037 select ARM_CPU_SUSPEND if PM
Chanwoo Choi940bc582014-05-26 04:12:26 +090038 help
Sachin Kamat9a101322014-05-26 05:58:42 +090039 Samsung EXYNOS3 (Crotex-A7) SoC based systems
Chanwoo Choi940bc582014-05-26 04:12:26 +090040
Kukjin Kim83014572011-11-06 13:54:56 +090041config ARCH_EXYNOS4
42 bool "SAMSUNG EXYNOS4"
Kukjin Kim23f16c72012-03-13 07:44:39 -070043 default y
Sachin Kamat9a101322014-05-26 05:58:42 +090044 select ARM_CPU_SUSPEND if PM_SLEEP
Bartlomiej Zolnierkiewiczae3c5d72013-10-08 07:02:12 +090045 select CLKSRC_SAMSUNG_PWM if CPU_EXYNOS4210
46 select CPU_EXYNOS4210
Tomasz Figae245f962013-06-19 01:26:42 +090047 select GIC_NON_BANKED
Bartlomiej Zolnierkiewiczae3c5d72013-10-08 07:02:12 +090048 select KEYBOARD_SAMSUNG if INPUT_KEYBOARD
Dave Martince5ea9f2011-11-29 15:56:19 +000049 select MIGHT_HAVE_CACHE_L2X0
Kukjin Kim83014572011-11-06 13:54:56 +090050 help
Sachin Kamat9a101322014-05-26 05:58:42 +090051 Samsung EXYNOS4 (Cortex-A9) SoC based systems
Kukjin Kim83014572011-11-06 13:54:56 +090052
Kukjin Kim23f16c72012-03-13 07:44:39 -070053config ARCH_EXYNOS5
54 bool "SAMSUNG EXYNOS5"
Sachin Kamat9a101322014-05-26 05:58:42 +090055 default y
Kukjin Kim23f16c72012-03-13 07:44:39 -070056 help
Sachin Kamat9a101322014-05-26 05:58:42 +090057 Samsung EXYNOS5 (Cortex-A15/A7) SoC based systems
Kukjin Kim83014572011-11-06 13:54:56 +090058
59comment "EXYNOS SoCs"
Kukjin Kim10606aa2011-02-14 15:05:27 +090060
Chanwoo Choi940bc582014-05-26 04:12:26 +090061config SOC_EXYNOS3250
62 bool "SAMSUNG EXYNOS3250"
63 default y
64 depends on ARCH_EXYNOS3
Chanwoo Choi940bc582014-05-26 04:12:26 +090065
Kukjin Kim10606aa2011-02-14 15:05:27 +090066config CPU_EXYNOS4210
Kukjin Kim83014572011-11-06 13:54:56 +090067 bool "SAMSUNG EXYNOS4210"
68 default y
69 depends on ARCH_EXYNOS4
Kukjin Kim10606aa2011-02-14 15:05:27 +090070
Kukjin Kim68465382011-08-24 17:25:09 +090071config SOC_EXYNOS4212
Kukjin Kim83014572011-11-06 13:54:56 +090072 bool "SAMSUNG EXYNOS4212"
73 default y
74 depends on ARCH_EXYNOS4
Kukjin Kim68465382011-08-24 17:25:09 +090075
Changhwan Youne6a275a2011-10-04 17:08:56 +090076config SOC_EXYNOS4412
Kukjin Kim83014572011-11-06 13:54:56 +090077 bool "SAMSUNG EXYNOS4412"
78 default y
79 depends on ARCH_EXYNOS4
Changhwan Youne6a275a2011-10-04 17:08:56 +090080
Kukjin Kim23f16c72012-03-13 07:44:39 -070081config SOC_EXYNOS5250
82 bool "SAMSUNG EXYNOS5250"
83 default y
84 depends on ARCH_EXYNOS5
Kukjin Kim23f16c72012-03-13 07:44:39 -070085
Pankaj Dubeyed08f102014-05-26 04:28:17 +090086config SOC_EXYNOS5260
87 bool "SAMSUNG EXYNOS5260"
88 default y
89 depends on ARCH_EXYNOS5
90
Tarek Dakhran723c9c72014-05-27 06:54:12 +090091config SOC_EXYNOS5410
92 bool "SAMSUNG EXYNOS5410"
93 default y
94 depends on ARCH_EXYNOS5
Kukjin Kim10606aa2011-02-14 15:05:27 +090095
Chander Kashyap191d7542013-06-19 00:29:34 +090096config SOC_EXYNOS5420
97 bool "SAMSUNG EXYNOS5420"
98 default y
99 depends on ARCH_EXYNOS5
Chander Kashyap191d7542013-06-19 00:29:34 +0900100
Kukjin Kim2edb36c2012-11-15 15:48:56 +0900101config SOC_EXYNOS5440
102 bool "SAMSUNG EXYNOS5440"
103 default y
104 depends on ARCH_EXYNOS5
Thomas Abrahamcfaf8ee2013-07-16 12:42:59 +0900105 select ARCH_DMA_ADDR_T_64BIT if ARM_LPAE
Amit Daniel Kachhap64649dc2013-04-08 08:17:37 +0000106 select ARCH_HAS_OPP
Mark Rutlandfb521a02013-03-20 13:57:38 +0000107 select HAVE_ARM_ARCH_TIMER
Kukjin Kim2edb36c2012-11-15 15:48:56 +0900108 select AUTO_ZRELADDR
Jingoo Han3f06d152013-06-21 16:25:29 +0900109 select MIGHT_HAVE_PCI
110 select PCI_DOMAINS if PCI
Kukjin Kimb2318482012-12-27 09:19:08 -0800111 select PINCTRL_EXYNOS5440
Amit Daniel Kachhap64649dc2013-04-08 08:17:37 +0000112 select PM_OPP
Kukjin Kim2edb36c2012-11-15 15:48:56 +0900113 help
114 Enable EXYNOS5440 SoC support
115
Arun Kumar K86c6f142014-05-26 04:16:11 +0900116config SOC_EXYNOS5800
117 bool "SAMSUNG EXYNOS5800"
118 default y
119 depends on SOC_EXYNOS5420
120
Kukjin Kim10606aa2011-02-14 15:05:27 +0900121endmenu
122
Abhilash Kesavanccf55112014-05-16 04:26:30 +0900123config EXYNOS5420_MCPM
124 bool "Exynos5420 Multi-Cluster PM support"
125 depends on MCPM && SOC_EXYNOS5420
126 select ARM_CCI
127 help
128 This is needed to provide CPU and cluster power management
129 on Exynos5420 implementing big.LITTLE.
130
Kukjin Kim10606aa2011-02-14 15:05:27 +0900131endif