1 From e75f8b666c976aff2aa30b967f74df021d800993 Mon Sep 17 00:00:00 2001
2 From: "Joe.C" <yingjoe.chen@mediatek.com>
3 Date: Fri, 1 May 2015 15:43:30 +0800
4 Subject: [PATCH 43/76] ARM: dts: mt8127: enable basic SMP bringup for mt8127
6 Add arch timer node to enable arch-timer support. MT8127 firmware
7 doesn't correctly setup arch-timer frequency and CNTVOFF, add
8 properties to workaround this.
10 This also set cpu enable-method to enable SMP.
12 Signed-off-by: Yingjoe Chen <yingjoe.chen@mediatek.com>
14 arch/arm/boot/dts/mt8127.dtsi | 16 ++++++++++++++++
15 1 file changed, 16 insertions(+)
17 diff --git a/arch/arm/boot/dts/mt8127.dtsi b/arch/arm/boot/dts/mt8127.dtsi
18 index aaa7862..7c2090d 100644
19 --- a/arch/arm/boot/dts/mt8127.dtsi
20 +++ b/arch/arm/boot/dts/mt8127.dtsi
25 + enable-method = "mediatek,mt81xx-tz-smp";
34 + compatible = "arm,armv7-timer";
35 + interrupt-parent = <&gic>;
36 + interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) |
37 + IRQ_TYPE_LEVEL_LOW)>,
38 + <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(4) |
39 + IRQ_TYPE_LEVEL_LOW)>,
40 + <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(4) |
41 + IRQ_TYPE_LEVEL_LOW)>,
42 + <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(4) |
43 + IRQ_TYPE_LEVEL_LOW)>;
44 + clock-frequency = <13000000>;
45 + arm,cpu-registers-not-fw-configured;