blob: 0fbd4f156bfa9035ff2eb5a9aa8056c72781e35a [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
Boris BREZILLON324da932014-05-15 10:55:13 +020026 select MFD_SUN6I_PRCM
Maxime Ripard559482d2014-04-28 16:03:20 -070027 select RESET_CONTROLLER
28 select SUN5I_HSTIMER
29
30config MACH_SUN7I
31 bool "Allwinner A20 (sun7i) SoCs support"
32 default ARCH_SUNXI
33 select ARM_GIC
34 select ARM_PSCI
35 select HAVE_ARM_ARCH_TIMER
36 select SUN5I_HSTIMER
37
38endif