xref: /openbmc/linux/arch/arm/mach-sunxi/Kconfig (revision ba61bb17)
1menuconfig ARCH_SUNXI
2	bool "Allwinner SoCs"
3	depends on 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
13if ARCH_SUNXI
14
15config MACH_SUN4I
16	bool "Allwinner A10 (sun4i) SoCs support"
17	default ARCH_SUNXI
18
19config MACH_SUN5I
20	bool "Allwinner A10s / A13 (sun5i) SoCs support"
21	default ARCH_SUNXI
22	select SUN5I_HSTIMER
23
24config MACH_SUN6I
25	bool "Allwinner A31 (sun6i) SoCs support"
26	default ARCH_SUNXI
27	select ARM_GIC
28	select MFD_SUN6I_PRCM
29	select SUN5I_HSTIMER
30
31config MACH_SUN7I
32	bool "Allwinner A20 (sun7i) SoCs support"
33	default ARCH_SUNXI
34	select ARM_GIC
35	select ARM_PSCI
36	select ARCH_SUPPORTS_BIG_ENDIAN
37	select HAVE_ARM_ARCH_TIMER
38	select SUN5I_HSTIMER
39
40config MACH_SUN8I
41	bool "Allwinner sun8i Family SoCs support"
42	default ARCH_SUNXI
43	select ARM_GIC
44	select MFD_SUN6I_PRCM
45
46config MACH_SUN9I
47	bool "Allwinner (sun9i) SoCs support"
48	default ARCH_SUNXI
49	select ARM_GIC
50
51config ARCH_SUNXI_MC_SMP
52	bool
53	depends on SMP
54	default MACH_SUN9I || MACH_SUN8I
55	select ARM_CCI400_PORT_CTRL
56	select ARM_CPU_SUSPEND
57
58endif
59