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