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