xref: /openbmc/linux/arch/arm/mach-sunxi/Kconfig (revision c819e2cf)
1menuconfig ARCH_SUNXI
2	bool "Allwinner SoCs" if ARCH_MULTI_V7
3	select ARCH_REQUIRE_GPIOLIB
4	select CLKSRC_MMIO
5	select GENERIC_IRQ_CHIP
6	select PINCTRL
7	select SUN4I_TIMER
8
9if ARCH_SUNXI
10
11config MACH_SUN4I
12	bool "Allwinner A10 (sun4i) SoCs support"
13	default ARCH_SUNXI
14
15config MACH_SUN5I
16	bool "Allwinner A10s / A13 (sun5i) SoCs support"
17	default ARCH_SUNXI
18	select SUN5I_HSTIMER
19
20config MACH_SUN6I
21	bool "Allwinner A31 (sun6i) SoCs support"
22	default ARCH_SUNXI
23	select ARCH_HAS_RESET_CONTROLLER
24	select ARM_GIC
25	select MFD_SUN6I_PRCM
26	select RESET_CONTROLLER
27	select SUN5I_HSTIMER
28
29config MACH_SUN7I
30	bool "Allwinner A20 (sun7i) SoCs support"
31	default ARCH_SUNXI
32	select ARM_GIC
33	select ARM_PSCI
34	select HAVE_ARM_ARCH_TIMER
35	select SUN5I_HSTIMER
36
37config MACH_SUN8I
38	bool "Allwinner A23 (sun8i) SoCs support"
39	default ARCH_SUNXI
40	select ARCH_HAS_RESET_CONTROLLER
41	select ARM_GIC
42	select MFD_SUN6I_PRCM
43	select RESET_CONTROLLER
44
45config MACH_SUN9I
46	bool "Allwinner (sun9i) SoCs support"
47	default ARCH_SUNXI
48	select ARCH_HAS_RESET_CONTROLLER
49	select ARM_GIC
50	select RESET_CONTROLLER
51
52endif
53