xref: /openbmc/linux/arch/arm/mach-spear/Kconfig (revision 588b48ca)
1#
2# SPEAr Platform configuration file
3#
4
5menuconfig PLAT_SPEAR
6	bool "ST SPEAr Family" if ARCH_MULTI_V7 || ARCH_MULTI_V5
7	default PLAT_SPEAR_SINGLE
8	select ARCH_REQUIRE_GPIOLIB
9	select ARM_AMBA
10	select CLKSRC_MMIO
11
12if PLAT_SPEAR
13
14config ARCH_SPEAR13XX
15	bool "ST SPEAr13xx"
16	depends on ARCH_MULTI_V7 || PLAT_SPEAR_SINGLE
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	select MIGHT_HAVE_PCI
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 || PLAT_SPEAR_SINGLE
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 || PLAT_SPEAR_SINGLE
79	depends on !ARCH_SPEAR13XX
80	select ARM_VIC
81	help
82	  Supports for ARM's SPEAR6XX family
83
84config MACH_SPEAR600
85	def_bool y
86	depends on ARCH_SPEAR6XX
87	help
88	  Supports ST SPEAr600 boards configured via the device-tree
89
90config ARCH_SPEAR_AUTO
91	def_bool PLAT_SPEAR_SINGLE
92	depends on !ARCH_SPEAR13XX && !ARCH_SPEAR6XX
93	select ARCH_SPEAR3XX
94
95endif
96
97