Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1946078AbbEPH71 (ORCPT ); Sat, 16 May 2015 03:59:27 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:46640 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S934691AbbEPH7U (ORCPT ); Sat, 16 May 2015 03:59:20 -0400 X-Listener-Flag: 11101 From: Yingjoe Chen To: Mark Rutland , Matthias Brugger , Thomas Gleixner , Russell King CC: Arnd Bergmann , Olof Johansson , , Stephen Boyd , Pawel Moll , Catalin Marinas , Daniel Lezcano , , Marc Carino , Rob Herring , , Sascha Hauer , Yingjoe Chen , , Subject: [PATCH v2 8/9] ARM: dts: mt8135: enable basic SMP bringup for mt8135 Date: Sat, 16 May 2015 15:58:29 +0800 Message-ID: <1431763110-443-9-git-send-email-yingjoe.chen@mediatek.com> X-Mailer: git-send-email 1.8.1.1.dirty In-Reply-To: <1431763110-443-1-git-send-email-yingjoe.chen@mediatek.com> References: <1431763110-443-1-git-send-email-yingjoe.chen@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1513 Lines: 53 Add arch timer node to enable arch-timer support. MT8135 firmware doesn't correctly setup arch-timer frequency and CNTVOFF, add properties to workaround this. This also set cpu enable-method to enable SMP. Signed-off-by: Yingjoe Chen --- arch/arm/boot/dts/mt8135.dtsi | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/arch/arm/boot/dts/mt8135.dtsi b/arch/arm/boot/dts/mt8135.dtsi index a161e99..cc8a8c9 100644 --- a/arch/arm/boot/dts/mt8135.dtsi +++ b/arch/arm/boot/dts/mt8135.dtsi @@ -43,6 +43,7 @@ cpus { #address-cells = <1>; #size-cells = <0>; + enable-method = "mediatek,mt81xx-tz-smp"; cpu0: cpu@0 { device_type = "cpu"; @@ -95,6 +96,21 @@ }; + timer { + compatible = "arm,armv7-timer"; + interrupt-parent = <&gic>; + interrupts = , + , + , + ; + clock-frequency = <13000000>; + arm,cpu-registers-not-fw-configured; + }; + soc { #address-cells = <2>; #size-cells = <2>; -- 1.8.1.1.dirty -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/