18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
28c2ecf20Sopenharmony_ciconfig ARCH_HISI
38c2ecf20Sopenharmony_ci	bool "Hisilicon SoC Support"
48c2ecf20Sopenharmony_ci	depends on ARCH_MULTI_V7 || ARCH_MULTI_V5
58c2ecf20Sopenharmony_ci	select ARM_AMBA
68c2ecf20Sopenharmony_ci	select ARM_GIC if ARCH_MULTI_V7
78c2ecf20Sopenharmony_ci	select ARM_TIMER_SP804
88c2ecf20Sopenharmony_ci	select POWER_RESET
98c2ecf20Sopenharmony_ci	select POWER_RESET_HISI
108c2ecf20Sopenharmony_ci	select POWER_SUPPLY
118c2ecf20Sopenharmony_ci
128c2ecf20Sopenharmony_ciif ARCH_HISI
138c2ecf20Sopenharmony_ci
148c2ecf20Sopenharmony_cimenu "Hisilicon platform type"
158c2ecf20Sopenharmony_ci
168c2ecf20Sopenharmony_ciconfig ARCH_HI3xxx
178c2ecf20Sopenharmony_ci	bool "Hisilicon Hi36xx family"
188c2ecf20Sopenharmony_ci	depends on ARCH_MULTI_V7
198c2ecf20Sopenharmony_ci	select CACHE_L2X0
208c2ecf20Sopenharmony_ci	select HAVE_ARM_SCU if SMP
218c2ecf20Sopenharmony_ci	select HAVE_ARM_TWD if SMP
228c2ecf20Sopenharmony_ci	select PINCTRL
238c2ecf20Sopenharmony_ci	select PINCTRL_SINGLE
248c2ecf20Sopenharmony_ci	help
258c2ecf20Sopenharmony_ci	  Support for Hisilicon Hi36xx SoC family
268c2ecf20Sopenharmony_ci
278c2ecf20Sopenharmony_ciconfig ARCH_HIP01
288c2ecf20Sopenharmony_ci	bool "Hisilicon HIP01 family"
298c2ecf20Sopenharmony_ci	depends on ARCH_MULTI_V7
308c2ecf20Sopenharmony_ci	select HAVE_ARM_SCU if SMP
318c2ecf20Sopenharmony_ci	select HAVE_ARM_TWD if SMP
328c2ecf20Sopenharmony_ci	select ARM_GLOBAL_TIMER
338c2ecf20Sopenharmony_ci	help
348c2ecf20Sopenharmony_ci	  Support for Hisilicon HIP01 SoC family
358c2ecf20Sopenharmony_ci
368c2ecf20Sopenharmony_ciconfig ARCH_HIP04
378c2ecf20Sopenharmony_ci	bool "Hisilicon HiP04 Cortex A15 family"
388c2ecf20Sopenharmony_ci	depends on ARCH_MULTI_V7
398c2ecf20Sopenharmony_ci	select ARM_ERRATA_798181 if SMP
408c2ecf20Sopenharmony_ci	select HAVE_ARM_ARCH_TIMER
418c2ecf20Sopenharmony_ci	select MCPM if SMP
428c2ecf20Sopenharmony_ci	select MCPM_QUAD_CLUSTER if SMP
438c2ecf20Sopenharmony_ci	select GENERIC_IRQ_EFFECTIVE_AFF_MASK
448c2ecf20Sopenharmony_ci	help
458c2ecf20Sopenharmony_ci	  Support for Hisilicon HiP04 SoC family
468c2ecf20Sopenharmony_ci
478c2ecf20Sopenharmony_ciconfig ARCH_HIX5HD2
488c2ecf20Sopenharmony_ci	bool "Hisilicon X5HD2 family"
498c2ecf20Sopenharmony_ci	depends on ARCH_MULTI_V7
508c2ecf20Sopenharmony_ci	select CACHE_L2X0
518c2ecf20Sopenharmony_ci	select HAVE_ARM_SCU if SMP
528c2ecf20Sopenharmony_ci	select HAVE_ARM_TWD if SMP
538c2ecf20Sopenharmony_ci	select PINCTRL
548c2ecf20Sopenharmony_ci	select PINCTRL_SINGLE
558c2ecf20Sopenharmony_ci	help
568c2ecf20Sopenharmony_ci	  Support for Hisilicon HIX5HD2 SoC family
578c2ecf20Sopenharmony_ci
588c2ecf20Sopenharmony_ciconfig ARCH_SD5203
598c2ecf20Sopenharmony_ci	bool "Hisilicon SD5203 family"
608c2ecf20Sopenharmony_ci	depends on ARCH_MULTI_V5
618c2ecf20Sopenharmony_ci	select DW_APB_ICTL
628c2ecf20Sopenharmony_ci	help
638c2ecf20Sopenharmony_ci	  Support for Hisilicon SD5203 SoC family
648c2ecf20Sopenharmony_ci
658c2ecf20Sopenharmony_ciendmenu
668c2ecf20Sopenharmony_ci
678c2ecf20Sopenharmony_ciendif
68