From patchwork Sat Mar 15 13:41:00 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Carlo Caione X-Patchwork-Id: 3837401 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id DFF4BBF549 for ; Sat, 15 Mar 2014 13:41:36 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id EBFCE20268 for ; Sat, 15 Mar 2014 13:41:35 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 724312026D for ; Sat, 15 Mar 2014 13:41:34 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WOopc-0006Sd-Df; Sat, 15 Mar 2014 13:40:56 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WOopT-0005kK-GP; Sat, 15 Mar 2014 13:40:47 +0000 Received: from mail-ee0-f42.google.com ([74.125.83.42]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WOopG-0005if-Gw for linux-arm-kernel@lists.infradead.org; Sat, 15 Mar 2014 13:40:36 +0000 Received: by mail-ee0-f42.google.com with SMTP id d17so2365078eek.15 for ; Sat, 15 Mar 2014 06:40:13 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=Cd9okvhXOU9osHjKrTVYPe+gugnNBES9yrKWtNDOqTo=; b=gIg5xob/ekx3elfL9voXISkfvs3nnCBFCwJlQFI9kTGKGIhayXotRhSknDOwXAIOgF HcJ1cOLxBXIY+Jz1n2KT9gUol2eH/R8nQipTafBL0z7VvRaEwyx9jRMV9sJGNCtaIn2d RxAgt+IqpIYXMBUFdc1fFX4AiqTip5y5aviGsb1/UTr+nfDlt9CDRGXSguVIDIp+VJU2 k+sdMJoyVLtvexdVu/r33IgnawW1B5VZSpwVdvy0puKP4RCPuVF8PzjfSifHI9Y3Fpmx eaxF0L47YYVB3Cf6tiTJvWFmbtqcGd7NJgrTKWYggQb8JYOK0eiF0P2YtYEGJIMV7VqJ 8dTA== X-Received: by 10.14.106.193 with SMTP id m41mr14102213eeg.62.1394890810539; Sat, 15 Mar 2014 06:40:10 -0700 (PDT) Received: from localhost.fastwebnet.it (2-238-57-164.ip242.fastwebnet.it. [2.238.57.164]) by mx.google.com with ESMTPSA id x3sm24755124eep.17.2014.03.15.06.40.09 for (version=TLSv1.2 cipher=AES128-GCM-SHA256 bits=128/128); Sat, 15 Mar 2014 06:40:09 -0700 (PDT) From: Carlo Caione To: linux-arm-kernel@lists.infradead.org, linux-sunxi@googlegroups.com, mark.rutland@arm.com, hdegoede@redhat.com, tglx@linutronix.de, maxime.ripard@free-electrons.com, devicetree@vger.kernel.org Subject: [PATCH v6 2/3] ARM: sun7i/sun6i: dts: Add NMI irqchip support Date: Sat, 15 Mar 2014 14:41:00 +0100 Message-Id: <1394890861-18347-3-git-send-email-carlo@caione.org> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1394890861-18347-1-git-send-email-carlo@caione.org> References: <1394890861-18347-1-git-send-email-carlo@caione.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140315_094034_737976_92CAB0C1 X-CRM114-Status: UNSURE ( 8.03 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.6 (--) Cc: Carlo Caione X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This patch adds DTS entries for NMI controller as child of GIC. Signed-off-by: Carlo Caione --- arch/arm/boot/dts/sun6i-a31.dtsi | 9 +++++++++ arch/arm/boot/dts/sun7i-a20.dtsi | 9 +++++++++ 2 files changed, 18 insertions(+) diff --git a/arch/arm/boot/dts/sun6i-a31.dtsi b/arch/arm/boot/dts/sun6i-a31.dtsi index 5256ad9..4a5050c 100644 --- a/arch/arm/boot/dts/sun6i-a31.dtsi +++ b/arch/arm/boot/dts/sun6i-a31.dtsi @@ -190,6 +190,15 @@ #size-cells = <1>; ranges; + nmi_intc: sc-nmi-intc@01f00c0c { + compatible = "allwinner,sun6i-a31-sc-nmi"; + interrupt-controller; + #interrupt-cells = <2>; + reg = <0x01f00c0c 0x38>; + interrupt-parent = <&gic>; + interrupts = <0 0 4>; + }; + pio: pinctrl@01c20800 { compatible = "allwinner,sun6i-a31-pinctrl"; reg = <0x01c20800 0x400>; diff --git a/arch/arm/boot/dts/sun7i-a20.dtsi b/arch/arm/boot/dts/sun7i-a20.dtsi index 6f25cf5..55464a0 100644 --- a/arch/arm/boot/dts/sun7i-a20.dtsi +++ b/arch/arm/boot/dts/sun7i-a20.dtsi @@ -339,6 +339,15 @@ #size-cells = <1>; ranges; + nmi_intc: sc-nmi-intc@01c00030 { + compatible = "allwinner,sun7i-a20-sc-nmi"; + interrupt-controller; + #interrupt-cells = <2>; + reg = <0x01c00030 0x0c>; + interrupt-parent = <&gic>; + interrupts = <0 0 4>; + }; + emac: ethernet@01c0b000 { compatible = "allwinner,sun4i-a10-emac"; reg = <0x01c0b000 0x1000>;