Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: GPL-2.0-only
0002 menuconfig ARCH_SUNXI
0003         bool "Allwinner SoCs"
0004         depends on (CPU_LITTLE_ENDIAN && ARCH_MULTI_V5) || ARCH_MULTI_V7
0005         select ARCH_HAS_RESET_CONTROLLER
0006         select CLKSRC_MMIO
0007         select GPIOLIB
0008         select PINCTRL
0009         select PM_OPP
0010         select SUN4I_TIMER
0011         select RESET_CONTROLLER
0012         help
0013           Support for Allwinner ARM-based family of processors
0014 
0015 if ARCH_SUNXI
0016 
0017 if ARCH_MULTI_V7
0018 
0019 config MACH_SUN4I
0020         bool "Allwinner A10 (sun4i) SoCs support"
0021         default ARCH_SUNXI
0022         select SUN4I_INTC
0023 
0024 config MACH_SUN5I
0025         bool "Allwinner A10s / A13 (sun5i) SoCs support"
0026         default ARCH_SUNXI
0027         select SUN4I_INTC
0028         select SUN5I_HSTIMER
0029 
0030 config MACH_SUN6I
0031         bool "Allwinner A31 (sun6i) SoCs support"
0032         default ARCH_SUNXI
0033         select ARM_GIC
0034         select MFD_SUN6I_PRCM
0035         select SUN5I_HSTIMER
0036         select SUN6I_R_INTC
0037         select SUNXI_NMI_INTC
0038 
0039 config MACH_SUN7I
0040         bool "Allwinner A20 (sun7i) SoCs support"
0041         default ARCH_SUNXI
0042         select ARM_GIC
0043         select ARM_PSCI
0044         select HAVE_ARM_ARCH_TIMER
0045         select SUN5I_HSTIMER
0046         select SUNXI_NMI_INTC
0047 
0048 config MACH_SUN8I
0049         bool "Allwinner sun8i Family SoCs support"
0050         default ARCH_SUNXI
0051         select ARM_GIC
0052         select MFD_SUN6I_PRCM
0053         select SUN6I_R_INTC
0054         select SUNXI_NMI_INTC
0055 
0056 config MACH_SUN9I
0057         bool "Allwinner (sun9i) SoCs support"
0058         default ARCH_SUNXI
0059         select ARM_GIC
0060         select SUNXI_NMI_INTC
0061 
0062 config ARCH_SUNXI_MC_SMP
0063         bool
0064         depends on SMP
0065         default MACH_SUN9I || MACH_SUN8I
0066         select ARM_CCI400_PORT_CTRL
0067         select ARM_CPU_SUSPEND
0068 
0069 endif
0070 
0071 if ARCH_MULTI_V5
0072 
0073 config MACH_SUNIV
0074         bool "Allwinner ARMv5 F-series (suniv) SoCs support"
0075         default ARCH_SUNXI
0076         select SUN4I_INTC
0077         help
0078           Support for Allwinner suniv ARMv5 SoCs.
0079           (F1C100A, F1C100s, F1C200s, F1C500, F1C600)
0080 
0081 endif
0082 
0083 endif