blob: 6fd4dc88160b2645ce78b67527776d4ba03c3720 [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
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
Arnd Bergmann5b65fc52012-12-06 14:51:56 +010010 select CLKSRC_MMIO
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"
16 depends on ARCH_MULTI_V7 || PLAT_SPEAR_SINGLE
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
Pratyush Anand549f3ae2014-04-14 15:27:36 +053023 select MIGHT_HAVE_PCI
Viresh Kumar0d8e08f2012-04-19 22:34:25 +053024 help
25 Supports for ARM's SPEAR13XX family
26
Arnd Bergmann4b6effb2012-12-02 14:51:55 +010027if ARCH_SPEAR13XX
28
Arnd Bergmann4b6effb2012-12-02 14:51:55 +010029config MACH_SPEAR1310
30 bool "SPEAr1310 Machine support with Device Tree"
31 select PINCTRL_SPEAR1310
Pratyush Anand549f3ae2014-04-14 15:27:36 +053032 select PHY_ST_SPEAR1310_MIPHY
Arnd Bergmann4b6effb2012-12-02 14:51:55 +010033 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
Pratyush Anand549f3ae2014-04-14 15:27:36 +053039 select PHY_ST_SPEAR1340_MIPHY
Arnd Bergmann4b6effb2012-12-02 14:51:55 +010040 help
41 Supports ST SPEAr1340 machine configured via the device-tree
Arnd Bergmann5b65fc52012-12-06 14:51:56 +010042
Arnd Bergmann4b6effb2012-12-02 14:51:55 +010043endif #ARCH_SPEAR13XX
44
Arnd Bergmann5b65fc52012-12-06 14:51:56 +010045config ARCH_SPEAR3XX
46 bool "ST SPEAr3xx"
47 depends on ARCH_MULTI_V5 || PLAT_SPEAR_SINGLE
48 depends on !ARCH_SPEAR13XX
49 select ARM_VIC
Arnd Bergmann5b65fc52012-12-06 14:51:56 +010050 select PINCTRL
Arnd Bergmann5b65fc52012-12-06 14:51:56 +010051 help
52 Supports for ARM's SPEAR3XX family
53
Arnd Bergmann4b6effb2012-12-02 14:51:55 +010054if ARCH_SPEAR3XX
55
Arnd Bergmann4b6effb2012-12-02 14:51:55 +010056config 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
Arnd Bergmann4b6effb2012-12-02 14:51:55 +010073
74endif
75
Arnd Bergmann5b65fc52012-12-06 14:51:56 +010076config ARCH_SPEAR6XX
77 bool "ST SPEAr6XX"
78 depends on ARCH_MULTI_V5 || PLAT_SPEAR_SINGLE
79 depends on !ARCH_SPEAR13XX
80 select ARM_VIC
Arnd Bergmann5b65fc52012-12-06 14:51:56 +010081 help
82 Supports for ARM's SPEAR6XX family
83
Arnd Bergmann4b6effb2012-12-02 14:51:55 +010084config MACH_SPEAR600
85 def_bool y
86 depends on ARCH_SPEAR6XX
Arnd Bergmann4b6effb2012-12-02 14:51:55 +010087 help
Paul Bollee4556c02014-03-09 22:41:46 +010088 Supports ST SPEAr600 boards configured via the device-tree
viresh kumar986435e2010-04-01 12:30:49 +010089
Arnd Bergmann5b65fc52012-12-06 14:51:56 +010090config ARCH_SPEAR_AUTO
91 def_bool PLAT_SPEAR_SINGLE
92 depends on !ARCH_SPEAR13XX && !ARCH_SPEAR6XX
93 select ARCH_SPEAR3XX
94
viresh kumar986435e2010-04-01 12:30:49 +010095endif
Arnd Bergmann5b65fc52012-12-06 14:51:56 +010096