diff mbox series

[1/2] arm64: dts: renesas: r8a779h0: Add RWDT node

Message ID 43bb03f3baa87b4be8ce953b1955df6b89387e4c.1706790320.git.geert+renesas@glider.be (mailing list archive)
State Mainlined
Commit 10c353c7a289a54e19b69d775698bf25ddeac5b8
Delegated to: Geert Uytterhoeven
Headers show
Series arm64: dts: renesas: r8a779h0/gray-hawk-single: Add watchdog support | expand

Commit Message

Geert Uytterhoeven Feb. 1, 2024, 2:09 p.m. UTC
From: Minh Le <minh.le.aj@renesas.com>

Add a device node for the RCLK Watchdog Timer (RWDT) on the Renesas
R-Car V4M (R8A779H0) SoC.

Signed-off-by: Minh Le <minh.le.aj@renesas.com>
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
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(+)

Comments

Wolfram Sang Feb. 3, 2024, 5:42 p.m. UTC | #1
On Thu, Feb 01, 2024 at 03:09:16PM +0100, Geert Uytterhoeven wrote:
> From: Minh Le <minh.le.aj@renesas.com>
> 
> Add a device node for the RCLK Watchdog Timer (RWDT) on the Renesas
> R-Car V4M (R8A779H0) SoC.
> 
> Signed-off-by: Minh Le <minh.le.aj@renesas.com>
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>

Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
diff mbox series

Patch

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 = <GIC_SPI 330 IRQ_TYPE_LEVEL_HIGH>;
+			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>,