xref: /openbmc/linux/arch/arm/mach-hisi/Kconfig (revision 0e6c027c)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
27685b125SHaojian Zhuangconfig ARCH_HISI
37685b125SHaojian Zhuang	bool "Hisilicon SoC Support"
45d6f5267SArnd Bergmann	depends on ARCH_MULTI_V7 || (ARCH_MULTI_V5 && CPU_LITTLE_ENDIAN)
5389ee0c2SHaojian Zhuang	select ARM_AMBA
6c0831445SKefeng Wang	select ARM_GIC if ARCH_MULTI_V7
7389ee0c2SHaojian Zhuang	select ARM_TIMER_SP804
84a9b3737SHaojian Zhuang	select POWER_RESET
94a9b3737SHaojian Zhuang	select POWER_RESET_HISI
104a9b3737SHaojian Zhuang	select POWER_SUPPLY
117685b125SHaojian Zhuang
127685b125SHaojian Zhuangif ARCH_HISI
137685b125SHaojian Zhuang
147685b125SHaojian Zhuangmenu "Hisilicon platform type"
157685b125SHaojian Zhuang
167685b125SHaojian Zhuangconfig ARCH_HI3xxx
17e3246542SMasahiro Yamada	bool "Hisilicon Hi36xx family"
18c0831445SKefeng Wang	depends on ARCH_MULTI_V7
19389ee0c2SHaojian Zhuang	select CACHE_L2X0
208f881c67SArnd Bergmann	select HAVE_ARM_SCU if SMP
2157789d69SRob Herring	select HAVE_ARM_TWD if SMP
22389ee0c2SHaojian Zhuang	select PINCTRL
23389ee0c2SHaojian Zhuang	select PINCTRL_SINGLE
24389ee0c2SHaojian Zhuang	help
2506cc5c1dSHaifeng Yan	  Support for Hisilicon Hi36xx SoC family
267685b125SHaojian Zhuang
2782fd132cSWang Longconfig ARCH_HIP01
28e3246542SMasahiro Yamada	bool "Hisilicon HIP01 family"
29c0831445SKefeng Wang	depends on ARCH_MULTI_V7
3082fd132cSWang Long	select HAVE_ARM_SCU if SMP
3182fd132cSWang Long	select HAVE_ARM_TWD if SMP
3282fd132cSWang Long	select ARM_GLOBAL_TIMER
3382fd132cSWang Long	help
3482fd132cSWang Long	  Support for Hisilicon HIP01 SoC family
3582fd132cSWang Long
362d518edaSHaojian Zhuangconfig ARCH_HIP04
37e3246542SMasahiro Yamada	bool "Hisilicon HiP04 Cortex A15 family"
38c0831445SKefeng Wang	depends on ARCH_MULTI_V7
392d518edaSHaojian Zhuang	select ARM_ERRATA_798181 if SMP
402d518edaSHaojian Zhuang	select HAVE_ARM_ARCH_TIMER
412d518edaSHaojian Zhuang	select MCPM if SMP
422d518edaSHaojian Zhuang	select MCPM_QUAD_CLUSTER if SMP
43*0e6c027cSSamuel Holland	select GENERIC_IRQ_EFFECTIVE_AFF_MASK if SMP
442d518edaSHaojian Zhuang	help
452d518edaSHaojian Zhuang	  Support for Hisilicon HiP04 SoC family
462d518edaSHaojian Zhuang
4706cc5c1dSHaifeng Yanconfig ARCH_HIX5HD2
48e3246542SMasahiro Yamada	bool "Hisilicon X5HD2 family"
49c0831445SKefeng Wang	depends on ARCH_MULTI_V7
5006cc5c1dSHaifeng Yan	select CACHE_L2X0
5106cc5c1dSHaifeng Yan	select HAVE_ARM_SCU if SMP
5206cc5c1dSHaifeng Yan	select HAVE_ARM_TWD if SMP
5306cc5c1dSHaifeng Yan	select PINCTRL
5406cc5c1dSHaifeng Yan	select PINCTRL_SINGLE
5506cc5c1dSHaifeng Yan	help
5606cc5c1dSHaifeng Yan	  Support for Hisilicon HIX5HD2 SoC family
57c0831445SKefeng Wang
58c0831445SKefeng Wangconfig ARCH_SD5203
59c0831445SKefeng Wang	bool "Hisilicon SD5203 family"
60c0831445SKefeng Wang	depends on ARCH_MULTI_V5
61c0831445SKefeng Wang	select DW_APB_ICTL
62c0831445SKefeng Wang	help
63c0831445SKefeng Wang	  Support for Hisilicon SD5203 SoC family
64c0831445SKefeng Wang
657685b125SHaojian Zhuangendmenu
667685b125SHaojian Zhuang
677685b125SHaojian Zhuangendif
68