From patchwork Tue Apr 16 15:40:01 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 13632098 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id AA4EFC4345F for ; Tue, 16 Apr 2024 15:40:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=q+Yb1MnesgKnGNkdRCqNaF8E+pj25Hnzp62wD/ddQ0Q=; b=v75mnKv+LhqBzm 33OzzPfkMm3jcGEbGaO73oILdfQ0EzdOLtWGfW/GX/sULKs+n25zLzjLcF5wCkSlg1IcgjZfRzJhd khPxvBC37q3RyP9bnA8UMZAKxGxKtFtxfgLpQ4ryckE4m0+J0wI3NHs8ibeWOUMEdOxXMWj8okGa1 jqYfinWKSNE8AXNGfFBQ3f9HR0PtrdpYVbXjaZg/7pJFwcd6kO/VBcbce4o79nwmgdlEILcwrTcvr HhXG2h7jewZagXTU6S3hcb1TDAtP8/kcDJpDSqWXimdyx4c6CMi5KqVVI7/lYeZ5iKdGhVX2Sq+rY 1b6xMwoEBco9nl9IxiMA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rwkuz-0000000CntO-099w; Tue, 16 Apr 2024 15:40:21 +0000 Received: from baptiste.telenet-ops.be ([2a02:1800:120:4::f00:13]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rwkuw-0000000CnpO-0fa5 for linux-arm-kernel@lists.infradead.org; Tue, 16 Apr 2024 15:40:19 +0000 Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed80:76d0:2bff:fec8:549]) by baptiste.telenet-ops.be with bizsmtp id BrgB2C00M0SSLxL01rgBSH; Tue, 16 Apr 2024 17:40:13 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.95) (envelope-from ) id 1rwkuF-008IBM-QD; Tue, 16 Apr 2024 17:40:11 +0200 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from ) id 1rwkup-00Ebhh-6B; Tue, 16 Apr 2024 17:40:11 +0200 From: Geert Uytterhoeven To: Magnus Damm Cc: linux-renesas-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Geert Uytterhoeven Subject: [PATCH] arm64: dts: renesas: r8a779h0: Add INTC-EX node Date: Tue, 16 Apr 2024 17:40:01 +0200 Message-Id: <66aba473186df9a137e7f95393209b23a5916fd1.1713281889.git.geert+renesas@glider.be> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240416_084018_363667_A0C84A25 X-CRM114-Status: GOOD ( 10.04 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add the device node for the Interrupt Controller for External Devices (INTC-EX) on the Renesas R-Car V4M (R8A779H0) SoC, which serves external IRQ pins IRQ[0-5]. Signed-off-by: Geert Uytterhoeven Reviewed-by: Yoshihiro Shimoda Tested-by: Yoshihiro Shimoda --- IRQ2 was tested on the Gray Hawk Single development board using gpio-keys. With the default hardware setup, this causes an interrupt storm, as expected (pin is shared with MD0). To be queued in renesas-devel for v6.10. --- arch/arm64/boot/dts/renesas/r8a779h0.dtsi | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r8a779h0.dtsi b/arch/arm64/boot/dts/renesas/r8a779h0.dtsi index 530219f21295f76f..bd3955316a88c8f2 100644 --- a/arch/arm64/boot/dts/renesas/r8a779h0.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a779h0.dtsi @@ -404,6 +404,22 @@ tsc: thermal@e6198000 { #thermal-sensor-cells = <1>; }; + intc_ex: interrupt-controller@e61c0000 { + compatible = "renesas,intc-ex-r8a779h0", "renesas,irqc"; + #interrupt-cells = <2>; + interrupt-controller; + reg = <0 0xe61c0000 0 0x200>; + interrupts = , + , + , + , + , + ; + clocks = <&cpg CPG_MOD 611>; + power-domains = <&sysc R8A779H0_PD_ALWAYS_ON>; + resets = <&cpg 611>; + }; + tmu0: timer@e61e0000 { compatible = "renesas,tmu-r8a779h0", "renesas,tmu"; reg = <0 0xe61e0000 0 0x30>;