blob: c124d658b3506d36d8070bcb4cdf1e22a86ef607 [file] [log] [blame]
Maxime Ripard559482d2014-04-28 16:03:20 -07001menuconfig ARCH_SUNXI
Masahiro Yamadae3246542015-11-16 12:06:10 +09002 bool "Allwinner SoCs"
3 depends on ARCH_MULTI_V7
Maxime Ripard19a280a2013-05-12 15:06:51 +02004 select ARCH_REQUIRE_GPIOLIB
Chen-Yu Tsaifdc00742015-02-09 18:23:20 +08005 select ARCH_HAS_RESET_CONTROLLER
Maxime Ripard3b526342012-11-08 12:40:16 +01006 select CLKSRC_MMIO
Maxime Ripard3b526342012-11-08 12:40:16 +01007 select GENERIC_IRQ_CHIP
8 select PINCTRL
Maxime Ripard119fd632013-03-24 11:49:25 +01009 select SUN4I_TIMER
Chen-Yu Tsaifdc00742015-02-09 18:23:20 +080010 select RESET_CONTROLLER
Maxime Ripard559482d2014-04-28 16:03:20 -070011
12if ARCH_SUNXI
13
14config MACH_SUN4I
15 bool "Allwinner A10 (sun4i) SoCs support"
16 default ARCH_SUNXI
17
18config MACH_SUN5I
19 bool "Allwinner A10s / A13 (sun5i) SoCs support"
20 default ARCH_SUNXI
Maxime Ripard67905542013-11-07 12:01:48 +010021 select SUN5I_HSTIMER
Maxime Ripard559482d2014-04-28 16:03:20 -070022
23config MACH_SUN6I
24 bool "Allwinner A31 (sun6i) SoCs support"
25 default ARCH_SUNXI
Maxime Ripard559482d2014-04-28 16:03:20 -070026 select ARM_GIC
Boris BREZILLON324da932014-05-15 10:55:13 +020027 select MFD_SUN6I_PRCM
Maxime Ripard559482d2014-04-28 16:03:20 -070028 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
Chen-Yu Tsaiac84b792014-06-20 22:52:50 +080038config MACH_SUN8I
Jens Kuske14a882d2015-05-15 18:38:55 +020039 bool "Allwinner sun8i Family SoCs support"
Chen-Yu Tsaiac84b792014-06-20 22:52:50 +080040 default ARCH_SUNXI
41 select ARM_GIC
Chen-Yu Tsai5ba16572014-07-03 22:55:47 +080042 select MFD_SUN6I_PRCM
Chen-Yu Tsaiac84b792014-06-20 22:52:50 +080043
Chen-Yu Tsai3d4c2f12014-10-08 21:02:52 +080044config MACH_SUN9I
45 bool "Allwinner (sun9i) SoCs support"
46 default ARCH_SUNXI
47 select ARM_GIC
48
Maxime Ripard559482d2014-04-28 16:03:20 -070049endif