treewide: Add SPDX license identifier - Makefile/Kconfig
[linux-2.6-block.git] / arch / arm / mach-sunxi / Kconfig
CommitLineData
ec8f24b7 1# SPDX-License-Identifier: GPL-2.0-only
559482d1 2menuconfig ARCH_SUNXI
e3246542 3 bool "Allwinner SoCs"
ba08dcc8 4 depends on ARCH_MULTI_V5 || ARCH_MULTI_V7
fdc0074c 5 select ARCH_HAS_RESET_CONTROLLER
3b52634f 6 select CLKSRC_MMIO
3b52634f 7 select GENERIC_IRQ_CHIP
5c34a4e8 8 select GPIOLIB
3b52634f 9 select PINCTRL
202fc71b 10 select PM_OPP
119fd635 11 select SUN4I_TIMER
fdc0074c 12 select RESET_CONTROLLER
2391f4ad
MK
13 help
14 Support for Allwinner ARM-based family of processors
559482d1
MR
15
16if ARCH_SUNXI
17
2391f4ad
MK
18if ARCH_MULTI_V7
19
559482d1
MR
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
559482d1 32 select ARM_GIC
324da938 33 select MFD_SUN6I_PRCM
559482d1
MR
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
3515c1bb 41 select ARCH_SUPPORTS_BIG_ENDIAN
559482d1 42 select HAVE_ARM_ARCH_TIMER
67905540 43 select SUN5I_HSTIMER
559482d1 44
ac84b79f 45config MACH_SUN8I
14a882df 46 bool "Allwinner sun8i Family SoCs support"
ac84b79f
CYT
47 default ARCH_SUNXI
48 select ARM_GIC
5ba1657e 49 select MFD_SUN6I_PRCM
ac84b79f 50
3d4c2f1c
CYT
51config MACH_SUN9I
52 bool "Allwinner (sun9i) SoCs support"
53 default ARCH_SUNXI
54 select ARM_GIC
55
745373e3
CYT
56config ARCH_SUNXI_MC_SMP
57 bool
58 depends on SMP
6961275e 59 default MACH_SUN9I || MACH_SUN8I
745373e3
CYT
60 select ARM_CCI400_PORT_CTRL
61 select ARM_CPU_SUSPEND
62
559482d1 63endif
2391f4ad 64
ba08dcc8
MK
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
2391f4ad 76endif