]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: sunxi: Introduce Allwinner A80 support
authorChen-Yu Tsai <wens@csie.org>
Wed, 8 Oct 2014 13:02:52 +0000 (21:02 +0800)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Mon, 20 Oct 2014 12:51:28 +0000 (14:51 +0200)
The Allwinner A80 is a new Cortex octo-core A7/A15 big.LITTLE SoC.
While it's processor cores and interconnecting bus are new, it
re-uses many peripherals found in earlier Allwinner SoCs.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Tested-by: Andreas Färber <afaerber@suse.de>
arch/arm/mach-sunxi/Kconfig
arch/arm/mach-sunxi/sunxi.c

index 1aaa1e15ef70193b93f8afa402980957ad83d3ad..d04f84b4f937943afed530b331cb55ed3d2bac15 100644 (file)
@@ -42,4 +42,9 @@ config MACH_SUN8I
        select MFD_SUN6I_PRCM
        select RESET_CONTROLLER
 
+config MACH_SUN9I
+       bool "Allwinner (sun9i) SoCs support"
+       default ARCH_SUNXI
+       select ARM_GIC
+
 endif
index d7598aeed803c149c9b5a8dda30fc5363e6c7190..1f986758784a1d0673ce2d4206bb1e57b97c75f4 100644 (file)
@@ -63,3 +63,12 @@ static const char * const sun8i_board_dt_compat[] = {
 DT_MACHINE_START(SUN8I_DT, "Allwinner sun8i (A23) Family")
        .dt_compat      = sun8i_board_dt_compat,
 MACHINE_END
+
+static const char * const sun9i_board_dt_compat[] = {
+       "allwinner,sun9i-a80",
+       NULL,
+};
+
+DT_MACHINE_START(SUN9I_DT, "Allwinner sun9i Family")
+       .dt_compat      = sun9i_board_dt_compat,
+MACHINE_END