From patchwork Tue Jan 18 17:09:05 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 533464 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id CE441C4167E for ; Tue, 18 Jan 2022 17:09:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238352AbiARRJR (ORCPT ); Tue, 18 Jan 2022 12:09:17 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37592 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346260AbiARRJR (ORCPT ); Tue, 18 Jan 2022 12:09:17 -0500 Received: from laurent.telenet-ops.be (laurent.telenet-ops.be [IPv6:2a02:1800:110:4::f00:19]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 66923C061747 for ; Tue, 18 Jan 2022 09:09:15 -0800 (PST) Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed20:76d0:2bff:fec8:549]) by laurent.telenet-ops.be with bizsmtp id kH992600T0kcUhD01H99pP; Tue, 18 Jan 2022 18:09:13 +0100 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1n9ryn-00AH3E-35; Tue, 18 Jan 2022 18:09:09 +0100 Received: from geert by rox.of.borg with local (Exim 4.93) (envelope-from ) id 1n9rym-001Blq-GS; Tue, 18 Jan 2022 18:09:08 +0100 From: Geert Uytterhoeven To: Michael Turquette , Stephen Boyd , Wim Van Sebroeck , Guenter Roeck , Rob Herring , Magnus Damm Cc: Wolfram Sang , LUU HOAI , linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-watchdog@vger.kernel.org, linux-renesas-soc@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH 5/5] arm64: dts: renesas: spider-cpu: Enable watchdog timer Date: Tue, 18 Jan 2022 18:09:05 +0100 Message-Id: X-Mailer: git-send-email 2.25.1 In-Reply-To: References: MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-watchdog@vger.kernel.org Enable the watchdog timer on the Spider board. Extracted from a larger patch in the BSP by LUU HOAI. Signed-off-by: Geert Uytterhoeven Reviewed-by: Wolfram Sang Acked-by: Guenter Roeck --- For the watchdog to be able to actually reboot the system, this depends on proper configuration of the Watchdog Timer Reset Control Register (WDTRSTCR) in the Reset (RST) module, either by Linux[1], or by the firmware. [1] "[PATCH LOCAL v2] soc: renesas: rcar-rst: Allow WDT reset on R-Car Gen4" https://lore.kernel.org/r/39005cf749a99afc6d3ba96ff155fd2a231418a8.1642524743.git.geert+renesas@glider.be --- arch/arm64/boot/dts/renesas/r8a779f0-spider-cpu.dtsi | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r8a779f0-spider-cpu.dtsi b/arch/arm64/boot/dts/renesas/r8a779f0-spider-cpu.dtsi index 156586532c844c41..3a90932fe85c8243 100644 --- a/arch/arm64/boot/dts/renesas/r8a779f0-spider-cpu.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a779f0-spider-cpu.dtsi @@ -31,6 +31,11 @@ &extalr_clk { clock-frequency = <32768>; }; +&rwdt { + timeout-sec = <60>; + status = "okay"; +}; + &scif3 { status = "okay"; };