xref: /openbmc/linux/arch/arm/mach-exynos/Kconfig (revision 5bd8e16d)
1# arch/arm/mach-exynos/Kconfig
2#
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
10if ARCH_EXYNOS
11
12menu "SAMSUNG EXYNOS SoCs Support"
13
14config ARCH_EXYNOS4
15	bool "SAMSUNG EXYNOS4"
16	default y
17	select GIC_NON_BANKED
18	select HAVE_ARM_SCU if SMP
19	select HAVE_SMP
20	select MIGHT_HAVE_CACHE_L2X0
21	select PINCTRL
22	help
23	  Samsung EXYNOS4 SoCs based systems
24
25config ARCH_EXYNOS5
26	bool "SAMSUNG EXYNOS5"
27	select HAVE_ARM_SCU if SMP
28	select HAVE_SMP
29	select PINCTRL
30	help
31	  Samsung EXYNOS5 (Cortex-A15) SoC based systems
32
33comment "EXYNOS SoCs"
34
35config CPU_EXYNOS4210
36	bool "SAMSUNG EXYNOS4210"
37	default y
38	depends on ARCH_EXYNOS4
39	select ARCH_HAS_BANDGAP
40	select ARM_CPU_SUSPEND if PM
41	select PINCTRL_EXYNOS
42	select PM_GENERIC_DOMAINS if PM
43	select S5P_PM if PM
44	select S5P_SLEEP if PM
45	select SAMSUNG_DMADEV
46	help
47	  Enable EXYNOS4210 CPU support
48
49config SOC_EXYNOS4212
50	bool "SAMSUNG EXYNOS4212"
51	default y
52	depends on ARCH_EXYNOS4
53	select ARCH_HAS_BANDGAP
54	select PINCTRL_EXYNOS
55	select PM_GENERIC_DOMAINS if PM
56	select S5P_PM if PM
57	select S5P_SLEEP if PM
58	select SAMSUNG_DMADEV
59	help
60	  Enable EXYNOS4212 SoC support
61
62config SOC_EXYNOS4412
63	bool "SAMSUNG EXYNOS4412"
64	default y
65	depends on ARCH_EXYNOS4
66	select ARCH_HAS_BANDGAP
67	select PINCTRL_EXYNOS
68	select PM_GENERIC_DOMAINS if PM
69	select SAMSUNG_DMADEV
70	help
71	  Enable EXYNOS4412 SoC support
72
73config SOC_EXYNOS5250
74	bool "SAMSUNG EXYNOS5250"
75	default y
76	depends on ARCH_EXYNOS5
77	select ARCH_HAS_BANDGAP
78	select PINCTRL_EXYNOS
79	select PM_GENERIC_DOMAINS if PM
80	select S5P_PM if PM
81	select S5P_SLEEP if PM
82	select S5P_DEV_MFC
83	select SAMSUNG_DMADEV
84	help
85	  Enable EXYNOS5250 SoC support
86
87config 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
97config SOC_EXYNOS5440
98	bool "SAMSUNG EXYNOS5440"
99	default y
100	depends on ARCH_EXYNOS5
101	select ARCH_DMA_ADDR_T_64BIT if ARM_LPAE
102	select ARCH_HAS_BANDGAP
103	select ARCH_HAS_OPP
104	select HAVE_ARM_ARCH_TIMER
105	select AUTO_ZRELADDR
106	select MIGHT_HAVE_PCI
107	select PCI_DOMAINS if PCI
108	select PINCTRL_EXYNOS5440
109	select PM_OPP
110	help
111	  Enable EXYNOS5440 SoC support
112
113comment "Flattened Device Tree based board for EXYNOS SoCs"
114
115config MACH_EXYNOS4_DT
116	bool "Samsung Exynos4 Machine using device tree"
117	default y
118	depends on ARCH_EXYNOS4
119	select ARM_AMBA
120	select CLKSRC_OF
121	select CLKSRC_SAMSUNG_PWM if CPU_EXYNOS4210
122	select CPU_EXYNOS4210
123	select KEYBOARD_SAMSUNG if INPUT_KEYBOARD
124	select S5P_DEV_MFC
125	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
131config MACH_EXYNOS5_DT
132	bool "SAMSUNG EXYNOS5 Machine using device tree"
133	default y
134	depends on ARCH_EXYNOS5
135	select ARM_AMBA
136	select CLKSRC_OF
137	select USB_ARCH_HAS_XHCI
138	help
139	  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.
141
142endmenu
143
144endif
145