From: Geert Uytterhoeven <geert+renesas@glider.be>
To: Michael Turquette <mturquette@baylibre.com>,
Stephen Boyd <sboyd@kernel.org>,
Wim Van Sebroeck <wim@linux-watchdog.org>,
Guenter Roeck <linux@roeck-us.net>,
Rob Herring <robh+dt@kernel.org>,
Magnus Damm <magnus.damm@gmail.com>
Cc: Wolfram Sang <wsa+renesas@sang-engineering.com>,
LUU HOAI <hoai.luu.ub@renesas.com>,
linux-clk@vger.kernel.org, devicetree@vger.kernel.org,
linux-watchdog@vger.kernel.org,
linux-renesas-soc@vger.kernel.org,
Geert Uytterhoeven <geert+renesas@glider.be>
Subject: [PATCH 5/5] arm64: dts: renesas: spider-cpu: Enable watchdog timer
Date: Tue, 18 Jan 2022 18:09:05 +0100 [thread overview]
Message-ID: <b36b2bb5770e10d906571721a3d73ca205b6f56e.1642525158.git.geert+renesas@glider.be> (raw)
In-Reply-To: <cover.1642525158.git.geert+renesas@glider.be>
Enable the watchdog timer on the Spider board.
Extracted from a larger patch in the BSP by LUU HOAI.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
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";
};
--
2.25.1
next prev parent reply other threads:[~2022-01-18 17:09 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-18 17:09 [PATCH 0/5] arm64: renesas: Add R-Car S4-8 watchdog support on Spider Geert Uytterhoeven
2022-01-18 17:09 ` [PATCH 1/5] clk: renesas: r8a779f0: Add WDT clock Geert Uytterhoeven
2022-02-08 12:38 ` Wolfram Sang
2022-02-14 15:50 ` Guenter Roeck
2022-01-18 17:09 ` [PATCH 2/5] dt-bindings: watchdog: renesas-wdt: Document r8a779f0 support Geert Uytterhoeven
2022-02-08 12:39 ` Wolfram Sang
2022-02-09 2:54 ` Rob Herring
2022-02-14 15:48 ` Guenter Roeck
2022-01-18 17:09 ` [PATCH 3/5] watchdog: renesas_wdt: Add R-Car Gen4 support Geert Uytterhoeven
2022-02-08 12:41 ` Wolfram Sang
2022-02-14 15:49 ` Guenter Roeck
2022-01-18 17:09 ` [PATCH 4/5] arm64: dts: renesas: r8a779f0: Add RWDT node Geert Uytterhoeven
2022-02-08 12:42 ` Wolfram Sang
2022-02-14 15:51 ` Guenter Roeck
2022-01-18 17:09 ` Geert Uytterhoeven [this message]
2022-02-08 12:42 ` [PATCH 5/5] arm64: dts: renesas: spider-cpu: Enable watchdog timer Wolfram Sang
2022-02-14 15:52 ` Guenter Roeck
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=b36b2bb5770e10d906571721a3d73ca205b6f56e.1642525158.git.geert+renesas@glider.be \
--to=geert+renesas@glider.be \
--cc=devicetree@vger.kernel.org \
--cc=hoai.luu.ub@renesas.com \
--cc=linux-clk@vger.kernel.org \
--cc=linux-renesas-soc@vger.kernel.org \
--cc=linux-watchdog@vger.kernel.org \
--cc=linux@roeck-us.net \
--cc=magnus.damm@gmail.com \
--cc=mturquette@baylibre.com \
--cc=robh+dt@kernel.org \
--cc=sboyd@kernel.org \
--cc=wim@linux-watchdog.org \
--cc=wsa+renesas@sang-engineering.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.