blob: 56fe819ee10b0dd17919e61fdec71cd403b1d6de [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
Amit Daniel Kachhap1f854b42013-07-24 14:30:29 +090039 select ARCH_HAS_BANDGAP
Arnd Bergmann15e0d9e2011-10-01 21:09:39 +020040 select ARM_CPU_SUSPEND if PM
Doug Anderson83978252013-06-10 18:26:53 +090041 select PINCTRL_EXYNOS
Arnd Bergmannc1fe55e2013-06-17 09:56:42 +020042 select PM_GENERIC_DOMAINS if PM
Abhilash Kesavan0da3bead2011-10-04 20:25:51 +090043 select S5P_PM if PM
Abhilash Kesavane2e13622011-10-04 20:25:51 +090044 select S5P_SLEEP if PM
Russell Kingb1b3f492012-10-06 17:12:25 +010045 select SAMSUNG_DMADEV
Kukjin Kim10606aa2011-02-14 15:05:27 +090046 help
47 Enable EXYNOS4210 CPU support
48
Kukjin Kim68465382011-08-24 17:25:09 +090049config SOC_EXYNOS4212
Kukjin Kim83014572011-11-06 13:54:56 +090050 bool "SAMSUNG EXYNOS4212"
51 default y
52 depends on ARCH_EXYNOS4
Amit Daniel Kachhap1f854b42013-07-24 14:30:29 +090053 select ARCH_HAS_BANDGAP
Doug Anderson83978252013-06-10 18:26:53 +090054 select PINCTRL_EXYNOS
Bartlomiej Zolnierkiewicz08e594f2013-08-19 05:05:16 +090055 select PM_GENERIC_DOMAINS if PM
Abhilash Kesavan0da3bead2011-10-04 20:25:51 +090056 select S5P_PM if PM
Abhilash Kesavane2e13622011-10-04 20:25:51 +090057 select S5P_SLEEP if PM
Russell Kingb1b3f492012-10-06 17:12:25 +010058 select SAMSUNG_DMADEV
Kukjin Kim68465382011-08-24 17:25:09 +090059 help
60 Enable EXYNOS4212 SoC support
61
Changhwan Youne6a275a2011-10-04 17:08:56 +090062config SOC_EXYNOS4412
Kukjin Kim83014572011-11-06 13:54:56 +090063 bool "SAMSUNG EXYNOS4412"
64 default y
65 depends on ARCH_EXYNOS4
Amit Daniel Kachhap1f854b42013-07-24 14:30:29 +090066 select ARCH_HAS_BANDGAP
Doug Anderson83978252013-06-10 18:26:53 +090067 select PINCTRL_EXYNOS
Bartlomiej Zolnierkiewicz08e594f2013-08-19 05:05:16 +090068 select PM_GENERIC_DOMAINS if PM
Boojin Kimefd99602012-02-15 13:16:15 +090069 select SAMSUNG_DMADEV
Changhwan Youne6a275a2011-10-04 17:08:56 +090070 help
71 Enable EXYNOS4412 SoC support
72
Kukjin Kim23f16c72012-03-13 07:44:39 -070073config SOC_EXYNOS5250
74 bool "SAMSUNG EXYNOS5250"
75 default y
76 depends on ARCH_EXYNOS5
Amit Daniel Kachhap1f854b42013-07-24 14:30:29 +090077 select ARCH_HAS_BANDGAP
Doug Anderson83978252013-06-10 18:26:53 +090078 select PINCTRL_EXYNOS
Prasanna Kumar6f9e95e2013-02-12 15:27:43 -080079 select PM_GENERIC_DOMAINS if PM
Jongpill Lee60e49ca2012-02-17 12:23:51 +090080 select S5P_PM if PM
81 select S5P_SLEEP if PM
Arun Kumar K2eae6132012-10-23 22:51:33 +090082 select S5P_DEV_MFC
Russell Kingb1b3f492012-10-06 17:12:25 +010083 select SAMSUNG_DMADEV
Kukjin Kim23f16c72012-03-13 07:44:39 -070084 help
85 Enable EXYNOS5250 SoC support
86
Chander Kashyap191d7542013-06-19 00:29:34 +090087config SOC_EXYNOS5420
88 bool "SAMSUNG EXYNOS5420"
89 default y
90 depends on ARCH_EXYNOS5
91 select PM_GENERIC_DOMAINS if PM
92 select S5P_PM if PM
93 select S5P_SLEEP if PM
94 help
95 Enable EXYNOS5420 SoC support
96
Kukjin Kim2edb36c2012-11-15 15:48:56 +090097config SOC_EXYNOS5440
98 bool "SAMSUNG EXYNOS5440"
99 default y
100 depends on ARCH_EXYNOS5
Thomas Abrahamcfaf8ee2013-07-16 12:42:59 +0900101 select ARCH_DMA_ADDR_T_64BIT if ARM_LPAE
Amit Daniel Kachhap1f854b42013-07-24 14:30:29 +0900102 select ARCH_HAS_BANDGAP
Amit Daniel Kachhap64649dc2013-04-08 08:17:37 +0000103 select ARCH_HAS_OPP
Mark Rutlandfb521a02013-03-20 13:57:38 +0000104 select HAVE_ARM_ARCH_TIMER
Kukjin Kim2edb36c2012-11-15 15:48:56 +0900105 select AUTO_ZRELADDR
Jingoo Han3f06d152013-06-21 16:25:29 +0900106 select MIGHT_HAVE_PCI
107 select PCI_DOMAINS if PCI
Kukjin Kimb2318482012-12-27 09:19:08 -0800108 select PINCTRL_EXYNOS5440
Amit Daniel Kachhap64649dc2013-04-08 08:17:37 +0000109 select PM_OPP
Kukjin Kim2edb36c2012-11-15 15:48:56 +0900110 help
111 Enable EXYNOS5440 SoC support
112
Kukjin Kimb3e68fb2012-02-10 13:13:15 +0900113comment "Flattened Device Tree based board for EXYNOS SoCs"
Thomas Abraham6b5ab4f2011-11-06 21:54:27 +0530114
115config MACH_EXYNOS4_DT
116 bool "Samsung Exynos4 Machine using device tree"
Kukjin Kim383ffda2013-06-10 18:15:23 +0900117 default y
Sachin Kamat5ad14302012-04-14 07:53:51 -0700118 depends on ARCH_EXYNOS4
Thomas Abraham6b5ab4f2011-11-06 21:54:27 +0530119 select ARM_AMBA
Thomas Abraham9fbf0c82013-03-09 16:10:03 +0900120 select CLKSRC_OF
Tomasz Figa68a433f2013-05-25 06:27:29 +0900121 select CLKSRC_SAMSUNG_PWM if CPU_EXYNOS4210
Russell Kingb1b3f492012-10-06 17:12:25 +0100122 select CPU_EXYNOS4210
Paul Bolle49b99972013-03-13 19:59:32 +0900123 select KEYBOARD_SAMSUNG if INPUT_KEYBOARD
Sachin Kamat20901f72013-02-08 13:58:17 -0800124 select S5P_DEV_MFC
Thomas Abraham6b5ab4f2011-11-06 21:54:27 +0530125 help
126 Machine support for Samsung Exynos4 machine with device tree enabled.
127 Select this if a fdt blob is available for the Exynos4 SoC based board.
128 Note: This is under development and not all peripherals can be supported
129 with this machine file.
130
Kukjin Kimb3e68fb2012-02-10 13:13:15 +0900131config MACH_EXYNOS5_DT
132 bool "SAMSUNG EXYNOS5 Machine using device tree"
Kukjin Kim2edb36c2012-11-15 15:48:56 +0900133 default y
Sachin Kamat5ad14302012-04-14 07:53:51 -0700134 depends on ARCH_EXYNOS5
Russell Kingb1b3f492012-10-06 17:12:25 +0100135 select ARM_AMBA
Thomas Abraham9fbf0c82013-03-09 16:10:03 +0900136 select CLKSRC_OF
Vivek Gautam0240d562013-04-10 19:38:41 +0900137 select USB_ARCH_HAS_XHCI
Kukjin Kimb3e68fb2012-02-10 13:13:15 +0900138 help
Sachin Kamat859a09e2012-08-28 11:40:06 -0700139 Machine support for Samsung EXYNOS5 machine with device tree enabled.
140 Select this if a fdt blob is available for the EXYNOS5 SoC based board.
Kukjin Kimb3e68fb2012-02-10 13:13:15 +0900141
Kukjin Kim10606aa2011-02-14 15:05:27 +0900142endmenu
143
144endif