blob: 1b6cae5e78f4cb7144811b4e05f3a0a237aabd60 [file] [log] [blame]
viresh kumar986435e2010-04-01 12:30:49 +01001#
2# SPEAr Platform configuration file
3#
4
Arnd Bergmann5b65fc52012-12-06 14:51:56 +01005menuconfig PLAT_SPEAR
Masahiro Yamadae3246542015-11-16 12:06:10 +09006 bool "ST SPEAr Family"
7 depends on ARCH_MULTI_V7 || ARCH_MULTI_V5
Arnd Bergmann5b65fc52012-12-06 14:51:56 +01008 select ARM_AMBA
Arnd Bergmann5b65fc52012-12-06 14:51:56 +01009 select CLKSRC_MMIO
Linus Walleij5c34a4e2016-06-02 14:10:16 +020010 select GPIOLIB
Arnd Bergmann5b65fc52012-12-06 14:51:56 +010011
viresh kumar986435e2010-04-01 12:30:49 +010012if PLAT_SPEAR
13
Viresh Kumar0d8e08f2012-04-19 22:34:25 +053014config ARCH_SPEAR13XX
Arnd Bergmann5b65fc52012-12-06 14:51:56 +010015 bool "ST SPEAr13xx"
Paul Bolle3b0b8ec2014-04-15 10:26:47 +020016 depends on ARCH_MULTI_V7
Viresh Kumar0d8e08f2012-04-19 22:34:25 +053017 select ARM_GIC
Shiraz Hashimb53bc282012-11-16 10:45:25 +053018 select GPIO_SPEAR_SPICS
Stephen Boyd4c3ffff2013-02-27 15:28:14 -080019 select HAVE_ARM_SCU if SMP
Stephen Boyda894fcc2013-02-15 16:02:20 -080020 select HAVE_ARM_TWD if SMP
Viresh Kumar0d8e08f2012-04-19 22:34:25 +053021 select PINCTRL
Pratyush Anand23b7ad22014-02-11 12:10:47 +053022 select MFD_SYSCON
Viresh Kumar0d8e08f2012-04-19 22:34:25 +053023 help
24 Supports for ARM's SPEAR13XX family
25
Arnd Bergmann4b6effb2012-12-02 14:51:55 +010026if ARCH_SPEAR13XX
27
Arnd Bergmann4b6effb2012-12-02 14:51:55 +010028config MACH_SPEAR1310
29 bool "SPEAr1310 Machine support with Device Tree"
30 select PINCTRL_SPEAR1310
Pratyush Anand549f3ae2014-04-14 15:27:36 +053031 select PHY_ST_SPEAR1310_MIPHY
Arnd Bergmann4b6effb2012-12-02 14:51:55 +010032 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
Pratyush Anand549f3ae2014-04-14 15:27:36 +053038 select PHY_ST_SPEAR1340_MIPHY
Arnd Bergmann4b6effb2012-12-02 14:51:55 +010039 help
40 Supports ST SPEAr1340 machine configured via the device-tree
Arnd Bergmann5b65fc52012-12-06 14:51:56 +010041
Arnd Bergmann4b6effb2012-12-02 14:51:55 +010042endif #ARCH_SPEAR13XX
43
Arnd Bergmann5b65fc52012-12-06 14:51:56 +010044config ARCH_SPEAR3XX
45 bool "ST SPEAr3xx"
Paul Bolle3b0b8ec2014-04-15 10:26:47 +020046 depends on ARCH_MULTI_V5
Arnd Bergmann5b65fc52012-12-06 14:51:56 +010047 depends on !ARCH_SPEAR13XX
48 select ARM_VIC
Arnd Bergmann5b65fc52012-12-06 14:51:56 +010049 select PINCTRL
Arnd Bergmann5b65fc52012-12-06 14:51:56 +010050 help
51 Supports for ARM's SPEAR3XX family
52
Arnd Bergmann4b6effb2012-12-02 14:51:55 +010053if ARCH_SPEAR3XX
54
Arnd Bergmann4b6effb2012-12-02 14:51:55 +010055config 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
Arnd Bergmann4b6effb2012-12-02 14:51:55 +010072
73endif
74
Arnd Bergmann5b65fc52012-12-06 14:51:56 +010075config ARCH_SPEAR6XX
76 bool "ST SPEAr6XX"
Paul Bolle3b0b8ec2014-04-15 10:26:47 +020077 depends on ARCH_MULTI_V5
Arnd Bergmann5b65fc52012-12-06 14:51:56 +010078 depends on !ARCH_SPEAR13XX
79 select ARM_VIC
Arnd Bergmann5b65fc52012-12-06 14:51:56 +010080 help
81 Supports for ARM's SPEAR6XX family
82
Arnd Bergmann4b6effb2012-12-02 14:51:55 +010083config MACH_SPEAR600
84 def_bool y
85 depends on ARCH_SPEAR6XX
Arnd Bergmann4b6effb2012-12-02 14:51:55 +010086 help
Paul Bollee4556c02014-03-09 22:41:46 +010087 Supports ST SPEAr600 boards configured via the device-tree
viresh kumar986435e2010-04-01 12:30:49 +010088
Arnd Bergmann5b65fc52012-12-06 14:51:56 +010089config ARCH_SPEAR_AUTO
Paul Bolle3b0b8ec2014-04-15 10:26:47 +020090 bool
Arnd Bergmann5b65fc52012-12-06 14:51:56 +010091 depends on !ARCH_SPEAR13XX && !ARCH_SPEAR6XX
92 select ARCH_SPEAR3XX
93
viresh kumar986435e2010-04-01 12:30:49 +010094endif
Arnd Bergmann5b65fc52012-12-06 14:51:56 +010095