xref: /openbmc/linux/arch/arm/mach-hisi/Kconfig (revision 79a0d4d8)
17685b125SHaojian Zhuangconfig ARCH_HISI
27685b125SHaojian Zhuang	bool "Hisilicon SoC Support"
3d8f0faa3SArnd Bergmann	depends on ARCH_MULTI_V7
4389ee0c2SHaojian Zhuang	select ARM_AMBA
5389ee0c2SHaojian Zhuang	select ARM_GIC
6389ee0c2SHaojian Zhuang	select ARM_TIMER_SP804
74a9b3737SHaojian Zhuang	select POWER_RESET
84a9b3737SHaojian Zhuang	select POWER_RESET_HISI
94a9b3737SHaojian Zhuang	select POWER_SUPPLY
107685b125SHaojian Zhuang
117685b125SHaojian Zhuangif ARCH_HISI
127685b125SHaojian Zhuang
137685b125SHaojian Zhuangmenu "Hisilicon platform type"
147685b125SHaojian Zhuang
157685b125SHaojian Zhuangconfig ARCH_HI3xxx
16e3246542SMasahiro Yamada	bool "Hisilicon Hi36xx family"
17e3246542SMasahiro Yamada	depends on ARCH_MULTI_V7
18389ee0c2SHaojian Zhuang	select CACHE_L2X0
198f881c67SArnd Bergmann	select HAVE_ARM_SCU if SMP
2057789d69SRob Herring	select HAVE_ARM_TWD if SMP
21389ee0c2SHaojian Zhuang	select PINCTRL
22389ee0c2SHaojian Zhuang	select PINCTRL_SINGLE
23389ee0c2SHaojian Zhuang	help
2406cc5c1dSHaifeng Yan	  Support for Hisilicon Hi36xx SoC family
257685b125SHaojian Zhuang
2682fd132cSWang Longconfig ARCH_HIP01
27e3246542SMasahiro Yamada       bool "Hisilicon HIP01 family"
28e3246542SMasahiro Yamada       depends on ARCH_MULTI_V7
2982fd132cSWang Long       select HAVE_ARM_SCU if SMP
3082fd132cSWang Long       select HAVE_ARM_TWD if SMP
3182fd132cSWang Long       select ARM_GLOBAL_TIMER
3282fd132cSWang Long       help
3382fd132cSWang Long         Support for Hisilicon HIP01 SoC family
3482fd132cSWang Long
352d518edaSHaojian Zhuangconfig ARCH_HIP04
36e3246542SMasahiro Yamada	bool "Hisilicon HiP04 Cortex A15 family"
37e3246542SMasahiro Yamada	depends on ARCH_MULTI_V7
382d518edaSHaojian Zhuang	select ARM_ERRATA_798181 if SMP
392d518edaSHaojian Zhuang	select HAVE_ARM_ARCH_TIMER
402d518edaSHaojian Zhuang	select MCPM if SMP
412d518edaSHaojian Zhuang	select MCPM_QUAD_CLUSTER if SMP
4279a0d4d8SMarc Zyngier	select GENERIC_IRQ_EFFECTIVE_AFF_MASK
432d518edaSHaojian Zhuang	help
442d518edaSHaojian Zhuang	  Support for Hisilicon HiP04 SoC family
452d518edaSHaojian Zhuang
4606cc5c1dSHaifeng Yanconfig ARCH_HIX5HD2
47e3246542SMasahiro Yamada	bool "Hisilicon X5HD2 family"
48e3246542SMasahiro Yamada	depends on ARCH_MULTI_V7
4906cc5c1dSHaifeng Yan	select CACHE_L2X0
5006cc5c1dSHaifeng Yan	select HAVE_ARM_SCU if SMP
5106cc5c1dSHaifeng Yan	select HAVE_ARM_TWD if SMP
5206cc5c1dSHaifeng Yan	select PINCTRL
5306cc5c1dSHaifeng Yan	select PINCTRL_SINGLE
5406cc5c1dSHaifeng Yan	help
5506cc5c1dSHaifeng Yan	  Support for Hisilicon HIX5HD2 SoC family
567685b125SHaojian Zhuangendmenu
577685b125SHaojian Zhuang
587685b125SHaojian Zhuangendif
59