diff mbox series

[01/14] arm64: dts: renesas: r8a779g0: Add RWDT node

Message ID 187904c279be6654ea3deb11b7250b64dd18c3b5.1662715538.git.geert+renesas@glider.be (mailing list archive)
State Mainlined
Commit a43306faeea860a6e36b1f0e23881ab4bb75943e
Delegated to: Geert Uytterhoeven
Headers show
Series arm64: dts: renesas: r8a779g0/white-hawk enhancements | expand

Commit Message

Geert Uytterhoeven Sept. 9, 2022, 9:53 a.m. UTC
Add a device node for the RCLK Watchdog Timer (RWDT) on the Renesas
R-Car V4H (R8A779G0) SoC.

Based on a patch in the BSP by Thanh Quan.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
Changes compared to the BSP:
  - Add missing interrupts property.
---
 arch/arm64/boot/dts/renesas/r8a779g0.dtsi | 11 +++++++++++
 1 file changed, 11 insertions(+)
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/renesas/r8a779g0.dtsi b/arch/arm64/boot/dts/renesas/r8a779g0.dtsi
index 1c15726cff8bf10f..63319fee25d9b24c 100644
--- a/arch/arm64/boot/dts/renesas/r8a779g0.dtsi
+++ b/arch/arm64/boot/dts/renesas/r8a779g0.dtsi
@@ -59,6 +59,17 @@  soc: soc {
 		#size-cells = <2>;
 		ranges;
 
+		rwdt: watchdog@e6020000 {
+			compatible = "renesas,r8a779g0-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 R8A779G0_PD_ALWAYS_ON>;
+			resets = <&cpg 907>;
+			status = "disabled";
+		};
+
 		cpg: clock-controller@e6150000 {
 			compatible = "renesas,r8a779g0-cpg-mssr";
 			reg = <0 0xe6150000 0 0x4000>;