viresh kumar | 986435e | 2010-04-01 12:30:49 +0100 | [diff] [blame] | 1 | # |
| 2 | # SPEAr Platform configuration file |
| 3 | # |
| 4 | |
Arnd Bergmann | 5b65fc5 | 2012-12-06 14:51:56 +0100 | [diff] [blame] | 5 | menuconfig PLAT_SPEAR |
Masahiro Yamada | e324654 | 2015-11-16 12:06:10 +0900 | [diff] [blame] | 6 | bool "ST SPEAr Family" |
| 7 | depends on ARCH_MULTI_V7 || ARCH_MULTI_V5 |
Arnd Bergmann | 5b65fc5 | 2012-12-06 14:51:56 +0100 | [diff] [blame] | 8 | select ARM_AMBA |
Arnd Bergmann | 5b65fc5 | 2012-12-06 14:51:56 +0100 | [diff] [blame] | 9 | select CLKSRC_MMIO |
Linus Walleij | 5c34a4e | 2016-06-02 14:10:16 +0200 | [diff] [blame] | 10 | select GPIOLIB |
Arnd Bergmann | 5b65fc5 | 2012-12-06 14:51:56 +0100 | [diff] [blame] | 11 | |
viresh kumar | 986435e | 2010-04-01 12:30:49 +0100 | [diff] [blame] | 12 | if PLAT_SPEAR |
| 13 | |
Viresh Kumar | 0d8e08f | 2012-04-19 22:34:25 +0530 | [diff] [blame] | 14 | config ARCH_SPEAR13XX |
Arnd Bergmann | 5b65fc5 | 2012-12-06 14:51:56 +0100 | [diff] [blame] | 15 | bool "ST SPEAr13xx" |
Paul Bolle | 3b0b8ec | 2014-04-15 10:26:47 +0200 | [diff] [blame] | 16 | depends on ARCH_MULTI_V7 |
Viresh Kumar | 0d8e08f | 2012-04-19 22:34:25 +0530 | [diff] [blame] | 17 | select ARM_GIC |
Shiraz Hashim | b53bc28 | 2012-11-16 10:45:25 +0530 | [diff] [blame] | 18 | select GPIO_SPEAR_SPICS |
Stephen Boyd | 4c3ffff | 2013-02-27 15:28:14 -0800 | [diff] [blame] | 19 | select HAVE_ARM_SCU if SMP |
Stephen Boyd | a894fcc | 2013-02-15 16:02:20 -0800 | [diff] [blame] | 20 | select HAVE_ARM_TWD if SMP |
Viresh Kumar | 0d8e08f | 2012-04-19 22:34:25 +0530 | [diff] [blame] | 21 | select PINCTRL |
Pratyush Anand | 23b7ad2 | 2014-02-11 12:10:47 +0530 | [diff] [blame] | 22 | select MFD_SYSCON |
Viresh Kumar | 0d8e08f | 2012-04-19 22:34:25 +0530 | [diff] [blame] | 23 | help |
| 24 | Supports for ARM's SPEAR13XX family |
| 25 | |
Arnd Bergmann | 4b6effb | 2012-12-02 14:51:55 +0100 | [diff] [blame] | 26 | if ARCH_SPEAR13XX |
| 27 | |
Arnd Bergmann | 4b6effb | 2012-12-02 14:51:55 +0100 | [diff] [blame] | 28 | config MACH_SPEAR1310 |
| 29 | bool "SPEAr1310 Machine support with Device Tree" |
| 30 | select PINCTRL_SPEAR1310 |
Pratyush Anand | 549f3ae | 2014-04-14 15:27:36 +0530 | [diff] [blame] | 31 | select PHY_ST_SPEAR1310_MIPHY |
Arnd Bergmann | 4b6effb | 2012-12-02 14:51:55 +0100 | [diff] [blame] | 32 | help |
| 33 | Supports ST SPEAr1310 machine configured via the device-tree |
| 34 | |
| 35 | config MACH_SPEAR1340 |
| 36 | bool "SPEAr1340 Machine support with Device Tree" |
| 37 | select PINCTRL_SPEAR1340 |
Pratyush Anand | 549f3ae | 2014-04-14 15:27:36 +0530 | [diff] [blame] | 38 | select PHY_ST_SPEAR1340_MIPHY |
Arnd Bergmann | 4b6effb | 2012-12-02 14:51:55 +0100 | [diff] [blame] | 39 | help |
| 40 | Supports ST SPEAr1340 machine configured via the device-tree |
Arnd Bergmann | 5b65fc5 | 2012-12-06 14:51:56 +0100 | [diff] [blame] | 41 | |
Arnd Bergmann | 4b6effb | 2012-12-02 14:51:55 +0100 | [diff] [blame] | 42 | endif #ARCH_SPEAR13XX |
| 43 | |
Arnd Bergmann | 5b65fc5 | 2012-12-06 14:51:56 +0100 | [diff] [blame] | 44 | config ARCH_SPEAR3XX |
| 45 | bool "ST SPEAr3xx" |
Paul Bolle | 3b0b8ec | 2014-04-15 10:26:47 +0200 | [diff] [blame] | 46 | depends on ARCH_MULTI_V5 |
Arnd Bergmann | 5b65fc5 | 2012-12-06 14:51:56 +0100 | [diff] [blame] | 47 | depends on !ARCH_SPEAR13XX |
| 48 | select ARM_VIC |
Arnd Bergmann | 5b65fc5 | 2012-12-06 14:51:56 +0100 | [diff] [blame] | 49 | select PINCTRL |
Arnd Bergmann | 5b65fc5 | 2012-12-06 14:51:56 +0100 | [diff] [blame] | 50 | help |
| 51 | Supports for ARM's SPEAR3XX family |
| 52 | |
Arnd Bergmann | 4b6effb | 2012-12-02 14:51:55 +0100 | [diff] [blame] | 53 | if ARCH_SPEAR3XX |
| 54 | |
Arnd Bergmann | 4b6effb | 2012-12-02 14:51:55 +0100 | [diff] [blame] | 55 | config 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 | |
| 61 | config 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 | |
| 67 | config 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 Bergmann | 4b6effb | 2012-12-02 14:51:55 +0100 | [diff] [blame] | 72 | |
| 73 | endif |
| 74 | |
Arnd Bergmann | 5b65fc5 | 2012-12-06 14:51:56 +0100 | [diff] [blame] | 75 | config ARCH_SPEAR6XX |
| 76 | bool "ST SPEAr6XX" |
Paul Bolle | 3b0b8ec | 2014-04-15 10:26:47 +0200 | [diff] [blame] | 77 | depends on ARCH_MULTI_V5 |
Arnd Bergmann | 5b65fc5 | 2012-12-06 14:51:56 +0100 | [diff] [blame] | 78 | depends on !ARCH_SPEAR13XX |
| 79 | select ARM_VIC |
Arnd Bergmann | 5b65fc5 | 2012-12-06 14:51:56 +0100 | [diff] [blame] | 80 | help |
| 81 | Supports for ARM's SPEAR6XX family |
| 82 | |
Arnd Bergmann | 4b6effb | 2012-12-02 14:51:55 +0100 | [diff] [blame] | 83 | config MACH_SPEAR600 |
| 84 | def_bool y |
| 85 | depends on ARCH_SPEAR6XX |
Arnd Bergmann | 4b6effb | 2012-12-02 14:51:55 +0100 | [diff] [blame] | 86 | help |
Paul Bolle | e4556c0 | 2014-03-09 22:41:46 +0100 | [diff] [blame] | 87 | Supports ST SPEAr600 boards configured via the device-tree |
viresh kumar | 986435e | 2010-04-01 12:30:49 +0100 | [diff] [blame] | 88 | |
Arnd Bergmann | 5b65fc5 | 2012-12-06 14:51:56 +0100 | [diff] [blame] | 89 | config ARCH_SPEAR_AUTO |
Paul Bolle | 3b0b8ec | 2014-04-15 10:26:47 +0200 | [diff] [blame] | 90 | bool |
Arnd Bergmann | 5b65fc5 | 2012-12-06 14:51:56 +0100 | [diff] [blame] | 91 | depends on !ARCH_SPEAR13XX && !ARCH_SPEAR6XX |
| 92 | select ARCH_SPEAR3XX |
| 93 | |
viresh kumar | 986435e | 2010-04-01 12:30:49 +0100 | [diff] [blame] | 94 | endif |
Arnd Bergmann | 5b65fc5 | 2012-12-06 14:51:56 +0100 | [diff] [blame] | 95 | |