blob: 5952e68c76c40e622e828a9e1849542b69f12aad [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
Kukjin Kim83014572011-11-06 13:54:56 +090010if ARCH_EXYNOS
11
12menu "SAMSUNG EXYNOS SoCs Support"
13
Kukjin Kim83014572011-11-06 13:54:56 +090014config ARCH_EXYNOS4
15 bool "SAMSUNG EXYNOS4"
Kukjin Kim23f16c72012-03-13 07:44:39 -070016 default y
Tomasz Figae245f962013-06-19 01:26:42 +090017 select GIC_NON_BANKED
Stephen Boyd4c3ffff2013-02-27 15:28:14 -080018 select HAVE_ARM_SCU if SMP
Dave Martin3b556582011-12-07 15:38:04 +000019 select HAVE_SMP
Dave Martince5ea9f2011-11-29 15:56:19 +000020 select MIGHT_HAVE_CACHE_L2X0
Doug Anderson83978252013-06-10 18:26:53 +090021 select PINCTRL
Kukjin Kim83014572011-11-06 13:54:56 +090022 help
23 Samsung EXYNOS4 SoCs based systems
24
Kukjin Kim23f16c72012-03-13 07:44:39 -070025config ARCH_EXYNOS5
26 bool "SAMSUNG EXYNOS5"
Stephen Boyd4c3ffff2013-02-27 15:28:14 -080027 select HAVE_ARM_SCU if SMP
Kukjin Kim23f16c72012-03-13 07:44:39 -070028 select HAVE_SMP
Doug Anderson83978252013-06-10 18:26:53 +090029 select PINCTRL
Kukjin Kim23f16c72012-03-13 07:44:39 -070030 help
31 Samsung EXYNOS5 (Cortex-A15) SoC based systems
Kukjin Kim83014572011-11-06 13:54:56 +090032
33comment "EXYNOS SoCs"
Kukjin Kim10606aa2011-02-14 15:05:27 +090034
35config CPU_EXYNOS4210
Kukjin Kim83014572011-11-06 13:54:56 +090036 bool "SAMSUNG EXYNOS4210"
37 default y
38 depends on ARCH_EXYNOS4
Arnd Bergmann15e0d9e2011-10-01 21:09:39 +020039 select ARM_CPU_SUSPEND if PM
Doug Anderson83978252013-06-10 18:26:53 +090040 select PINCTRL_EXYNOS
Arnd Bergmannc1fe55e2013-06-17 09:56:42 +020041 select PM_GENERIC_DOMAINS if PM
Abhilash Kesavan0da3bead2011-10-04 20:25:51 +090042 select S5P_PM if PM
Abhilash Kesavane2e13622011-10-04 20:25:51 +090043 select S5P_SLEEP if PM
Russell Kingb1b3f492012-10-06 17:12:25 +010044 select SAMSUNG_DMADEV
Kukjin Kim10606aa2011-02-14 15:05:27 +090045 help
46 Enable EXYNOS4210 CPU support
47
Kukjin Kim68465382011-08-24 17:25:09 +090048config SOC_EXYNOS4212
Kukjin Kim83014572011-11-06 13:54:56 +090049 bool "SAMSUNG EXYNOS4212"
50 default y
51 depends on ARCH_EXYNOS4
Doug Anderson83978252013-06-10 18:26:53 +090052 select PINCTRL_EXYNOS
Abhilash Kesavan0da3bead2011-10-04 20:25:51 +090053 select S5P_PM if PM
Abhilash Kesavane2e13622011-10-04 20:25:51 +090054 select S5P_SLEEP if PM
Russell Kingb1b3f492012-10-06 17:12:25 +010055 select SAMSUNG_DMADEV
Kukjin Kim68465382011-08-24 17:25:09 +090056 help
57 Enable EXYNOS4212 SoC support
58
Changhwan Youne6a275a2011-10-04 17:08:56 +090059config SOC_EXYNOS4412
Kukjin Kim83014572011-11-06 13:54:56 +090060 bool "SAMSUNG EXYNOS4412"
61 default y
62 depends on ARCH_EXYNOS4
Doug Anderson83978252013-06-10 18:26:53 +090063 select PINCTRL_EXYNOS
Boojin Kimefd99602012-02-15 13:16:15 +090064 select SAMSUNG_DMADEV
Changhwan Youne6a275a2011-10-04 17:08:56 +090065 help
66 Enable EXYNOS4412 SoC support
67
Kukjin Kim23f16c72012-03-13 07:44:39 -070068config SOC_EXYNOS5250
69 bool "SAMSUNG EXYNOS5250"
70 default y
71 depends on ARCH_EXYNOS5
Doug Anderson83978252013-06-10 18:26:53 +090072 select PINCTRL_EXYNOS
Prasanna Kumar6f9e95e2013-02-12 15:27:43 -080073 select PM_GENERIC_DOMAINS if PM
Jongpill Lee60e49ca2012-02-17 12:23:51 +090074 select S5P_PM if PM
75 select S5P_SLEEP if PM
Arun Kumar K2eae6132012-10-23 22:51:33 +090076 select S5P_DEV_MFC
Russell Kingb1b3f492012-10-06 17:12:25 +010077 select SAMSUNG_DMADEV
Kukjin Kim23f16c72012-03-13 07:44:39 -070078 help
79 Enable EXYNOS5250 SoC support
80
Chander Kashyap191d7542013-06-19 00:29:34 +090081config SOC_EXYNOS5420
82 bool "SAMSUNG EXYNOS5420"
83 default y
84 depends on ARCH_EXYNOS5
85 select PM_GENERIC_DOMAINS if PM
86 select S5P_PM if PM
87 select S5P_SLEEP if PM
88 help
89 Enable EXYNOS5420 SoC support
90
Kukjin Kim2edb36c2012-11-15 15:48:56 +090091config SOC_EXYNOS5440
92 bool "SAMSUNG EXYNOS5440"
93 default y
94 depends on ARCH_EXYNOS5
Thomas Abrahamcfaf8ee2013-07-16 12:42:59 +090095 select ARCH_DMA_ADDR_T_64BIT if ARM_LPAE
Amit Daniel Kachhap64649dc2013-04-08 08:17:37 +000096 select ARCH_HAS_OPP
Mark Rutlandfb521a02013-03-20 13:57:38 +000097 select HAVE_ARM_ARCH_TIMER
Kukjin Kim2edb36c2012-11-15 15:48:56 +090098 select AUTO_ZRELADDR
Jingoo Han3f06d152013-06-21 16:25:29 +090099 select MIGHT_HAVE_PCI
100 select PCI_DOMAINS if PCI
Kukjin Kimb2318482012-12-27 09:19:08 -0800101 select PINCTRL_EXYNOS5440
Amit Daniel Kachhap64649dc2013-04-08 08:17:37 +0000102 select PM_OPP
Kukjin Kim2edb36c2012-11-15 15:48:56 +0900103 help
104 Enable EXYNOS5440 SoC support
105
Kukjin Kimb3e68fb2012-02-10 13:13:15 +0900106comment "Flattened Device Tree based board for EXYNOS SoCs"
Thomas Abraham6b5ab4f2011-11-06 21:54:27 +0530107
108config MACH_EXYNOS4_DT
109 bool "Samsung Exynos4 Machine using device tree"
Kukjin Kim383ffda2013-06-10 18:15:23 +0900110 default y
Sachin Kamat5ad14302012-04-14 07:53:51 -0700111 depends on ARCH_EXYNOS4
Thomas Abraham6b5ab4f2011-11-06 21:54:27 +0530112 select ARM_AMBA
Thomas Abraham9fbf0c82013-03-09 16:10:03 +0900113 select CLKSRC_OF
Tomasz Figa68a433f2013-05-25 06:27:29 +0900114 select CLKSRC_SAMSUNG_PWM if CPU_EXYNOS4210
Russell Kingb1b3f492012-10-06 17:12:25 +0100115 select CPU_EXYNOS4210
Paul Bolle49b99972013-03-13 19:59:32 +0900116 select KEYBOARD_SAMSUNG if INPUT_KEYBOARD
Sachin Kamat20901f72013-02-08 13:58:17 -0800117 select S5P_DEV_MFC
Thomas Abraham6b5ab4f2011-11-06 21:54:27 +0530118 help
119 Machine support for Samsung Exynos4 machine with device tree enabled.
120 Select this if a fdt blob is available for the Exynos4 SoC based board.
121 Note: This is under development and not all peripherals can be supported
122 with this machine file.
123
Kukjin Kimb3e68fb2012-02-10 13:13:15 +0900124config MACH_EXYNOS5_DT
125 bool "SAMSUNG EXYNOS5 Machine using device tree"
Kukjin Kim2edb36c2012-11-15 15:48:56 +0900126 default y
Sachin Kamat5ad14302012-04-14 07:53:51 -0700127 depends on ARCH_EXYNOS5
Russell Kingb1b3f492012-10-06 17:12:25 +0100128 select ARM_AMBA
Thomas Abraham9fbf0c82013-03-09 16:10:03 +0900129 select CLKSRC_OF
Vivek Gautam0240d562013-04-10 19:38:41 +0900130 select USB_ARCH_HAS_XHCI
Kukjin Kimb3e68fb2012-02-10 13:13:15 +0900131 help
Sachin Kamat859a09e2012-08-28 11:40:06 -0700132 Machine support for Samsung EXYNOS5 machine with device tree enabled.
133 Select this if a fdt blob is available for the EXYNOS5 SoC based board.
Kukjin Kimb3e68fb2012-02-10 13:13:15 +0900134
Kukjin Kim10606aa2011-02-14 15:05:27 +0900135endmenu
136
137endif