xref: /openbmc/linux/arch/arm/mach-hisi/Kconfig (revision 06b72824)
1# SPDX-License-Identifier: GPL-2.0-only
2config ARCH_HISI
3	bool "Hisilicon SoC Support"
4	depends on ARCH_MULTI_V7
5	select ARM_AMBA
6	select ARM_GIC
7	select ARM_TIMER_SP804
8	select POWER_RESET
9	select POWER_RESET_HISI
10	select POWER_SUPPLY
11
12if ARCH_HISI
13
14menu "Hisilicon platform type"
15
16config ARCH_HI3xxx
17	bool "Hisilicon Hi36xx family"
18	select CACHE_L2X0
19	select HAVE_ARM_SCU if SMP
20	select HAVE_ARM_TWD if SMP
21	select PINCTRL
22	select PINCTRL_SINGLE
23	help
24	  Support for Hisilicon Hi36xx SoC family
25
26config ARCH_HIP01
27	bool "Hisilicon HIP01 family"
28	select HAVE_ARM_SCU if SMP
29	select HAVE_ARM_TWD if SMP
30	select ARM_GLOBAL_TIMER
31	help
32	  Support for Hisilicon HIP01 SoC family
33
34config ARCH_HIP04
35	bool "Hisilicon HiP04 Cortex A15 family"
36	select ARM_ERRATA_798181 if SMP
37	select HAVE_ARM_ARCH_TIMER
38	select MCPM if SMP
39	select MCPM_QUAD_CLUSTER if SMP
40	select GENERIC_IRQ_EFFECTIVE_AFF_MASK
41	help
42	  Support for Hisilicon HiP04 SoC family
43
44config ARCH_HIX5HD2
45	bool "Hisilicon X5HD2 family"
46	select CACHE_L2X0
47	select HAVE_ARM_SCU if SMP
48	select HAVE_ARM_TWD if SMP
49	select PINCTRL
50	select PINCTRL_SINGLE
51	help
52	  Support for Hisilicon HIX5HD2 SoC family
53endmenu
54
55endif
56