162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
262306a36Sopenharmony_ciconfig ARCH_HISI
362306a36Sopenharmony_ci	bool "Hisilicon SoC Support"
462306a36Sopenharmony_ci	depends on ARCH_MULTI_V7 || (ARCH_MULTI_V5 && CPU_LITTLE_ENDIAN)
562306a36Sopenharmony_ci	select ARM_AMBA
662306a36Sopenharmony_ci	select ARM_GIC if ARCH_MULTI_V7
762306a36Sopenharmony_ci	select ARM_TIMER_SP804
862306a36Sopenharmony_ci	select POWER_RESET
962306a36Sopenharmony_ci	select POWER_RESET_HISI
1062306a36Sopenharmony_ci	select POWER_SUPPLY
1162306a36Sopenharmony_ci
1262306a36Sopenharmony_ciif ARCH_HISI
1362306a36Sopenharmony_ci
1462306a36Sopenharmony_cimenu "Hisilicon platform type"
1562306a36Sopenharmony_ci
1662306a36Sopenharmony_ciconfig ARCH_HI3xxx
1762306a36Sopenharmony_ci	bool "Hisilicon Hi36xx family"
1862306a36Sopenharmony_ci	depends on ARCH_MULTI_V7
1962306a36Sopenharmony_ci	select CACHE_L2X0
2062306a36Sopenharmony_ci	select HAVE_ARM_SCU if SMP
2162306a36Sopenharmony_ci	select HAVE_ARM_TWD if SMP
2262306a36Sopenharmony_ci	select PINCTRL
2362306a36Sopenharmony_ci	select PINCTRL_SINGLE
2462306a36Sopenharmony_ci	help
2562306a36Sopenharmony_ci	  Support for Hisilicon Hi36xx SoC family
2662306a36Sopenharmony_ci
2762306a36Sopenharmony_ciconfig ARCH_HIP01
2862306a36Sopenharmony_ci	bool "Hisilicon HIP01 family"
2962306a36Sopenharmony_ci	depends on ARCH_MULTI_V7
3062306a36Sopenharmony_ci	select HAVE_ARM_SCU if SMP
3162306a36Sopenharmony_ci	select HAVE_ARM_TWD if SMP
3262306a36Sopenharmony_ci	select ARM_GLOBAL_TIMER
3362306a36Sopenharmony_ci	help
3462306a36Sopenharmony_ci	  Support for Hisilicon HIP01 SoC family
3562306a36Sopenharmony_ci
3662306a36Sopenharmony_ciconfig ARCH_HIP04
3762306a36Sopenharmony_ci	bool "Hisilicon HiP04 Cortex A15 family"
3862306a36Sopenharmony_ci	depends on ARCH_MULTI_V7
3962306a36Sopenharmony_ci	select ARM_ERRATA_798181 if SMP
4062306a36Sopenharmony_ci	select HAVE_ARM_ARCH_TIMER
4162306a36Sopenharmony_ci	select MCPM if SMP
4262306a36Sopenharmony_ci	select MCPM_QUAD_CLUSTER if SMP
4362306a36Sopenharmony_ci	select GENERIC_IRQ_EFFECTIVE_AFF_MASK if SMP
4462306a36Sopenharmony_ci	help
4562306a36Sopenharmony_ci	  Support for Hisilicon HiP04 SoC family
4662306a36Sopenharmony_ci
4762306a36Sopenharmony_ciconfig ARCH_HIX5HD2
4862306a36Sopenharmony_ci	bool "Hisilicon X5HD2 family"
4962306a36Sopenharmony_ci	depends on ARCH_MULTI_V7
5062306a36Sopenharmony_ci	select CACHE_L2X0
5162306a36Sopenharmony_ci	select HAVE_ARM_SCU if SMP
5262306a36Sopenharmony_ci	select HAVE_ARM_TWD if SMP
5362306a36Sopenharmony_ci	select PINCTRL
5462306a36Sopenharmony_ci	select PINCTRL_SINGLE
5562306a36Sopenharmony_ci	help
5662306a36Sopenharmony_ci	  Support for Hisilicon HIX5HD2 SoC family
5762306a36Sopenharmony_ci
5862306a36Sopenharmony_ciconfig ARCH_SD5203
5962306a36Sopenharmony_ci	bool "Hisilicon SD5203 family"
6062306a36Sopenharmony_ci	depends on ARCH_MULTI_V5
6162306a36Sopenharmony_ci	select DW_APB_ICTL
6262306a36Sopenharmony_ci	help
6362306a36Sopenharmony_ci	  Support for Hisilicon SD5203 SoC family
6462306a36Sopenharmony_ci
6562306a36Sopenharmony_ciendmenu
6662306a36Sopenharmony_ci
6762306a36Sopenharmony_ciendif
68