linux-renesas-soc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Geert Uytterhoeven <geert+renesas@glider.be>
To: Magnus Damm <magnus.damm@gmail.com>
Cc: Eugeniu Rosca <erosca@de.adit-jv.com>,
	linux-renesas-soc@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org,
	Geert Uytterhoeven <geert+renesas@glider.be>
Subject: [PATCH v2 1/6] arm64: dts: renesas: r8a77961: Add RWDT node
Date: Mon, 16 Dec 2019 13:47:35 +0100	[thread overview]
Message-ID: <20191216124740.16647-2-geert+renesas@glider.be> (raw)
In-Reply-To: <20191216124740.16647-1-geert+renesas@glider.be>

Add a device node for the RCLK Watchdog Timer (RWDT) on the Renesas
R-Car M3-W+ (r8a77961) SoC.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
v2:
  - No changes.

Test procedure:
  1. "cat > /dev/watchdog",
  2. Wait 60s for reboot.
---
 arch/arm64/boot/dts/renesas/r8a77961.dtsi | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/renesas/r8a77961.dtsi b/arch/arm64/boot/dts/renesas/r8a77961.dtsi
index 64466c86b698826d..ea2c6445977f3d99 100644
--- a/arch/arm64/boot/dts/renesas/r8a77961.dtsi
+++ b/arch/arm64/boot/dts/renesas/r8a77961.dtsi
@@ -319,8 +319,13 @@
 		ranges;
 
 		rwdt: watchdog@e6020000 {
+			compatible = "renesas,r8a77961-wdt",
+				     "renesas,rcar-gen3-wdt";
 			reg = <0 0xe6020000 0 0x0c>;
-			/* placeholder */
+			clocks = <&cpg CPG_MOD 402>;
+			power-domains = <&sysc R8A77961_PD_ALWAYS_ON>;
+			resets = <&cpg 402>;
+			status = "disabled";
 		};
 
 		gpio2: gpio@e6052000 {
-- 
2.17.1


  reply	other threads:[~2019-12-16 12:47 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-16 12:47 [PATCH v2 0/6] arm64: dts: renesas: r8a77961: Add more device nodes Geert Uytterhoeven
2019-12-16 12:47 ` Geert Uytterhoeven [this message]
2019-12-17 14:10   ` [PATCH v2 1/6] arm64: dts: renesas: r8a77961: Add RWDT node Eugeniu Rosca
2019-12-16 12:47 ` [PATCH v2 2/6] arm64: dts: renesas: r8a77961: Add GPIO nodes Geert Uytterhoeven
2019-12-17 14:19   ` Eugeniu Rosca
2019-12-16 12:47 ` [PATCH v2 3/6] arm64: dts: renesas: r8a77961: Add RAVB node Geert Uytterhoeven
2019-12-17 14:07   ` Eugeniu Rosca
2019-12-16 12:47 ` [PATCH v2 4/6] arm64: dts: renesas: r8a77961: Add SYS-DMAC nodes Geert Uytterhoeven
2019-12-17 16:38   ` Eugeniu Rosca
2019-12-16 12:47 ` [PATCH v2 5/6] arm64: dts: renesas: r8a77961: Add I2C nodes Geert Uytterhoeven
2019-12-17 14:14   ` Eugeniu Rosca
2019-12-16 12:47 ` [PATCH v2 6/6] arm64: dts: renesas: r8a77961: Add SDHI nodes Geert Uytterhoeven
2019-12-17 14:30   ` Eugeniu Rosca
2019-12-17 12:01 ` [PATCH v2 0/6] arm64: dts: renesas: r8a77961: Add more device nodes Eugeniu Rosca
2019-12-17 12:19   ` Geert Uytterhoeven

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=20191216124740.16647-2-geert+renesas@glider.be \
    --to=geert+renesas@glider.be \
    --cc=devicetree@vger.kernel.org \
    --cc=erosca@de.adit-jv.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-renesas-soc@vger.kernel.org \
    --cc=magnus.damm@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).