Thomas Gleixner | ec8f24b | 2019-05-19 13:07:45 +0100 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0-only |
Haojian Zhuang | 7685b12 | 2014-04-01 11:01:09 +0800 | [diff] [blame] | 2 | config ARCH_HISI |
| 3 | bool "Hisilicon SoC Support" |
Arnd Bergmann | d8f0faa | 2014-09-29 17:46:15 +0200 | [diff] [blame] | 4 | depends on ARCH_MULTI_V7 |
Haojian Zhuang | 2c7268c | 2013-12-11 15:54:50 +0800 | [diff] [blame] | 5 | select ARM_AMBA |
| 6 | select ARM_GIC |
| 7 | select ARM_TIMER_SP804 |
Haojian Zhuang | 4a9b373 | 2014-05-13 17:11:28 +0800 | [diff] [blame] | 8 | select POWER_RESET |
| 9 | select POWER_RESET_HISI |
| 10 | select POWER_SUPPLY |
Haojian Zhuang | 7685b12 | 2014-04-01 11:01:09 +0800 | [diff] [blame] | 11 | |
| 12 | if ARCH_HISI |
| 13 | |
| 14 | menu "Hisilicon platform type" |
| 15 | |
| 16 | config ARCH_HI3xxx |
Masahiro Yamada | e324654 | 2015-11-16 12:06:10 +0900 | [diff] [blame] | 17 | bool "Hisilicon Hi36xx family" |
| 18 | depends on ARCH_MULTI_V7 |
Haojian Zhuang | 2c7268c | 2013-12-11 15:54:50 +0800 | [diff] [blame] | 19 | select CACHE_L2X0 |
Arnd Bergmann | 8f881c6 | 2014-02-17 20:29:14 +0100 | [diff] [blame] | 20 | select HAVE_ARM_SCU if SMP |
Rob Herring | 57789d6 | 2014-02-01 16:35:42 -0600 | [diff] [blame] | 21 | select HAVE_ARM_TWD if SMP |
Haojian Zhuang | 2c7268c | 2013-12-11 15:54:50 +0800 | [diff] [blame] | 22 | select PINCTRL |
| 23 | select PINCTRL_SINGLE |
Haojian Zhuang | 2c7268c | 2013-12-11 15:54:50 +0800 | [diff] [blame] | 24 | help |
Haifeng Yan | 06cc5c1 | 2014-04-11 11:54:11 +0800 | [diff] [blame] | 25 | Support for Hisilicon Hi36xx SoC family |
Haojian Zhuang | 7685b12 | 2014-04-01 11:01:09 +0800 | [diff] [blame] | 26 | |
Wang Long | 82fd132 | 2014-12-24 03:09:57 +0000 | [diff] [blame] | 27 | config ARCH_HIP01 |
Masahiro Yamada | e324654 | 2015-11-16 12:06:10 +0900 | [diff] [blame] | 28 | bool "Hisilicon HIP01 family" |
| 29 | depends on ARCH_MULTI_V7 |
Wang Long | 82fd132 | 2014-12-24 03:09:57 +0000 | [diff] [blame] | 30 | select HAVE_ARM_SCU if SMP |
| 31 | select HAVE_ARM_TWD if SMP |
| 32 | select ARM_GLOBAL_TIMER |
| 33 | help |
| 34 | Support for Hisilicon HIP01 SoC family |
| 35 | |
Haojian Zhuang | 2d518ed | 2014-05-09 16:58:04 +0800 | [diff] [blame] | 36 | config ARCH_HIP04 |
Masahiro Yamada | e324654 | 2015-11-16 12:06:10 +0900 | [diff] [blame] | 37 | bool "Hisilicon HiP04 Cortex A15 family" |
| 38 | depends on ARCH_MULTI_V7 |
Haojian Zhuang | 2d518ed | 2014-05-09 16:58:04 +0800 | [diff] [blame] | 39 | select ARM_ERRATA_798181 if SMP |
| 40 | select HAVE_ARM_ARCH_TIMER |
| 41 | select MCPM if SMP |
| 42 | select MCPM_QUAD_CLUSTER if SMP |
Marc Zyngier | 79a0d4d | 2017-08-18 09:39:23 +0100 | [diff] [blame] | 43 | select GENERIC_IRQ_EFFECTIVE_AFF_MASK |
Haojian Zhuang | 2d518ed | 2014-05-09 16:58:04 +0800 | [diff] [blame] | 44 | help |
| 45 | Support for Hisilicon HiP04 SoC family |
| 46 | |
Haifeng Yan | 06cc5c1 | 2014-04-11 11:54:11 +0800 | [diff] [blame] | 47 | config ARCH_HIX5HD2 |
Masahiro Yamada | e324654 | 2015-11-16 12:06:10 +0900 | [diff] [blame] | 48 | bool "Hisilicon X5HD2 family" |
| 49 | depends on ARCH_MULTI_V7 |
Haifeng Yan | 06cc5c1 | 2014-04-11 11:54:11 +0800 | [diff] [blame] | 50 | select CACHE_L2X0 |
| 51 | select HAVE_ARM_SCU if SMP |
| 52 | select HAVE_ARM_TWD if SMP |
| 53 | select PINCTRL |
| 54 | select PINCTRL_SINGLE |
| 55 | help |
| 56 | Support for Hisilicon HIX5HD2 SoC family |
Haojian Zhuang | 7685b12 | 2014-04-01 11:01:09 +0800 | [diff] [blame] | 57 | endmenu |
| 58 | |
| 59 | endif |