xref: /openbmc/linux/arch/arm/mach-hisi/Kconfig (revision 2a598d0b)
1# SPDX-License-Identifier: GPL-2.0-only
2config ARCH_HISI
3	bool "Hisilicon SoC Support"
4	depends on ARCH_MULTI_V7 || (ARCH_MULTI_V5 && CPU_LITTLE_ENDIAN)
5	select ARM_AMBA
6	select ARM_GIC if ARCH_MULTI_V7
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	depends on ARCH_MULTI_V7
19	select CACHE_L2X0
20	select HAVE_ARM_SCU if SMP
21	select HAVE_ARM_TWD if SMP
22	select PINCTRL
23	select PINCTRL_SINGLE
24	help
25	  Support for Hisilicon Hi36xx SoC family
26
27config ARCH_HIP01
28	bool "Hisilicon HIP01 family"
29	depends on ARCH_MULTI_V7
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
36config ARCH_HIP04
37	bool "Hisilicon HiP04 Cortex A15 family"
38	depends on ARCH_MULTI_V7
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
43	select GENERIC_IRQ_EFFECTIVE_AFF_MASK if SMP
44	help
45	  Support for Hisilicon HiP04 SoC family
46
47config ARCH_HIX5HD2
48	bool "Hisilicon X5HD2 family"
49	depends on ARCH_MULTI_V7
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
57
58config ARCH_SD5203
59	bool "Hisilicon SD5203 family"
60	depends on ARCH_MULTI_V5
61	select DW_APB_ICTL
62	help
63	  Support for Hisilicon SD5203 SoC family
64
65endmenu
66
67endif
68