xref: /openbmc/linux/arch/arm/mach-sunxi/Kconfig (revision 5d6f5267)
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 GENERIC_IRQ_CHIP
8	select GPIOLIB
9	select IRQ_DOMAIN_HIERARCHY
10	select IRQ_FASTEOI_HIERARCHY_HANDLERS
11	select PINCTRL
12	select PM_OPP
13	select SUN4I_TIMER
14	select RESET_CONTROLLER
15	help
16	  Support for Allwinner ARM-based family of processors
17
18if ARCH_SUNXI
19
20if ARCH_MULTI_V7
21
22config MACH_SUN4I
23	bool "Allwinner A10 (sun4i) SoCs support"
24	default ARCH_SUNXI
25
26config MACH_SUN5I
27	bool "Allwinner A10s / A13 (sun5i) SoCs support"
28	default ARCH_SUNXI
29	select SUN5I_HSTIMER
30
31config MACH_SUN6I
32	bool "Allwinner A31 (sun6i) SoCs support"
33	default ARCH_SUNXI
34	select ARM_GIC
35	select MFD_SUN6I_PRCM
36	select SUN5I_HSTIMER
37
38config MACH_SUN7I
39	bool "Allwinner A20 (sun7i) SoCs support"
40	default ARCH_SUNXI
41	select ARM_GIC
42	select ARM_PSCI
43	select HAVE_ARM_ARCH_TIMER
44	select SUN5I_HSTIMER
45
46config MACH_SUN8I
47	bool "Allwinner sun8i Family SoCs support"
48	default ARCH_SUNXI
49	select ARM_GIC
50	select MFD_SUN6I_PRCM
51
52config MACH_SUN9I
53	bool "Allwinner (sun9i) SoCs support"
54	default ARCH_SUNXI
55	select ARM_GIC
56
57config ARCH_SUNXI_MC_SMP
58	bool
59	depends on SMP
60	default MACH_SUN9I || MACH_SUN8I
61	select ARM_CCI400_PORT_CTRL
62	select ARM_CPU_SUSPEND
63
64endif
65
66if ARCH_MULTI_V5
67
68config MACH_SUNIV
69	bool "Allwinner ARMv5 F-series (suniv) SoCs support"
70	default ARCH_SUNXI
71	help
72	  Support for Allwinner suniv ARMv5 SoCs.
73	  (F1C100A, F1C100s, F1C200s, F1C500, F1C600)
74
75endif
76
77endif
78