18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
28c2ecf20Sopenharmony_cimenuconfig ARCH_SUNXI
38c2ecf20Sopenharmony_ci	bool "Allwinner SoCs"
48c2ecf20Sopenharmony_ci	depends on ARCH_MULTI_V5 || ARCH_MULTI_V7
58c2ecf20Sopenharmony_ci	select ARCH_HAS_RESET_CONTROLLER
68c2ecf20Sopenharmony_ci	select CLKSRC_MMIO
78c2ecf20Sopenharmony_ci	select GENERIC_IRQ_CHIP
88c2ecf20Sopenharmony_ci	select GPIOLIB
98c2ecf20Sopenharmony_ci	select PINCTRL
108c2ecf20Sopenharmony_ci	select PM_OPP
118c2ecf20Sopenharmony_ci	select SUN4I_TIMER
128c2ecf20Sopenharmony_ci	select RESET_CONTROLLER
138c2ecf20Sopenharmony_ci	help
148c2ecf20Sopenharmony_ci	  Support for Allwinner ARM-based family of processors
158c2ecf20Sopenharmony_ci
168c2ecf20Sopenharmony_ciif ARCH_SUNXI
178c2ecf20Sopenharmony_ci
188c2ecf20Sopenharmony_ciif ARCH_MULTI_V7
198c2ecf20Sopenharmony_ci
208c2ecf20Sopenharmony_ciconfig MACH_SUN4I
218c2ecf20Sopenharmony_ci	bool "Allwinner A10 (sun4i) SoCs support"
228c2ecf20Sopenharmony_ci	default ARCH_SUNXI
238c2ecf20Sopenharmony_ci
248c2ecf20Sopenharmony_ciconfig MACH_SUN5I
258c2ecf20Sopenharmony_ci	bool "Allwinner A10s / A13 (sun5i) SoCs support"
268c2ecf20Sopenharmony_ci	default ARCH_SUNXI
278c2ecf20Sopenharmony_ci	select SUN5I_HSTIMER
288c2ecf20Sopenharmony_ci
298c2ecf20Sopenharmony_ciconfig MACH_SUN6I
308c2ecf20Sopenharmony_ci	bool "Allwinner A31 (sun6i) SoCs support"
318c2ecf20Sopenharmony_ci	default ARCH_SUNXI
328c2ecf20Sopenharmony_ci	select ARM_GIC
338c2ecf20Sopenharmony_ci	select MFD_SUN6I_PRCM
348c2ecf20Sopenharmony_ci	select SUN5I_HSTIMER
358c2ecf20Sopenharmony_ci
368c2ecf20Sopenharmony_ciconfig MACH_SUN7I
378c2ecf20Sopenharmony_ci	bool "Allwinner A20 (sun7i) SoCs support"
388c2ecf20Sopenharmony_ci	default ARCH_SUNXI
398c2ecf20Sopenharmony_ci	select ARM_GIC
408c2ecf20Sopenharmony_ci	select ARM_PSCI
418c2ecf20Sopenharmony_ci	select ARCH_SUPPORTS_BIG_ENDIAN
428c2ecf20Sopenharmony_ci	select HAVE_ARM_ARCH_TIMER
438c2ecf20Sopenharmony_ci	select SUN5I_HSTIMER
448c2ecf20Sopenharmony_ci
458c2ecf20Sopenharmony_ciconfig MACH_SUN8I
468c2ecf20Sopenharmony_ci	bool "Allwinner sun8i Family SoCs support"
478c2ecf20Sopenharmony_ci	default ARCH_SUNXI
488c2ecf20Sopenharmony_ci	select ARM_GIC
498c2ecf20Sopenharmony_ci	select MFD_SUN6I_PRCM
508c2ecf20Sopenharmony_ci
518c2ecf20Sopenharmony_ciconfig MACH_SUN9I
528c2ecf20Sopenharmony_ci	bool "Allwinner (sun9i) SoCs support"
538c2ecf20Sopenharmony_ci	default ARCH_SUNXI
548c2ecf20Sopenharmony_ci	select ARM_GIC
558c2ecf20Sopenharmony_ci
568c2ecf20Sopenharmony_ciconfig ARCH_SUNXI_MC_SMP
578c2ecf20Sopenharmony_ci	bool
588c2ecf20Sopenharmony_ci	depends on SMP
598c2ecf20Sopenharmony_ci	default MACH_SUN9I || MACH_SUN8I
608c2ecf20Sopenharmony_ci	select ARM_CCI400_PORT_CTRL
618c2ecf20Sopenharmony_ci	select ARM_CPU_SUSPEND
628c2ecf20Sopenharmony_ci
638c2ecf20Sopenharmony_ciendif
648c2ecf20Sopenharmony_ci
658c2ecf20Sopenharmony_ciif ARCH_MULTI_V5
668c2ecf20Sopenharmony_ci
678c2ecf20Sopenharmony_ciconfig MACH_SUNIV
688c2ecf20Sopenharmony_ci	bool "Allwinner ARMv5 F-series (suniv) SoCs support"
698c2ecf20Sopenharmony_ci	default ARCH_SUNXI
708c2ecf20Sopenharmony_ci	help
718c2ecf20Sopenharmony_ci	  Support for Allwinner suniv ARMv5 SoCs.
728c2ecf20Sopenharmony_ci	  (F1C100A, F1C100s, F1C200s, F1C500, F1C600)
738c2ecf20Sopenharmony_ci
748c2ecf20Sopenharmony_ciendif
758c2ecf20Sopenharmony_ci
768c2ecf20Sopenharmony_ciendif
77