From patchwork Thu Feb 1 14:09:16 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 13541113 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 34948C4828F for ; Thu, 1 Feb 2024 14:09:50 +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:References:In-Reply-To: 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: List-Owner; bh=e58Fz4oSrIFDWh25dX9rsLXSss/0kXMlBenAQxBsYMw=; b=VT+jbpallcG5CJ s3kZBVUSp2B2e3CSL21EArjfhM0y+QYCe7rDvxYjbbnY/mccS8hkYiUo0FOvsPHBMiPzDvgb4YzgN KjBrXc93mhekCMxIxXEye2f0AZuadr5FNZL0lpZFHpFi4uZEWp0aAGtCCmtBZpUQ+RB/yriqB3RKX NHiFHSbfnEM8je2+jOIXjrjwdlihhiZslqUWpQFsFqTSJfyzjn2r7ivcOW7peLMNvCn3fjCl9fTh4 o+z6jL0AgZxqJGGvPTrpjzEfuxonBcVaKx5/U674q27ff9ft+AApk0jjxs4sWiiZKzRfZJ+xXXf2J ADnZlRePlyNl5qQg6b0w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rVXl0-00000008EOQ-3ODB; Thu, 01 Feb 2024 14:09:34 +0000 Received: from albert.telenet-ops.be ([2a02:1800:110:4::f00:1a]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rVXkv-00000008EML-0Hvq for linux-arm-kernel@lists.infradead.org; Thu, 01 Feb 2024 14:09:31 +0000 Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed40:88f0:c83b:bafa:cdc3]) by albert.telenet-ops.be with bizsmtp id hq9M2B0054efzLr06q9MUA; Thu, 01 Feb 2024 15:09:23 +0100 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.95) (envelope-from ) id 1rVXjw-00Gv3n-7r; Thu, 01 Feb 2024 15:09:21 +0100 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from ) id 1rVXkn-00AXWj-6K; Thu, 01 Feb 2024 15:09:21 +0100 From: Geert Uytterhoeven To: Magnus Damm Cc: linux-renesas-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Minh Le , Geert Uytterhoeven Subject: [PATCH 1/2] arm64: dts: renesas: r8a779h0: Add RWDT node Date: Thu, 1 Feb 2024 15:09:16 +0100 Message-Id: <43bb03f3baa87b4be8ce953b1955df6b89387e4c.1706790320.git.geert+renesas@glider.be> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240201_060929_314000_47971AB2 X-CRM114-Status: GOOD ( 10.86 ) 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 From: Minh Le Add a device node for the RCLK Watchdog Timer (RWDT) on the Renesas R-Car V4M (R8A779H0) SoC. Signed-off-by: Minh Le Signed-off-by: Geert Uytterhoeven Reviewed-by: Wolfram Sang --- Changes compared to the BSP: - Split in separate commits for SoC and board support, - Use TABs for indentation, - Add missing interrupts property. --- arch/arm64/boot/dts/renesas/r8a779h0.dtsi | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r8a779h0.dtsi b/arch/arm64/boot/dts/renesas/r8a779h0.dtsi index f59d0dd25ca93822..f5a688e300d29a73 100644 --- a/arch/arm64/boot/dts/renesas/r8a779h0.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a779h0.dtsi @@ -59,6 +59,17 @@ soc: soc { #size-cells = <2>; ranges; + rwdt: watchdog@e6020000 { + compatible = "renesas,r8a779h0-wdt", + "renesas,rcar-gen4-wdt"; + reg = <0 0xe6020000 0 0x0c>; + interrupts = ; + clocks = <&cpg CPG_MOD 907>; + power-domains = <&sysc R8A779H0_PD_ALWAYS_ON>; + resets = <&cpg 907>; + status = "disabled"; + }; + pfc: pinctrl@e6050000 { compatible = "renesas,pfc-r8a779h0"; reg = <0 0xe6050000 0 0x16c>, <0 0xe6050800 0 0x16c>, From patchwork Thu Feb 1 14:09:17 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 13541114 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 45FD4C4828D for ; Thu, 1 Feb 2024 14:09:54 +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:References:In-Reply-To: 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: List-Owner; bh=ik26/igdtJlRzrcNGBD4djJEyT76+zhK1p0kPWwPWsc=; b=lvepE9Ew5W/JvL QGFuEArp7iBhdZ9eHfbUCnPy4Cd7tuAgGCypSnIYqUvbYOChRacgjrzp2wHbSxI6kSbZEHU+rf3j7 MtMkq4CDpuF0vYeFf2VZrEo5J12uuKilD9wa5yvld6ErrjXrdpmFTdubeo+PhYBNUntreywBqqhb1 Pod4ZuXl7ibFV/jRgv13X8qdlfGNZCQiwJROKA+T0OWjgpyBY9P7WCy7C/k0oEpIoF/cf0cRGE1W7 VC3slx8MATSO0Wb7Ie5uAgK0aqS+uQx+Tw0/CTgIJQSfZwpPBbbCqHeDxE6hlWYB9U5+O177oK/aQ /PXM++QfvinmVvGde34g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rVXkx-00000008ENh-1v7a; Thu, 01 Feb 2024 14:09:31 +0000 Received: from michel.telenet-ops.be ([2a02:1800:110:4::f00:18]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rVXkv-00000008EMJ-0JLQ for linux-arm-kernel@lists.infradead.org; Thu, 01 Feb 2024 14:09:30 +0000 Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed40:88f0:c83b:bafa:cdc3]) by michel.telenet-ops.be with bizsmtp id hq9M2B0064efzLr06q9MRr; Thu, 01 Feb 2024 15:09:21 +0100 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.95) (envelope-from ) id 1rVXjw-00Gv3o-8D; Thu, 01 Feb 2024 15:09:21 +0100 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from ) id 1rVXkn-00AXWm-6y; Thu, 01 Feb 2024 15:09:21 +0100 From: Geert Uytterhoeven To: Magnus Damm Cc: linux-renesas-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Geert Uytterhoeven Subject: [PATCH 2/2] arm64: dts: renesas: gray-hawk-single: Enable watchdog timer Date: Thu, 1 Feb 2024 15:09:17 +0100 Message-Id: X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240201_060929_312604_D56B9CA3 X-CRM114-Status: UNSURE ( 9.78 ) X-CRM114-Notice: Please train this message. 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 Enable the watchdog timer on the Gray Hawk Single board. Signed-off-by: Geert Uytterhoeven Reviewed-by: Wolfram Sang --- arch/arm64/boot/dts/renesas/r8a779h0-gray-hawk-single.dts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r8a779h0-gray-hawk-single.dts b/arch/arm64/boot/dts/renesas/r8a779h0-gray-hawk-single.dts index 716cb7622f167973..1c84fe7171d3fd85 100644 --- a/arch/arm64/boot/dts/renesas/r8a779h0-gray-hawk-single.dts +++ b/arch/arm64/boot/dts/renesas/r8a779h0-gray-hawk-single.dts @@ -65,6 +65,11 @@ scif_clk_pins: scif_clk { }; }; +&rwdt { + timeout-sec = <60>; + status = "okay"; +}; + &scif_clk { clock-frequency = <24000000>; };