blob: b9863f9a35fae9eedaa053c13d505a6d2d6dee04 [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
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
Linus Walleij5c34a4e2016-06-02 14:10:16 +02007 select GPIOLIB
Maxime Ripard3b526342012-11-08 12:40:16 +01008 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
Michael Weiser3515c1b2016-08-22 18:42:19 +020035 select ARCH_SUPPORTS_BIG_ENDIAN
Maxime Ripard559482d2014-04-28 16:03:20 -070036 select HAVE_ARM_ARCH_TIMER
37 select SUN5I_HSTIMER
38
Chen-Yu Tsaiac84b792014-06-20 22:52:50 +080039config MACH_SUN8I
Jens Kuske14a882d2015-05-15 18:38:55 +020040 bool "Allwinner sun8i Family SoCs support"
Chen-Yu Tsaiac84b792014-06-20 22:52:50 +080041 default ARCH_SUNXI
42 select ARM_GIC
Chen-Yu Tsai5ba16572014-07-03 22:55:47 +080043 select MFD_SUN6I_PRCM
Chen-Yu Tsaiac84b792014-06-20 22:52:50 +080044
Chen-Yu Tsai3d4c2f12014-10-08 21:02:52 +080045config MACH_SUN9I
46 bool "Allwinner (sun9i) SoCs support"
47 default ARCH_SUNXI
48 select ARM_GIC
49
Maxime Ripard559482d2014-04-28 16:03:20 -070050endif