1# SPDX-License-Identifier: GPL-2.0-only 2menuconfig ARCH_SUNXI 3 bool "Allwinner SoCs" 4 depends on (CPU_LITTLE_ENDIAN && ARCH_MULTI_V5) || ARCH_MULTI_V7 5 select ARCH_HAS_RESET_CONTROLLER 6 select CLKSRC_MMIO 7 select GPIOLIB 8 select PINCTRL 9 select PM_OPP 10 select SUN4I_TIMER 11 select RESET_CONTROLLER 12 help 13 Support for Allwinner ARM-based family of processors 14 15if ARCH_SUNXI 16 17if ARCH_MULTI_V7 18 19config MACH_SUN4I 20 bool "Allwinner A10 (sun4i) SoCs support" 21 default ARCH_SUNXI 22 select SUN4I_INTC 23 24config MACH_SUN5I 25 bool "Allwinner A10s / A13 (sun5i) SoCs support" 26 default ARCH_SUNXI 27 select SUN4I_INTC 28 select SUN5I_HSTIMER 29 30config MACH_SUN6I 31 bool "Allwinner A31 (sun6i) SoCs support" 32 default ARCH_SUNXI 33 select ARM_GIC 34 select MFD_SUN6I_PRCM 35 select SUN5I_HSTIMER 36 select SUN6I_R_INTC 37 select SUNXI_NMI_INTC 38 39config MACH_SUN7I 40 bool "Allwinner A20 (sun7i) SoCs support" 41 default ARCH_SUNXI 42 select ARM_GIC 43 select ARM_PSCI 44 select HAVE_ARM_ARCH_TIMER 45 select SUN5I_HSTIMER 46 select SUNXI_NMI_INTC 47 48config MACH_SUN8I 49 bool "Allwinner sun8i Family SoCs support" 50 default ARCH_SUNXI 51 select ARM_GIC 52 select MFD_SUN6I_PRCM 53 select SUN6I_R_INTC 54 select SUNXI_NMI_INTC 55 56config MACH_SUN9I 57 bool "Allwinner (sun9i) SoCs support" 58 default ARCH_SUNXI 59 select ARM_GIC 60 select SUNXI_NMI_INTC 61 62config ARCH_SUNXI_MC_SMP 63 bool 64 depends on SMP 65 default MACH_SUN9I || MACH_SUN8I 66 select ARM_CCI400_PORT_CTRL 67 select ARM_CPU_SUSPEND 68 69endif 70 71if ARCH_MULTI_V5 72 73config MACH_SUNIV 74 bool "Allwinner ARMv5 F-series (suniv) SoCs support" 75 default ARCH_SUNXI 76 select SUN4I_INTC 77 help 78 Support for Allwinner suniv ARMv5 SoCs. 79 (F1C100A, F1C100s, F1C200s, F1C500, F1C600) 80 81endif 82 83endif 84