blob: 98338a489921322a1e3127c943330de05eaaf6bc [file] [log] [blame]
Thomas Gleixnerec8f24b2019-05-19 13:07:45 +01001# SPDX-License-Identifier: GPL-2.0-only
Haojian Zhuang7685b122014-04-01 11:01:09 +08002config ARCH_HISI
3 bool "Hisilicon SoC Support"
Arnd Bergmannd8f0faa2014-09-29 17:46:15 +02004 depends on ARCH_MULTI_V7
Haojian Zhuang2c7268c2013-12-11 15:54:50 +08005 select ARM_AMBA
6 select ARM_GIC
7 select ARM_TIMER_SP804
Haojian Zhuang4a9b3732014-05-13 17:11:28 +08008 select POWER_RESET
9 select POWER_RESET_HISI
10 select POWER_SUPPLY
Haojian Zhuang7685b122014-04-01 11:01:09 +080011
12if ARCH_HISI
13
14menu "Hisilicon platform type"
15
16config ARCH_HI3xxx
Masahiro Yamadae3246542015-11-16 12:06:10 +090017 bool "Hisilicon Hi36xx family"
18 depends on ARCH_MULTI_V7
Haojian Zhuang2c7268c2013-12-11 15:54:50 +080019 select CACHE_L2X0
Arnd Bergmann8f881c62014-02-17 20:29:14 +010020 select HAVE_ARM_SCU if SMP
Rob Herring57789d62014-02-01 16:35:42 -060021 select HAVE_ARM_TWD if SMP
Haojian Zhuang2c7268c2013-12-11 15:54:50 +080022 select PINCTRL
23 select PINCTRL_SINGLE
Haojian Zhuang2c7268c2013-12-11 15:54:50 +080024 help
Haifeng Yan06cc5c12014-04-11 11:54:11 +080025 Support for Hisilicon Hi36xx SoC family
Haojian Zhuang7685b122014-04-01 11:01:09 +080026
Wang Long82fd1322014-12-24 03:09:57 +000027config ARCH_HIP01
Masahiro Yamadae3246542015-11-16 12:06:10 +090028 bool "Hisilicon HIP01 family"
29 depends on ARCH_MULTI_V7
Wang Long82fd1322014-12-24 03:09:57 +000030 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 Zhuang2d518ed2014-05-09 16:58:04 +080036config ARCH_HIP04
Masahiro Yamadae3246542015-11-16 12:06:10 +090037 bool "Hisilicon HiP04 Cortex A15 family"
38 depends on ARCH_MULTI_V7
Haojian Zhuang2d518ed2014-05-09 16:58:04 +080039 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 Zyngier79a0d4d2017-08-18 09:39:23 +010043 select GENERIC_IRQ_EFFECTIVE_AFF_MASK
Haojian Zhuang2d518ed2014-05-09 16:58:04 +080044 help
45 Support for Hisilicon HiP04 SoC family
46
Haifeng Yan06cc5c12014-04-11 11:54:11 +080047config ARCH_HIX5HD2
Masahiro Yamadae3246542015-11-16 12:06:10 +090048 bool "Hisilicon X5HD2 family"
49 depends on ARCH_MULTI_V7
Haifeng Yan06cc5c12014-04-11 11:54:11 +080050 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 Zhuang7685b122014-04-01 11:01:09 +080057endmenu
58
59endif