summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mediatek
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2016-01-05 17:24:28 +0100
committerMatthias Brugger <matthias.bgg@gmail.com>2016-01-25 18:59:41 +0100
commitfd63892fcf28d839694d50d7d355ca0cbde401a1 (patch)
tree426db17415316db5f5febfb6ad31b59b639cc25d /arch/arm/mach-mediatek
parent73efe5792bfa73589a7e04abf773f8b7a4c01650 (diff)
downloadlinux-fd63892fcf28d839694d50d7d355ca0cbde401a1.tar.gz
linux-fd63892fcf28d839694d50d7d355ca0cbde401a1.tar.bz2
linux-fd63892fcf28d839694d50d7d355ca0cbde401a1.zip
ARM: mediatek: add MT7623 smp bringup code
Add support for booting secondary CPUs on MT7623. Signed-off-by: John Crispin <blogic@openwrt.org> Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
Diffstat (limited to 'arch/arm/mach-mediatek')
-rw-r--r--arch/arm/mach-mediatek/platsmp.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/mach-mediatek/platsmp.c b/arch/arm/mach-mediatek/platsmp.c
index a1b07eeaaf5b..306a8dd00166 100644
--- a/arch/arm/mach-mediatek/platsmp.c
+++ b/arch/arm/mach-mediatek/platsmp.c
@@ -44,6 +44,12 @@ static const struct mtk_smp_boot_info mtk_mt6589_boot = {
{ 0x38, 0x3c, 0x40 },
};
+static const struct mtk_smp_boot_info mtk_mt7623_boot = {
+ 0x10202000, 0x34,
+ { 0x534c4131, 0x4c415332, 0x41534c33 },
+ { 0x38, 0x3c, 0x40 },
+};
+
static const struct of_device_id mtk_tz_smp_boot_infos[] __initconst = {
{ .compatible = "mediatek,mt8135", .data = &mtk_mt8135_tz_boot },
{ .compatible = "mediatek,mt8127", .data = &mtk_mt8135_tz_boot },
@@ -51,6 +57,7 @@ static const struct of_device_id mtk_tz_smp_boot_infos[] __initconst = {
static const struct of_device_id mtk_smp_boot_infos[] __initconst = {
{ .compatible = "mediatek,mt6589", .data = &mtk_mt6589_boot },
+ { .compatible = "mediatek,mt7623", .data = &mtk_mt7623_boot },
};
static void __iomem *mtk_smp_base;