diff options
author | Chen-Yu Tsai <wens@csie.org> | 2014-06-20 10:52:50 -0400 |
---|---|---|
committer | Maxime Ripard <maxime.ripard@free-electrons.com> | 2014-06-23 11:59:57 -0400 |
commit | ac84b79fbd97117de54531efad2c526896be7d19 (patch) | |
tree | d6dbc60d20fff1266186e216ee4f6ba6adb382ff | |
parent | 7171511eaec5bf23fb06078f59784a3a0626b38f (diff) |
ARM: sunxi: Introduce Allwinner A23 support
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>
-rw-r--r-- | arch/arm/mach-sunxi/Kconfig | 5 | ||||
-rw-r--r-- | arch/arm/mach-sunxi/sunxi.c | 9 |
2 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm/mach-sunxi/Kconfig b/arch/arm/mach-sunxi/Kconfig index 0fbd4f156bfa..f776c5f1bb89 100644 --- a/arch/arm/mach-sunxi/Kconfig +++ b/arch/arm/mach-sunxi/Kconfig | |||
@@ -35,4 +35,9 @@ config MACH_SUN7I | |||
35 | select HAVE_ARM_ARCH_TIMER | 35 | select HAVE_ARM_ARCH_TIMER |
36 | select SUN5I_HSTIMER | 36 | select SUN5I_HSTIMER |
37 | 37 | ||
38 | config MACH_SUN8I | ||
39 | bool "Allwinner A23 (sun8i) SoCs support" | ||
40 | default ARCH_SUNXI | ||
41 | select ARM_GIC | ||
42 | |||
38 | endif | 43 | endif |
diff --git a/arch/arm/mach-sunxi/sunxi.c b/arch/arm/mach-sunxi/sunxi.c index 3f9587bb51f6..4d09469320c8 100644 --- a/arch/arm/mach-sunxi/sunxi.c +++ b/arch/arm/mach-sunxi/sunxi.c | |||
@@ -53,3 +53,12 @@ static const char * const sun7i_board_dt_compat[] = { | |||
53 | DT_MACHINE_START(SUN7I_DT, "Allwinner sun7i (A20) Family") | 53 | DT_MACHINE_START(SUN7I_DT, "Allwinner sun7i (A20) Family") |
54 | .dt_compat = sun7i_board_dt_compat, | 54 | .dt_compat = sun7i_board_dt_compat, |
55 | MACHINE_END | 55 | MACHINE_END |
56 | |||
57 | static const char * const sun8i_board_dt_compat[] = { | ||
58 | "allwinner,sun8i-a23", | ||
59 | NULL, | ||
60 | }; | ||
61 | |||
62 | DT_MACHINE_START(SUN8I_DT, "Allwinner sun8i (A23) Family") | ||
63 | .dt_compat = sun8i_board_dt_compat, | ||
64 | MACHINE_END | ||