0001 # SPDX-License-Identifier: GPL-2.0-only
0002 #
0003 # SPEAr Platform configuration file
0004 #
0005
0006 menuconfig PLAT_SPEAR
0007 bool "ST SPEAr Family"
0008 depends on ARCH_MULTI_V7 || (ARCH_MULTI_V5 && CPU_LITTLE_ENDIAN)
0009 select ARM_AMBA
0010 select CLKSRC_MMIO
0011 select GPIOLIB
0012
0013 if PLAT_SPEAR
0014
0015 config ARCH_SPEAR13XX
0016 bool "ST SPEAr13xx"
0017 depends on ARCH_MULTI_V7
0018 select ARM_GIC
0019 select GPIO_SPEAR_SPICS
0020 select HAVE_ARM_SCU if SMP
0021 select HAVE_ARM_TWD if SMP
0022 select PINCTRL
0023 select MFD_SYSCON
0024 help
0025 Supports for ARM's SPEAR13XX family
0026
0027 if ARCH_SPEAR13XX
0028
0029 config MACH_SPEAR1310
0030 bool "SPEAr1310 Machine support with Device Tree"
0031 select PINCTRL_SPEAR1310
0032 select PHY_ST_SPEAR1310_MIPHY
0033 help
0034 Supports ST SPEAr1310 machine configured via the device-tree
0035
0036 config MACH_SPEAR1340
0037 bool "SPEAr1340 Machine support with Device Tree"
0038 select PINCTRL_SPEAR1340
0039 select PHY_ST_SPEAR1340_MIPHY
0040 help
0041 Supports ST SPEAr1340 machine configured via the device-tree
0042
0043 endif #ARCH_SPEAR13XX
0044
0045 config ARCH_SPEAR3XX
0046 bool "ST SPEAr3xx"
0047 depends on ARCH_MULTI_V5
0048 depends on !ARCH_SPEAR13XX
0049 select ARM_VIC
0050 select PINCTRL
0051 help
0052 Supports for ARM's SPEAR3XX family
0053
0054 if ARCH_SPEAR3XX
0055
0056 config MACH_SPEAR300
0057 bool "SPEAr300 Machine support with Device Tree"
0058 select PINCTRL_SPEAR300
0059 help
0060 Supports ST SPEAr300 machine configured via the device-tree
0061
0062 config MACH_SPEAR310
0063 bool "SPEAr310 Machine support with Device Tree"
0064 select PINCTRL_SPEAR310
0065 help
0066 Supports ST SPEAr310 machine configured via the device-tree
0067
0068 config MACH_SPEAR320
0069 bool "SPEAr320 Machine support with Device Tree"
0070 select PINCTRL_SPEAR320
0071 help
0072 Supports ST SPEAr320 machine configured via the device-tree
0073
0074 endif
0075
0076 config ARCH_SPEAR6XX
0077 bool "ST SPEAr6XX"
0078 depends on ARCH_MULTI_V5
0079 depends on !ARCH_SPEAR13XX
0080 select ARM_VIC
0081 help
0082 Supports for ARM's SPEAR6XX family
0083
0084 config MACH_SPEAR600
0085 def_bool y
0086 depends on ARCH_SPEAR6XX
0087 help
0088 Supports ST SPEAr600 boards configured via the device-tree
0089
0090 config ARCH_SPEAR_AUTO
0091 bool
0092 depends on !ARCH_SPEAR13XX && !ARCH_SPEAR6XX
0093 select ARCH_SPEAR3XX
0094
0095 endif
0096