Linux-libre 5.4.49-gnu
[librecmc/linux-libre.git] / arch / arm / mach-sunxi / Kconfig
1 # SPDX-License-Identifier: GPL-2.0-only
2 menuconfig 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
16 if ARCH_SUNXI
17
18 if ARCH_MULTI_V7
19
20 config MACH_SUN4I
21         bool "Allwinner A10 (sun4i) SoCs support"
22         default ARCH_SUNXI
23
24 config MACH_SUN5I
25         bool "Allwinner A10s / A13 (sun5i) SoCs support"
26         default ARCH_SUNXI
27         select SUN5I_HSTIMER
28
29 config 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
36 config 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
45 config MACH_SUN8I
46         bool "Allwinner sun8i Family SoCs support"
47         default ARCH_SUNXI
48         select ARM_GIC
49         select MFD_SUN6I_PRCM
50
51 config MACH_SUN9I
52         bool "Allwinner (sun9i) SoCs support"
53         default ARCH_SUNXI
54         select ARM_GIC
55
56 config 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
63 endif
64
65 if ARCH_MULTI_V5
66
67 config 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
74 endif
75
76 endif