aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJon Mason <jonmason@broadcom.com>2015-08-26 18:35:28 -0400
committerFlorian Fainelli <f.fainelli@gmail.com>2015-09-14 18:44:18 -0400
commit1f3e9a6edae4f1168a4baaeb4c55d4eb5a8f7501 (patch)
treed857be977807977d3ab367432ae13da4c385e0c0
parent6ff33f3902c3b1c5d0db6b1e2c70b6d76fba357f (diff)
ARM: NSP: Add basic support for Broadcom Northstar Plus SoC
Broadcom Northstar Plus family of SoCs are used for switching control and management applications as well as residential router/gateway applications. The SoC features dual core Cortex A9 ARM CPUs, integrating several peripheral interfaces including multiple Gigabit Ethernet PHYs, DDR3 memory, PCIE Gen-2, USB 2.0 and USB 3.0, serial and NAND flash, SATA and several other IO controllers. Signed-off-by: Kapil Hali <kapilh@broadcom.com> Signed-off-by: Jon Mason <jonmason@broadcom.com> Acked-by: Scott Branden <sbranden@broadcom.com> Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
-rw-r--r--arch/arm/mach-bcm/Kconfig14
-rw-r--r--arch/arm/mach-bcm/Makefile5
-rw-r--r--arch/arm/mach-bcm/bcm_nsp.c25
3 files changed, 43 insertions, 1 deletions
diff --git a/arch/arm/mach-bcm/Kconfig b/arch/arm/mach-bcm/Kconfig
index 1319c3c14327..1679fa4fb700 100644
--- a/arch/arm/mach-bcm/Kconfig
+++ b/arch/arm/mach-bcm/Kconfig
@@ -35,6 +35,20 @@ config ARCH_BCM_CYGNUS
35 BCM11300, BCM11320, BCM11350, BCM11360, 35 BCM11300, BCM11320, BCM11350, BCM11360,
36 BCM58300, BCM58302, BCM58303, BCM58305. 36 BCM58300, BCM58302, BCM58303, BCM58305.
37 37
38config ARCH_BCM_NSP
39 bool "Broadcom Northstar Plus SoC Support" if ARCH_MULTI_V7
40 select ARCH_BCM_IPROC
41 select ARM_ERRATA_754322
42 select ARM_ERRATA_775420
43 help
44 Support for Broadcom Northstar Plus SoC.
45 Broadcom Northstar Plus family of SoCs are used for switching control
46 and management applications as well as residential router/gateway
47 applications. The SoC features dual core Cortex A9 ARM CPUs,
48 integrating several peripheral interfaces including multiple Gigabit
49 Ethernet PHYs, DDR3 memory, PCIE Gen-2, USB 2.0 and USB 3.0, serial and
50 NAND flash, SATA and several other IO controllers.
51
38config ARCH_BCM_5301X 52config ARCH_BCM_5301X
39 bool "Broadcom BCM470X / BCM5301X ARM SoC" if ARCH_MULTI_V7 53 bool "Broadcom BCM470X / BCM5301X ARM SoC" if ARCH_MULTI_V7
40 select ARCH_BCM_IPROC 54 select ARCH_BCM_IPROC
diff --git a/arch/arm/mach-bcm/Makefile b/arch/arm/mach-bcm/Makefile
index 1780a3ff42f9..892261fec0ae 100644
--- a/arch/arm/mach-bcm/Makefile
+++ b/arch/arm/mach-bcm/Makefile
@@ -1,5 +1,5 @@
1# 1#
2# Copyright (C) 2012-2014 Broadcom Corporation 2# Copyright (C) 2012-2015 Broadcom Corporation
3# 3#
4# This program is free software; you can redistribute it and/or 4# This program is free software; you can redistribute it and/or
5# modify it under the terms of the GNU General Public License as 5# modify it under the terms of the GNU General Public License as
@@ -13,6 +13,9 @@
13# Cygnus 13# Cygnus
14obj-$(CONFIG_ARCH_BCM_CYGNUS) += bcm_cygnus.o 14obj-$(CONFIG_ARCH_BCM_CYGNUS) += bcm_cygnus.o
15 15
16# Northstar Plus
17obj-$(CONFIG_ARCH_BCM_NSP) += bcm_nsp.o
18
16# BCM281XX 19# BCM281XX
17obj-$(CONFIG_ARCH_BCM_281XX) += board_bcm281xx.o 20obj-$(CONFIG_ARCH_BCM_281XX) += board_bcm281xx.o
18 21
diff --git a/arch/arm/mach-bcm/bcm_nsp.c b/arch/arm/mach-bcm/bcm_nsp.c
new file mode 100644
index 000000000000..a1101a3d318e
--- /dev/null
+++ b/arch/arm/mach-bcm/bcm_nsp.c
@@ -0,0 +1,25 @@
1/*
2 * Copyright (C) 2015 Broadcom Corporation
3 *
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public License as
6 * published by the Free Software Foundation version 2.
7 *
8 * This program is distributed "as is" WITHOUT ANY WARRANTY of any
9 * kind, whether express or implied; without even the implied warranty
10 * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 */
13
14#include <asm/mach/arch.h>
15
16static const char *const bcm_nsp_dt_compat[] __initconst = {
17 "brcm,nsp",
18 NULL,
19};
20
21DT_MACHINE_START(NSP_DT, "Broadcom Northstar Plus SoC")
22 .l2c_aux_val = 0,
23 .l2c_aux_mask = ~0,
24 .dt_compat = bcm_nsp_dt_compat,
25MACHINE_END