ARM: hisi: enable HiP04
authorHaojian Zhuang <haojian.zhuang@linaro.org>
Fri, 9 May 2014 08:58:04 +0000 (16:58 +0800)
committerWei Xu <xuwei5@hisilicon.com>
Wed, 3 Sep 2014 13:10:26 +0000 (14:10 +0100)
Support HiP04 SoC what supports 16 cores. And it relies on MCPM
framework.

Signed-off-by: Haojian Zhuang <haojian.zhuang@linaro.org>
Signed-off-by: Wei Xu <xuwei5@hisilicon.com>
arch/arm/mach-hisi/Kconfig
arch/arm/mach-hisi/hisilicon.c

index 984882943f777540d7f0938e754a325194c79b76..075772b34e80393c19479901dcca41704eba2d89 100644 (file)
@@ -22,6 +22,15 @@ config ARCH_HI3xxx
        help
          Support for Hisilicon Hi36xx SoC family
 
+config ARCH_HIP04
+       bool "Hisilicon HiP04 Cortex A15 family" if ARCH_MULTI_V7
+       select ARM_ERRATA_798181 if SMP
+       select HAVE_ARM_ARCH_TIMER
+       select MCPM if SMP
+       select MCPM_QUAD_CLUSTER if SMP
+       help
+         Support for Hisilicon HiP04 SoC family
+
 config ARCH_HIX5HD2
        bool "Hisilicon X5HD2 family" if ARCH_MULTI_V7
        select CACHE_L2X0
index 7cda6dda3cd000a2c89bab157ff83d03ad6d9bdb..7744c351bbfd6d7f4efdf631c0050159779f96e0 100644 (file)
@@ -63,3 +63,12 @@ static const char *hix5hd2_compat[] __initconst = {
 DT_MACHINE_START(HIX5HD2_DT, "Hisilicon HIX5HD2 (Flattened Device Tree)")
        .dt_compat      = hix5hd2_compat,
 MACHINE_END
+
+static const char *hip04_compat[] __initconst = {
+       "hisilicon,hip04-d01",
+       NULL,
+};
+
+DT_MACHINE_START(HIP04, "Hisilicon HiP04 (Flattened Device Tree)")
+       .dt_compat      = hip04_compat,
+MACHINE_END