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