1# SPDX-License-Identifier: GPL-2.0-only 2menuconfig ARCH_SUNXI 3 bool "Allwinner SoCs" 4 depends on 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 ARCH_SUPPORTS_BIG_ENDIAN 45 select HAVE_ARM_ARCH_TIMER 46 select SUN5I_HSTIMER 47 select SUNXI_NMI_INTC 48 49config MACH_SUN8I 50 bool "Allwinner sun8i Family SoCs support" 51 default ARCH_SUNXI 52 select ARM_GIC 53 select MFD_SUN6I_PRCM 54 select SUN6I_R_INTC 55 select SUNXI_NMI_INTC 56 57config MACH_SUN9I 58 bool "Allwinner (sun9i) SoCs support" 59 default ARCH_SUNXI 60 select ARM_GIC 61 select SUNXI_NMI_INTC 62 63config ARCH_SUNXI_MC_SMP 64 bool 65 depends on SMP 66 default MACH_SUN9I || MACH_SUN8I 67 select ARM_CCI400_PORT_CTRL 68 select ARM_CPU_SUSPEND 69 70endif 71 72if ARCH_MULTI_V5 73 74config MACH_SUNIV 75 bool "Allwinner ARMv5 F-series (suniv) SoCs support" 76 default ARCH_SUNXI 77 select SUN4I_INTC 78 help 79 Support for Allwinner suniv ARMv5 SoCs. 80 (F1C100A, F1C100s, F1C200s, F1C500, F1C600) 81 82endif 83 84endif 85