]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
ARM: hisi: enable HiP01 SoC
authorWang Long <long.wanglong@huawei.com>
Wed, 24 Dec 2014 03:09:57 +0000 (03:09 +0000)
committerOlof Johansson <olof@lixom.net>
Wed, 21 Jan 2015 22:31:06 +0000 (14:31 -0800)
Enable Hisilicon HiP01 SoC. This HiP01 SoC series support both
one core or dual cores and quad cores. The core is Cortex A9.

Signed-off-by: Wang Long <long.wanglong@huawei.com>
Signed-off-by: Wei Xu <xuwei5@hisilicon.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
arch/arm/mach-hisi/Kconfig
arch/arm/mach-hisi/hisilicon.c

index cd19433f76d3de7f862d8e8d1c1d312f2155d7c0..83061ad0e28232cfe227d21ccf3c8905f2b909b3 100644 (file)
@@ -22,6 +22,14 @@ config ARCH_HI3xxx
        help
          Support for Hisilicon Hi36xx SoC family
 
+config ARCH_HIP01
+       bool "Hisilicon HIP01 family" if ARCH_MULTI_V7
+       select HAVE_ARM_SCU if SMP
+       select HAVE_ARM_TWD if SMP
+       select ARM_GLOBAL_TIMER
+       help
+         Support for Hisilicon HIP01 SoC family
+
 config ARCH_HIP04
        bool "Hisilicon HiP04 Cortex A15 family" if ARCH_MULTI_V7
        select ARM_ERRATA_798181 if SMP
index 7744c351bbfd6d7f4efdf631c0050159779f96e0..76b907078b58d365a1acaa73ac85e98e9862833f 100644 (file)
@@ -72,3 +72,13 @@ static const char *hip04_compat[] __initconst = {
 DT_MACHINE_START(HIP04, "Hisilicon HiP04 (Flattened Device Tree)")
        .dt_compat      = hip04_compat,
 MACHINE_END
+
+static const char *hip01_compat[] __initconst = {
+       "hisilicon,hip01",
+       "hisilicon,hip01-ca9x2",
+       NULL,
+};
+
+DT_MACHINE_START(HIP01, "Hisilicon HIP01 (Flattened Device Tree)")
+       .dt_compat      = hip01_compat,
+MACHINE_END