diff options
author | Haifeng Yan <yanhaifeng@gmail.com> | 2014-04-11 05:54:11 +0200 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2014-07-31 07:32:20 +0200 |
commit | 06cc5c1d4d7313bc864e9aac1d1cbd63d8b9ca4c (patch) | |
tree | b96d6476612d08b377597329043f82fb5e15c1fa /arch/arm/mach-hisi/hisilicon.c | |
parent | ARM: hisi: add ARCH_HISI (diff) | |
download | linux-06cc5c1d4d7313bc864e9aac1d1cbd63d8b9ca4c.tar.xz linux-06cc5c1d4d7313bc864e9aac1d1cbd63d8b9ca4c.zip |
ARM: hisi: enable hix5hd2 SoC
Enable support for the Hisilicon HiX5HD2 SoC. This HiX5HD2 SoC series
support both single and dual Cortex-A9 cores.
Add ARCH_HIX5HD2 to distinguish HiX5HD2 from Hi3xxx.
They are different in implementation such as SMP, IPs integarted and
earlycon configure.
Signed-off-by: Haifeng Yan <yanhaifeng@gmail.com>
Signed-off-by: Jiancheng Xue <jchxue@gmail.com>
Signed-off-by: Haojian Zhuang <haojian.zhuang@linaro.org>
Acked-by: Wei Xu <xuwei5@hisilicon.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'arch/arm/mach-hisi/hisilicon.c')
-rw-r--r-- | arch/arm/mach-hisi/hisilicon.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm/mach-hisi/hisilicon.c b/arch/arm/mach-hisi/hisilicon.c index 741faf3e7100..2bfbe3f1392d 100644 --- a/arch/arm/mach-hisi/hisilicon.c +++ b/arch/arm/mach-hisi/hisilicon.c @@ -88,3 +88,15 @@ DT_MACHINE_START(HI3620, "Hisilicon Hi3620 (Flattened Device Tree)") .smp = smp_ops(hi3xxx_smp_ops), .restart = hi3xxx_restart, MACHINE_END + +static const char *hix5hd2_compat[] __initconst = { + "hisilicon,hix5hd2", + NULL, +}; + +DT_MACHINE_START(HIX5HD2_DT, "Hisilicon HIX5HD2 (Flattened Device Tree)") + .dt_compat = hix5hd2_compat, + .init_late = hi3xxx_init_late, + .smp = smp_ops(hix5hd2_smp_ops), + .restart = hi3xxx_restart, +MACHINE_END |