From patchwork Tue Apr 4 18:01:36 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Icenowy Zheng X-Patchwork-Id: 9662353 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 17A78602BA for ; Tue, 4 Apr 2017 18:09:28 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0CE4128520 for ; Tue, 4 Apr 2017 18:09:28 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 001A22852A; Tue, 4 Apr 2017 18:09:27 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 96CC328520 for ; Tue, 4 Apr 2017 18:09:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=ecFyfwXrDMiFfeb1gEEbOTYVDLiTUmhNYLb9myr3hLo=; b=jV1fKehL/eEDWV+Vph0Y61Z3RL hIefzsG0vdiaVRyxtt1xrSyNrasGLtIyAhLXxRvP81PpMuedBx/tV/qdAAH6yn0p98gUj8uVyRhA+ dK83ehZUAbzfzJ2Eiv697wymTIdTZkf3g9k7B+WqN3D8InO303/ET9KSdk7tTmfBfw0xq2Dt3RX0X JTxVcaTKP6I3IvuFgecLdahih4WDnr+0wFvAIluhf2HGPA01EPWeycdCCmonAVnZovxlc5K0tBxaY i1zObCi7u8+VTdF5Y3+UNpBQ3zY9vRUHZcMGAeOsEtueergEdq3Qm/aTFn0YMHiweQodw6qRtj3/H qWuJg72A==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1cvStT-0000vS-8V; Tue, 04 Apr 2017 18:09:27 +0000 Received: from casper.infradead.org ([2001:770:15f::2]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cvStQ-0000s4-FV for linux-arm-kernel@bombadil.infradead.org; Tue, 04 Apr 2017 18:09:24 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=6EHheXos296EEXkh7AVw2ahQDtVChqQM6DTxhs7QHRI=; b=Ldh4e3hWX2V4Ky/WN+SscFqXX vgvCWmTLZHcCVXcZ+54ZoreQjkQUn5FW7XnbxLLM07thT+GaMGtu/9fJGQuFLgnTzupGmu7mFiFEV h26xrZ3h4Vy6BtgbJFnArFFu6uiKPCCcoT7mYusR6LiZaAqBD7js7xpIWCpnJCRH1JD0y9dtIkf70 ovJ8VbCgzeuje4y1H8acvnbs0n8zyVoN88QIRhz6xQrU1Yyf8q5eYlyQ5wA4gYxpS2TjcoTYw2c37 4xoIB/mTvVU8QJ8LZVfDyJV8vBAfAGbbA4pfURVcDa9J05idFzWsqyk/wVzqRFVPfhL+FXlZ4ENyP 1AOkEIaoA==; Received: from caracal.maple.relay.mailchannels.net ([23.83.214.30]) by casper.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cvSol-0002GS-4N for linux-arm-kernel@lists.infradead.org; Tue, 04 Apr 2017 18:04:39 +0000 X-Sender-Id: lmn-tzduiowcrqmw|x-authsender|icenowy@aosc.io Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id DEFB45C3441; Tue, 4 Apr 2017 18:04:10 +0000 (UTC) Received: from hermes.aosc.io (unknown [100.96.135.247]) by relay.mailchannels.net (Postfix) with ESMTPA id 04A1C5C39B8; Tue, 4 Apr 2017 18:04:09 +0000 (UTC) X-Sender-Id: lmn-tzduiowcrqmw|x-authsender|icenowy@aosc.io Received: from hermes.aosc.io (hermes.aosc.io [172.20.66.218]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.7.37); Tue, 04 Apr 2017 18:04:10 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: lmn-tzduiowcrqmw|x-authsender|icenowy@aosc.io X-MailChannels-Auth-Id: lmn-TZDUIOWCRQMW X-Tasty-Company: 0be99ef55cf2ced9_1491329050724_3602481610 X-MC-Loop-Signature: 1491329050724:748113516 X-MC-Ingress-Time: 1491329050724 Received: from localhost (localhost [127.0.0.1]) (Authenticated sender: icenowy@aosc.io) by hermes.aosc.io (Postfix) with ESMTPSA id B138644012; Tue, 4 Apr 2017 18:03:42 +0000 (UTC) From: Icenowy Zheng To: Lee Jones , Rob Herring , Chen-Yu Tsai , Maxime Ripard , Liam Girdwood Subject: [PATCH 02/11] arm64: allwinner: a64: add NMI controller on A64 Date: Wed, 5 Apr 2017 02:01:36 +0800 Message-Id: <20170404180145.12897-3-icenowy@aosc.io> In-Reply-To: <20170404180145.12897-1-icenowy@aosc.io> References: <20170404180145.12897-1-icenowy@aosc.io> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170404_190435_450979_EB3BDF8D X-CRM114-Status: UNSURE ( 8.21 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-sunxi@googlegroups.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Icenowy Zheng MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Allwinner A64 SoC features a NMI controller, which is usually connected to the AXP PMIC. Add support for it. Signed-off-by: Icenowy Zheng Acked-by: Chen-Yu Tsai --- arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi index 9a75b1c7c91a..f907a64e6f0c 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi @@ -401,6 +401,14 @@ ; }; + nmi_intc: interrupt-controller@01f00c0c { + compatible = "allwinner,sun6i-a31-sc-nmi"; + interrupt-controller; + #interrupt-cells = <2>; + reg = <0x01f00c0c 0x38>; + interrupts = ; + }; + r_ccu: clock@1f01400 { compatible = "allwinner,sun50i-a64-r-ccu"; reg = <0x01f01400 0x100>;