blob: 3aff96602868e2948113207b20ad50d488a63e4b [file] [log] [blame]
Maxime Ripard559482d2014-04-28 16:03:20 -07001menuconfig ARCH_SUNXI
2 bool "Allwinner SoCs" if ARCH_MULTI_V7
Maxime Ripard19a280a2013-05-12 15:06:51 +02003 select ARCH_REQUIRE_GPIOLIB
Maxime Ripard3b526342012-11-08 12:40:16 +01004 select CLKSRC_MMIO
Maxime Ripard3b526342012-11-08 12:40:16 +01005 select GENERIC_IRQ_CHIP
6 select PINCTRL
Maxime Ripardb788bed2013-09-24 11:09:19 +03007 select PINCTRL_SUNXI
Maxime Ripard119fd632013-03-24 11:49:25 +01008 select SUN4I_TIMER
Maxime Ripard559482d2014-04-28 16:03:20 -07009
10if ARCH_SUNXI
11
12config MACH_SUN4I
13 bool "Allwinner A10 (sun4i) SoCs support"
14 default ARCH_SUNXI
15
16config MACH_SUN5I
17 bool "Allwinner A10s / A13 (sun5i) SoCs support"
18 default ARCH_SUNXI
Maxime Ripard67905542013-11-07 12:01:48 +010019 select SUN5I_HSTIMER
Maxime Ripard559482d2014-04-28 16:03:20 -070020
21config MACH_SUN6I
22 bool "Allwinner A31 (sun6i) SoCs support"
23 default ARCH_SUNXI
24 select ARCH_HAS_RESET_CONTROLLER
25 select ARM_GIC
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
37endif