]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
ARM: sunxi: Introduce Allwinner A23 support
authorChen-Yu Tsai <wens@csie.org>
Fri, 20 Jun 2014 14:52:50 +0000 (22:52 +0800)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Mon, 23 Jun 2014 15:59:57 +0000 (17:59 +0200)
The Allwinner A23 is a dual-core Cortex-A7-based SoC. It re-uses most of
the IPs found in previous SoCs, notably the A31.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
arch/arm/mach-sunxi/Kconfig
arch/arm/mach-sunxi/sunxi.c

index 0fbd4f156bfa9035ff2eb5a9aa8056c72781e35a..f776c5f1bb89f4f166db64740dac3f4402b7af18 100644 (file)
@@ -35,4 +35,9 @@ config MACH_SUN7I
        select HAVE_ARM_ARCH_TIMER
        select SUN5I_HSTIMER
 
+config MACH_SUN8I
+       bool "Allwinner A23 (sun8i) SoCs support"
+       default ARCH_SUNXI
+       select ARM_GIC
+
 endif
index 3f9587bb51f6fad27a41ff57ceb9aada64c4481b..4d09469320c899247df43795d91a3522919d8c6e 100644 (file)
@@ -53,3 +53,12 @@ static const char * const sun7i_board_dt_compat[] = {
 DT_MACHINE_START(SUN7I_DT, "Allwinner sun7i (A20) Family")
        .dt_compat      = sun7i_board_dt_compat,
 MACHINE_END
+
+static const char * const sun8i_board_dt_compat[] = {
+       "allwinner,sun8i-a23",
+       NULL,
+};
+
+DT_MACHINE_START(SUN8I_DT, "Allwinner sun8i (A23) Family")
+       .dt_compat      = sun8i_board_dt_compat,
+MACHINE_END