summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-bcm/brcmstb.c
diff options
context:
space:
mode:
authorMarc Carino <marc.ceeeee@gmail.com>2014-01-16 15:00:42 -0800
committerMatt Porter <mporter@linaro.org>2014-07-28 09:58:52 -0400
commit4fbe66d9903425156c193ae44c81c0f7557755c4 (patch)
treea8fa0f1c5b30718ddbfbbc7329f95341b7b4e89f /arch/arm/mach-bcm/brcmstb.c
parent67115239ca63f28bda6827a1e2d8098e329a7c23 (diff)
downloadlinux-4fbe66d9903425156c193ae44c81c0f7557755c4.tar.bz2
ARM: brcmstb: add infrastructure for ARM-based Broadcom STB SoCs
The BCM7xxx series of Broadcom SoCs are used primarily in set-top boxes. This patch adds machine support for the ARM-based Broadcom SoCs. Signed-off-by: Marc Carino <marc.ceeeee@gmail.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Brian Norris <computersforpeace@gmail.com> Signed-off-by: Matt Porter <mporter@linaro.org>
Diffstat (limited to 'arch/arm/mach-bcm/brcmstb.c')
-rw-r--r--arch/arm/mach-bcm/brcmstb.c28
1 files changed, 28 insertions, 0 deletions
diff --git a/arch/arm/mach-bcm/brcmstb.c b/arch/arm/mach-bcm/brcmstb.c
new file mode 100644
index 000000000000..60a5afa06ed7
--- /dev/null
+++ b/arch/arm/mach-bcm/brcmstb.c
@@ -0,0 +1,28 @@
+/*
+ * Copyright (C) 2013-2014 Broadcom Corporation
+ *
+ * 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/init.h>
+#include <linux/of_platform.h>
+
+#include <asm/mach-types.h>
+#include <asm/mach/arch.h>
+
+static const char *brcmstb_match[] __initconst = {
+ "brcm,bcm7445",
+ "brcm,brcmstb",
+ NULL
+};
+
+DT_MACHINE_START(BRCMSTB, "Broadcom STB (Flattened Device Tree)")
+ .dt_compat = brcmstb_match,
+MACHINE_END