ARM: Add support for Broadcom BCM23550 SoC
authorChris Brand <chris.brand@broadcom.com>
Wed, 11 May 2016 21:36:20 +0000 (14:36 -0700)
committerFlorian Fainelli <f.fainelli@gmail.com>
Mon, 6 Jun 2016 18:47:28 +0000 (11:47 -0700)
BCM23550 is a quad-A7 SoC used on the Broadcom "Sparrow" board.
It shares many IP blocks with other Broadcom Kona chips.

Signed-off-by: Chris Brand <chris.brand@broadcom.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
arch/arm/mach-bcm/Kconfig
arch/arm/mach-bcm/Makefile
arch/arm/mach-bcm/board_bcm23550.c [new file with mode: 0644]

index 68ab6412392a44b84f4519ff04d725a3505f9bcf..5832dbae530f1d39b2546ea293d2ce664709985e 100644 (file)
@@ -111,9 +111,17 @@ config ARCH_BCM_21664
          Enable support for the BCM21664 family, which includes
          BCM21663 and BCM21664 variants.
 
+config ARCH_BCM_23550
+       bool "Broadcom BCM23550 SoC"
+       depends on ARCH_MULTI_V7
+       select ARCH_BCM_MOBILE
+       select HAVE_SMP
+       help
+         Enable support for the BCM23550.
+
 config ARCH_BCM_MOBILE_L2_CACHE
        bool "Broadcom mobile SoC level 2 cache support"
-       depends on ARCH_BCM_MOBILE
+       depends on ARCH_BCM_281XX || ARCH_BCM_21664
        default y
        select CACHE_L2X0
        select ARCH_BCM_MOBILE_SMC
@@ -128,7 +136,7 @@ config ARCH_BCM_MOBILE_SMP
        select HAVE_ARM_SCU
        select ARM_ERRATA_764369
        help
-         SMP support for the BCM281XX and BCM21664 SoC families.
+         SMP support for the BCM281XX, BCM21664 and BCM23550 SoC families.
          Provided as an option so SMP support for SoCs of this type
          can be disabled for an SMP-enabled kernel.
 
index 7d665151c77204e6ac34acb5af0ede3078c79797..980f5850097c19094221eb908e61980b5e855a79 100644 (file)
@@ -26,7 +26,10 @@ obj-$(CONFIG_ARCH_BCM_281XX) += board_bcm281xx.o
 # BCM21664
 obj-$(CONFIG_ARCH_BCM_21664)   += board_bcm21664.o
 
-# BCM281XX and BCM21664 SMP support
+# BCM23550
+obj-$(CONFIG_ARCH_BCM_23550)   += board_bcm23550.o
+
+# BCM281XX, BCM21664 and BCM23550 SMP support
 obj-$(CONFIG_ARCH_BCM_MOBILE_SMP) += platsmp.o
 
 # BCM281XX and BCM21664 L2 cache control
diff --git a/arch/arm/mach-bcm/board_bcm23550.c b/arch/arm/mach-bcm/board_bcm23550.c
new file mode 100644 (file)
index 0000000..0ac01de
--- /dev/null
@@ -0,0 +1,25 @@
+/*
+ * Copyright (C) 2016 Broadcom
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License as
+ * published by the Free Software Foundation version 2.
+ *
+ * This program is distributed "as is" WITHOUT ANY WARRANTY of any
+ * kind, whether express or implied; without even the implied warranty
+ * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ */
+
+#include <linux/of_platform.h>
+
+#include <asm/mach/arch.h>
+
+static const char * const bcm23550_dt_compat[] = {
+       "brcm,bcm23550",
+       NULL,
+};
+
+DT_MACHINE_START(BCM23550_DT, "BCM23550 Broadcom Application Processor")
+       .dt_compat = bcm23550_dt_compat,
+MACHINE_END
This page took 0.026077 seconds and 5 git commands to generate.