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