Skip to contentSkip to conversation

arm64: dts: renesas: r8a77965: Add Watchdog Timer controller node using RCLK Watchdog Timer

PATCH New Yoshihiro Kaneko 2 participants 2 messages May 29, 2018

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 arm64: dts: renesas: r8a77965: Add Watchdog Timer controller node using RCLK Watchdog Timer

From: Takeshi Kihara <[email protected]>

Add a device node for the Watchdog Timer (WDT) controller on the Renesas R-Car M3-N (R8A77965) SoC.

Based on a similar patch of the R8A7796 device tree by Geert Uytterhoeven <[email protected]>.

---

This patch is based on the devel branch of Simon Horman's renesas tree.

v2 [Yoshihiro Kaneko]
- add tags
* As suggested by Geert Uytterhoeven
- fix the summary prefix of the subject
- fix the notation of the name of SoC

 arch/arm64/boot/dts/renesas/r8a77965.dtsi | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
arch/arm64/boot/dts/renesas/r8a77965.dtsi +6 -1
index 486aeca..fb7100f 100644
@@ -139,8 +139,13 @@
 		ranges;
 
 		wdt0: watchdog at e6020000 {
+			compatible = "renesas,r8a77965-wdt",
+				     "renesas,rcar-gen3-wdt";
 			reg = <0 0xe6020000 0 0x0c>;
-			/* placeholder */
+			clocks = <&cpg CPG_MOD 402>;
+			power-domains = <&sysc R8A77965_PD_ALWAYS_ON>;
+			resets = <&cpg 402>;
+			status = "disabled";
 		};
 
 		gpio0: gpio at e6050000 {
Signature · 1 line
1.9.1
Applied
#1 lore raw

PATCH v2 1/1 arm64: dts: renesas: r8a77965: Add Watchdog Timer controller node using RCLK Watchdog Timer

Quoted 5 lines · Yoshihiro Kaneko

From: Takeshi Kihara <[email protected]>

Add a device node for the Watchdog Timer (WDT) controller on the Renesas R-Car M3-N (R8A77965) SoC.

Quoted 8 lines

Based on a similar patch of the R8A7796 device tree by Geert Uytterhoeven <[email protected]>.

Thanks, applied.