arm64: dts: renesas: r8a774c0: Add watchdog support

This change “arm64: dts: renesas: r8a774c0: Add watchdog support” in Linux kernel is authored by Fabrizio Castro <fabrizio.castro [at] bp.renesas.com> on Fri Dec 14 09:10:12 2018 +0000.

arm64: dts: renesas: r8a774c0: Add watchdog support

Add watchdog support to the RZ/G2E (a.k.a. R8A774C0) SoC
specific device tree.

Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>

This Linux change may have been applied to various maintained Linux releases and you can find Linux releases including commit 8d68821.

There are 10 lines of Linux source code added/deleted in this change. Code changes to Linux kernel are as follows.

 arch/arm64/boot/dts/renesas/r8a774c0.dtsi | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/arch/arm64/boot/dts/renesas/r8a774c0.dtsi b/arch/arm64/boot/dts/renesas/r8a774c0.dtsi
index ea40528..a51b6d3 100644
--- a/arch/arm64/boot/dts/renesas/r8a774c0.dtsi
+++ b/arch/arm64/boot/dts/renesas/r8a774c0.dtsi
@@ -105,6 +105,16 @@
 		#size-cells = <2>;
 		ranges;
 
+		rwdt: watchdog@e6020000 {
+			compatible = "renesas,r8a774c0-wdt",
+				     "renesas,rcar-gen3-wdt";
+			reg = <0 0xe6020000 0 0x0c>;
+			clocks = <&cpg CPG_MOD 402>;
+			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
+			resets = <&cpg 402>;
+			status = "disabled";
+		};
+
 		gpio0: gpio@e6050000 {
 			compatible = "renesas,gpio-r8a774c0",
 				     "renesas,rcar-gen3-gpio";

The commit for this change in Linux stable tree is 8d68821 (patch).

Leave a Reply

Your email address will not be published. Required fields are marked *