xref: /openbmc/linux/arch/arm/mach-spear/Kconfig (revision e3d786a3)
1#
2# SPEAr Platform configuration file
3#
4
5menuconfig PLAT_SPEAR
6	bool "ST SPEAr Family"
7	depends on ARCH_MULTI_V7 || ARCH_MULTI_V5
8	select ARM_AMBA
9	select CLKSRC_MMIO
10	select GPIOLIB
11
12if PLAT_SPEAR
13
14config ARCH_SPEAR13XX
15	bool "ST SPEAr13xx"
16	depends on ARCH_MULTI_V7
17	select ARM_GIC
18	select GPIO_SPEAR_SPICS
19	select HAVE_ARM_SCU if SMP
20	select HAVE_ARM_TWD if SMP
21	select PINCTRL
22	select MFD_SYSCON
23	help
24	  Supports for ARM's SPEAR13XX family
25
26if ARCH_SPEAR13XX
27
28config MACH_SPEAR1310
29	bool "SPEAr1310 Machine support with Device Tree"
30	select PINCTRL_SPEAR1310
31	select PHY_ST_SPEAR1310_MIPHY
32	help
33	  Supports ST SPEAr1310 machine configured via the device-tree
34
35config MACH_SPEAR1340
36	bool "SPEAr1340 Machine support with Device Tree"
37	select PINCTRL_SPEAR1340
38	select PHY_ST_SPEAR1340_MIPHY
39	help
40	  Supports ST SPEAr1340 machine configured via the device-tree
41
42endif #ARCH_SPEAR13XX
43
44config ARCH_SPEAR3XX
45	bool "ST SPEAr3xx"
46	depends on ARCH_MULTI_V5
47	depends on !ARCH_SPEAR13XX
48	select ARM_VIC
49	select PINCTRL
50	help
51	  Supports for ARM's SPEAR3XX family
52
53if ARCH_SPEAR3XX
54
55config MACH_SPEAR300
56	bool "SPEAr300 Machine support with Device Tree"
57	select PINCTRL_SPEAR300
58	help
59	  Supports ST SPEAr300 machine configured via the device-tree
60
61config MACH_SPEAR310
62	bool "SPEAr310 Machine support with Device Tree"
63	select PINCTRL_SPEAR310
64	help
65	  Supports ST SPEAr310 machine configured via the device-tree
66
67config MACH_SPEAR320
68	bool "SPEAr320 Machine support with Device Tree"
69	select PINCTRL_SPEAR320
70	help
71	  Supports ST SPEAr320 machine configured via the device-tree
72
73endif
74
75config ARCH_SPEAR6XX
76	bool "ST SPEAr6XX"
77	depends on ARCH_MULTI_V5
78	depends on !ARCH_SPEAR13XX
79	select ARM_VIC
80	help
81	  Supports for ARM's SPEAR6XX family
82
83config MACH_SPEAR600
84	def_bool y
85	depends on ARCH_SPEAR6XX
86	help
87	  Supports ST SPEAr600 boards configured via the device-tree
88
89config ARCH_SPEAR_AUTO
90	bool
91	depends on !ARCH_SPEAR13XX && !ARCH_SPEAR6XX
92	select ARCH_SPEAR3XX
93
94endif
95
96