blob: 81502b90dd9130240bd716d4bfb866b9d5ac5efe [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
Chen-Yu Tsaifdc00742015-02-09 18:23:20 +08004 select ARCH_HAS_RESET_CONTROLLER
Maxime Ripard3b526342012-11-08 12:40:16 +01005 select CLKSRC_MMIO
Maxime Ripard3b526342012-11-08 12:40:16 +01006 select GENERIC_IRQ_CHIP
7 select PINCTRL
Maxime Ripard119fd632013-03-24 11:49:25 +01008 select SUN4I_TIMER
Chen-Yu Tsaifdc00742015-02-09 18:23:20 +08009 select RESET_CONTROLLER
Maxime Ripard559482d2014-04-28 16:03:20 -070010
11if ARCH_SUNXI
12
13config MACH_SUN4I
14 bool "Allwinner A10 (sun4i) SoCs support"
15 default ARCH_SUNXI
16
17config MACH_SUN5I
18 bool "Allwinner A10s / A13 (sun5i) SoCs support"
19 default ARCH_SUNXI
Maxime Ripard67905542013-11-07 12:01:48 +010020 select SUN5I_HSTIMER
Maxime Ripard559482d2014-04-28 16:03:20 -070021
22config MACH_SUN6I
23 bool "Allwinner A31 (sun6i) SoCs support"
24 default ARCH_SUNXI
Maxime Ripard559482d2014-04-28 16:03:20 -070025 select ARM_GIC
Boris BREZILLON324da932014-05-15 10:55:13 +020026 select MFD_SUN6I_PRCM
Maxime Ripard559482d2014-04-28 16:03:20 -070027 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
Chen-Yu Tsaiac84b792014-06-20 22:52:50 +080037config MACH_SUN8I
38 bool "Allwinner A23 (sun8i) SoCs support"
39 default ARCH_SUNXI
40 select ARM_GIC
Chen-Yu Tsai5ba16572014-07-03 22:55:47 +080041 select MFD_SUN6I_PRCM
Chen-Yu Tsaiac84b792014-06-20 22:52:50 +080042
Chen-Yu Tsai3d4c2f12014-10-08 21:02:52 +080043config MACH_SUN9I
44 bool "Allwinner (sun9i) SoCs support"
45 default ARCH_SUNXI
46 select ARM_GIC
47
Maxime Ripard559482d2014-04-28 16:03:20 -070048endif