devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/9] arm64: dts: renesas: gen4: handle SWDT
@ 2025-10-06  8:25 Wolfram Sang
  2025-10-06  8:25 ` [PATCH 1/9] arm64: dts: renesas: r8a779a0: add SWDT node Wolfram Sang
                   ` (8 more replies)
  0 siblings, 9 replies; 19+ messages in thread
From: Wolfram Sang @ 2025-10-06  8:25 UTC (permalink / raw)
  To: linux-renesas-soc
  Cc: Wolfram Sang, Conor Dooley, devicetree, Geert Uytterhoeven,
	Krzysztof Kozlowski, Magnus Damm, Rob Herring

Here is the SWDT handling series for R-Car Gen4: it adds the SWDT node to the
SoC DTSI and then marks it as "reserved" in the board DTs.

No bindings update is needed here. My previous comment about some Gen4
having no bit for reset was wrong. I found them in the docs meanwhile.
This only leaves V3H as an exception. I will add it on top of my WDT
binding doc refactoring series later.

A minor irregularity is that the RWDT was not enabled for V4H White-Hawk
yet. This is fixed here as well. Of course, this series passes
'dtbs_check'.

Thanks and happy hacking!


Wolfram Sang (9):
  arm64: dts: renesas: r8a779a0: add SWDT node
  arm64: dts: renesas: falcon: mark SWDT as reserved
  arm64: dts: renesas: r8a779f0: add SWDT node
  arm64: dts: renesas: s4: mark SWDT as reserved
  arm64: dts: renesas: r8a779g0: add SWDT node
  arm64: dts: renesas: white-hawk: Enable RWDT watchdog timer
  arm64: dts: renesas: v4h: mark SWDT as reserved
  arm64: dts: renesas: r8a779h0: add SWDT node
  arm64: dts: renesas: gray-hawk: mark SWDT as reserved

 arch/arm64/boot/dts/renesas/gray-hawk-single.dtsi      |  5 +++++
 arch/arm64/boot/dts/renesas/r8a779a0-falcon-cpu.dtsi   |  5 +++++
 arch/arm64/boot/dts/renesas/r8a779a0.dtsi              | 10 ++++++++++
 arch/arm64/boot/dts/renesas/r8a779f0-spider-cpu.dtsi   |  5 +++++
 arch/arm64/boot/dts/renesas/r8a779f0.dtsi              | 10 ++++++++++
 arch/arm64/boot/dts/renesas/r8a779f4-s4sk.dts          |  5 +++++
 .../boot/dts/renesas/r8a779g0-white-hawk-cpu.dtsi      | 10 ++++++++++
 arch/arm64/boot/dts/renesas/r8a779g0.dtsi              | 10 ++++++++++
 arch/arm64/boot/dts/renesas/r8a779g3-sparrow-hawk.dts  |  5 +++++
 arch/arm64/boot/dts/renesas/r8a779h0.dtsi              | 10 ++++++++++
 10 files changed, 75 insertions(+)

-- 
2.47.2


^ permalink raw reply	[flat|nested] 19+ messages in thread

* [PATCH 1/9] arm64: dts: renesas: r8a779a0: add SWDT node
  2025-10-06  8:25 [PATCH 0/9] arm64: dts: renesas: gen4: handle SWDT Wolfram Sang
@ 2025-10-06  8:25 ` Wolfram Sang
  2025-10-06 15:33   ` Geert Uytterhoeven
  2025-10-06  8:25 ` [PATCH 2/9] arm64: dts: renesas: falcon: mark SWDT as reserved Wolfram Sang
                   ` (7 subsequent siblings)
  8 siblings, 1 reply; 19+ messages in thread
From: Wolfram Sang @ 2025-10-06  8:25 UTC (permalink / raw)
  To: linux-renesas-soc
  Cc: Wolfram Sang, Geert Uytterhoeven, Magnus Damm, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, devicetree

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
---
 arch/arm64/boot/dts/renesas/r8a779a0.dtsi | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/arch/arm64/boot/dts/renesas/r8a779a0.dtsi b/arch/arm64/boot/dts/renesas/r8a779a0.dtsi
index 2c3fb34abb28..5b69fd73fbdf 100644
--- a/arch/arm64/boot/dts/renesas/r8a779a0.dtsi
+++ b/arch/arm64/boot/dts/renesas/r8a779a0.dtsi
@@ -90,6 +90,16 @@ rwdt: watchdog@e6020000 {
 			status = "disabled";
 		};
 
+		swdt: watchdog@e6030000 {
+			compatible = "renesas,r8a779a0-wdt", "renesas,rcar-gen4-wdt";
+			reg = <0 0xe6030000 0 0x0c>;
+			interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&cpg CPG_CORE R8A779A0_CLK_OSC>;
+			power-domains = <&sysc R8A779A0_PD_ALWAYS_ON>;
+			resets = <&cpg 1128>;
+			status = "disabled";
+		};
+
 		pfc: pinctrl@e6050000 {
 			compatible = "renesas,pfc-r8a779a0";
 			reg = <0 0xe6050000 0 0x16c>, <0 0xe6050800 0 0x16c>,
-- 
2.47.2


^ permalink raw reply related	[flat|nested] 19+ messages in thread

* [PATCH 2/9] arm64: dts: renesas: falcon: mark SWDT as reserved
  2025-10-06  8:25 [PATCH 0/9] arm64: dts: renesas: gen4: handle SWDT Wolfram Sang
  2025-10-06  8:25 ` [PATCH 1/9] arm64: dts: renesas: r8a779a0: add SWDT node Wolfram Sang
@ 2025-10-06  8:25 ` Wolfram Sang
  2025-10-06 15:33   ` Geert Uytterhoeven
  2025-10-06  8:25 ` [PATCH 3/9] arm64: dts: renesas: r8a779f0: add SWDT node Wolfram Sang
                   ` (6 subsequent siblings)
  8 siblings, 1 reply; 19+ messages in thread
From: Wolfram Sang @ 2025-10-06  8:25 UTC (permalink / raw)
  To: linux-renesas-soc
  Cc: Wolfram Sang, Geert Uytterhoeven, Magnus Damm, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, devicetree

This watchdog can't be used with Linux because the firmware needs it on
V3U Falcon boards. Sadly, it doesn't mark the node as reserved, so this
is added manually here.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
---
 arch/arm64/boot/dts/renesas/r8a779a0-falcon-cpu.dtsi | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/arch/arm64/boot/dts/renesas/r8a779a0-falcon-cpu.dtsi b/arch/arm64/boot/dts/renesas/r8a779a0-falcon-cpu.dtsi
index 0916fd57d1f1..5432c7d6919d 100644
--- a/arch/arm64/boot/dts/renesas/r8a779a0-falcon-cpu.dtsi
+++ b/arch/arm64/boot/dts/renesas/r8a779a0-falcon-cpu.dtsi
@@ -357,3 +357,8 @@ &scif0 {
 &scif_clk {
 	clock-frequency = <24000000>;
 };
+
+/* Firmware should reserve it but sadly doesn't */
+&swdt {
+	status = "reserved";
+};
-- 
2.47.2


^ permalink raw reply related	[flat|nested] 19+ messages in thread

* [PATCH 3/9] arm64: dts: renesas: r8a779f0: add SWDT node
  2025-10-06  8:25 [PATCH 0/9] arm64: dts: renesas: gen4: handle SWDT Wolfram Sang
  2025-10-06  8:25 ` [PATCH 1/9] arm64: dts: renesas: r8a779a0: add SWDT node Wolfram Sang
  2025-10-06  8:25 ` [PATCH 2/9] arm64: dts: renesas: falcon: mark SWDT as reserved Wolfram Sang
@ 2025-10-06  8:25 ` Wolfram Sang
  2025-10-06 15:34   ` Geert Uytterhoeven
  2025-10-06  8:25 ` [PATCH 4/9] arm64: dts: renesas: s4: mark SWDT as reserved Wolfram Sang
                   ` (5 subsequent siblings)
  8 siblings, 1 reply; 19+ messages in thread
From: Wolfram Sang @ 2025-10-06  8:25 UTC (permalink / raw)
  To: linux-renesas-soc
  Cc: Wolfram Sang, Geert Uytterhoeven, Magnus Damm, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, devicetree

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
---
 arch/arm64/boot/dts/renesas/r8a779f0.dtsi | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/arch/arm64/boot/dts/renesas/r8a779f0.dtsi b/arch/arm64/boot/dts/renesas/r8a779f0.dtsi
index b496495c59a6..f5913444a391 100644
--- a/arch/arm64/boot/dts/renesas/r8a779f0.dtsi
+++ b/arch/arm64/boot/dts/renesas/r8a779f0.dtsi
@@ -315,6 +315,16 @@ rwdt: watchdog@e6020000 {
 			status = "disabled";
 		};
 
+		swdt: watchdog@e6030000 {
+			compatible = "renesas,r8a779f0-wdt", "renesas,rcar-gen4-wdt";
+			reg = <0 0xe6030000 0 0x0c>;
+			interrupts = <GIC_SPI 516 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&cpg CPG_CORE R8A779F0_CLK_OSC>;
+			power-domains = <&sysc R8A779F0_PD_ALWAYS_ON>;
+			resets = <&cpg 1128>;
+			status = "disabled";
+		};
+
 		pfc: pinctrl@e6050000 {
 			compatible = "renesas,pfc-r8a779f0";
 			reg = <0 0xe6050000 0 0x16c>, <0 0xe6050800 0 0x16c>,
-- 
2.47.2


^ permalink raw reply related	[flat|nested] 19+ messages in thread

* [PATCH 4/9] arm64: dts: renesas: s4: mark SWDT as reserved
  2025-10-06  8:25 [PATCH 0/9] arm64: dts: renesas: gen4: handle SWDT Wolfram Sang
                   ` (2 preceding siblings ...)
  2025-10-06  8:25 ` [PATCH 3/9] arm64: dts: renesas: r8a779f0: add SWDT node Wolfram Sang
@ 2025-10-06  8:25 ` Wolfram Sang
  2025-10-06 15:34   ` Geert Uytterhoeven
  2025-10-06  8:25 ` [PATCH 5/9] arm64: dts: renesas: r8a779g0: add SWDT node Wolfram Sang
                   ` (4 subsequent siblings)
  8 siblings, 1 reply; 19+ messages in thread
From: Wolfram Sang @ 2025-10-06  8:25 UTC (permalink / raw)
  To: linux-renesas-soc
  Cc: Wolfram Sang, Geert Uytterhoeven, Magnus Damm, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, devicetree

This watchdog can't be used with Linux because the firmware needs it on
S4 boards. Sadly, it doesn't mark the node as reserved, so this is added
manually here.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
---
 arch/arm64/boot/dts/renesas/r8a779f0-spider-cpu.dtsi | 5 +++++
 arch/arm64/boot/dts/renesas/r8a779f4-s4sk.dts        | 5 +++++
 2 files changed, 10 insertions(+)

diff --git a/arch/arm64/boot/dts/renesas/r8a779f0-spider-cpu.dtsi b/arch/arm64/boot/dts/renesas/r8a779f0-spider-cpu.dtsi
index 1781bb79a619..c8d78a0f6653 100644
--- a/arch/arm64/boot/dts/renesas/r8a779f0-spider-cpu.dtsi
+++ b/arch/arm64/boot/dts/renesas/r8a779f0-spider-cpu.dtsi
@@ -229,6 +229,11 @@ &scif_clk {
 	clock-frequency = <24000000>;
 };
 
+/* Firmware should reserve it but sadly doesn't */
+&swdt {
+	status = "reserved";
+};
+
 &ufs {
 	status = "okay";
 };
diff --git a/arch/arm64/boot/dts/renesas/r8a779f4-s4sk.dts b/arch/arm64/boot/dts/renesas/r8a779f4-s4sk.dts
index 67b18f2bffbd..dcdcc22f91c5 100644
--- a/arch/arm64/boot/dts/renesas/r8a779f4-s4sk.dts
+++ b/arch/arm64/boot/dts/renesas/r8a779f4-s4sk.dts
@@ -230,6 +230,11 @@ &scif_clk {
 	clock-frequency = <24000000>;
 };
 
+/* Firmware should reserve it but sadly doesn't */
+&swdt {
+	status = "reserved";
+};
+
 &ufs {
 	status = "okay";
 };
-- 
2.47.2


^ permalink raw reply related	[flat|nested] 19+ messages in thread

* [PATCH 5/9] arm64: dts: renesas: r8a779g0: add SWDT node
  2025-10-06  8:25 [PATCH 0/9] arm64: dts: renesas: gen4: handle SWDT Wolfram Sang
                   ` (3 preceding siblings ...)
  2025-10-06  8:25 ` [PATCH 4/9] arm64: dts: renesas: s4: mark SWDT as reserved Wolfram Sang
@ 2025-10-06  8:25 ` Wolfram Sang
  2025-10-06 15:35   ` Geert Uytterhoeven
  2025-10-06  8:25 ` [PATCH 6/9] arm64: dts: renesas: white-hawk: Enable RWDT watchdog timer Wolfram Sang
                   ` (3 subsequent siblings)
  8 siblings, 1 reply; 19+ messages in thread
From: Wolfram Sang @ 2025-10-06  8:25 UTC (permalink / raw)
  To: linux-renesas-soc
  Cc: Wolfram Sang, Geert Uytterhoeven, Magnus Damm, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, devicetree

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
---
 arch/arm64/boot/dts/renesas/r8a779g0.dtsi | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/arch/arm64/boot/dts/renesas/r8a779g0.dtsi b/arch/arm64/boot/dts/renesas/r8a779g0.dtsi
index 2dbf07211f6b..b8648921781c 100644
--- a/arch/arm64/boot/dts/renesas/r8a779g0.dtsi
+++ b/arch/arm64/boot/dts/renesas/r8a779g0.dtsi
@@ -234,6 +234,16 @@ rwdt: watchdog@e6020000 {
 			status = "disabled";
 		};
 
+		swdt: watchdog@e6030000 {
+			compatible = "renesas,r8a779g0-wdt", "renesas,rcar-gen4-wdt";
+			reg = <0 0xe6030000 0 0x0c>;
+			interrupts = <GIC_SPI 331 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&cpg CPG_CORE R8A779G0_CLK_OSC>;
+			power-domains = <&sysc R8A779G0_PD_ALWAYS_ON>;
+			resets = <&cpg 1128>;
+			status = "disabled";
+		};
+
 		pfc: pinctrl@e6050000 {
 			compatible = "renesas,pfc-r8a779g0";
 			reg = <0 0xe6050000 0 0x16c>, <0 0xe6050800 0 0x16c>,
-- 
2.47.2


^ permalink raw reply related	[flat|nested] 19+ messages in thread

* [PATCH 6/9] arm64: dts: renesas: white-hawk: Enable RWDT watchdog timer
  2025-10-06  8:25 [PATCH 0/9] arm64: dts: renesas: gen4: handle SWDT Wolfram Sang
                   ` (4 preceding siblings ...)
  2025-10-06  8:25 ` [PATCH 5/9] arm64: dts: renesas: r8a779g0: add SWDT node Wolfram Sang
@ 2025-10-06  8:25 ` Wolfram Sang
  2025-10-06 15:21   ` Geert Uytterhoeven
  2025-10-06  8:25 ` [PATCH 7/9] arm64: dts: renesas: v4h: mark SWDT as reserved Wolfram Sang
                   ` (2 subsequent siblings)
  8 siblings, 1 reply; 19+ messages in thread
From: Wolfram Sang @ 2025-10-06  8:25 UTC (permalink / raw)
  To: linux-renesas-soc
  Cc: Wolfram Sang, Geert Uytterhoeven, Magnus Damm, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, devicetree

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
---
 arch/arm64/boot/dts/renesas/r8a779g0-white-hawk-cpu.dtsi | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/arch/arm64/boot/dts/renesas/r8a779g0-white-hawk-cpu.dtsi b/arch/arm64/boot/dts/renesas/r8a779g0-white-hawk-cpu.dtsi
index b1fe1aedc27d..15554aa64c5d 100644
--- a/arch/arm64/boot/dts/renesas/r8a779g0-white-hawk-cpu.dtsi
+++ b/arch/arm64/boot/dts/renesas/r8a779g0-white-hawk-cpu.dtsi
@@ -12,3 +12,8 @@ / {
 	model = "Renesas White Hawk CPU board";
 	compatible = "renesas,white-hawk-cpu", "renesas,r8a779g0";
 };
+
+&rwdt {
+	timeout-sec = <60>;
+	status = "okay";
+};
-- 
2.47.2


^ permalink raw reply related	[flat|nested] 19+ messages in thread

* [PATCH 7/9] arm64: dts: renesas: v4h: mark SWDT as reserved
  2025-10-06  8:25 [PATCH 0/9] arm64: dts: renesas: gen4: handle SWDT Wolfram Sang
                   ` (5 preceding siblings ...)
  2025-10-06  8:25 ` [PATCH 6/9] arm64: dts: renesas: white-hawk: Enable RWDT watchdog timer Wolfram Sang
@ 2025-10-06  8:25 ` Wolfram Sang
  2025-10-06 15:39   ` Geert Uytterhoeven
  2025-10-06  8:25 ` [PATCH 8/9] arm64: dts: renesas: r8a779h0: add SWDT node Wolfram Sang
  2025-10-06  8:25 ` [PATCH 9/9] arm64: dts: renesas: gray-hawk: mark SWDT as reserved Wolfram Sang
  8 siblings, 1 reply; 19+ messages in thread
From: Wolfram Sang @ 2025-10-06  8:25 UTC (permalink / raw)
  To: linux-renesas-soc
  Cc: Wolfram Sang, Geert Uytterhoeven, Magnus Damm, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, devicetree

This watchdog can't be used with Linux because the firmware needs it on
V4H boards. Sadly, it doesn't mark the node as reserved, so this is
added manually here.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
---
 arch/arm64/boot/dts/renesas/r8a779g0-white-hawk-cpu.dtsi | 5 +++++
 arch/arm64/boot/dts/renesas/r8a779g3-sparrow-hawk.dts    | 5 +++++
 2 files changed, 10 insertions(+)

diff --git a/arch/arm64/boot/dts/renesas/r8a779g0-white-hawk-cpu.dtsi b/arch/arm64/boot/dts/renesas/r8a779g0-white-hawk-cpu.dtsi
index 15554aa64c5d..86f09b9a0488 100644
--- a/arch/arm64/boot/dts/renesas/r8a779g0-white-hawk-cpu.dtsi
+++ b/arch/arm64/boot/dts/renesas/r8a779g0-white-hawk-cpu.dtsi
@@ -17,3 +17,8 @@ &rwdt {
 	timeout-sec = <60>;
 	status = "okay";
 };
+
+/* Firmware should reserve it but sadly doesn't */
+&swdt {
+	status = "reserved";
+};
diff --git a/arch/arm64/boot/dts/renesas/r8a779g3-sparrow-hawk.dts b/arch/arm64/boot/dts/renesas/r8a779g3-sparrow-hawk.dts
index 1da8e476b219..161c083241f9 100644
--- a/arch/arm64/boot/dts/renesas/r8a779g3-sparrow-hawk.dts
+++ b/arch/arm64/boot/dts/renesas/r8a779g3-sparrow-hawk.dts
@@ -942,3 +942,8 @@ &sensor_thermal_cr52 {
 &sensor_thermal_ddr1 {
 	critical-action = "shutdown";
 };
+
+/* Firmware should reserve it but sadly doesn't */
+&swdt {
+	status = "reserved";
+};
-- 
2.47.2


^ permalink raw reply related	[flat|nested] 19+ messages in thread

* [PATCH 8/9] arm64: dts: renesas: r8a779h0: add SWDT node
  2025-10-06  8:25 [PATCH 0/9] arm64: dts: renesas: gen4: handle SWDT Wolfram Sang
                   ` (6 preceding siblings ...)
  2025-10-06  8:25 ` [PATCH 7/9] arm64: dts: renesas: v4h: mark SWDT as reserved Wolfram Sang
@ 2025-10-06  8:25 ` Wolfram Sang
  2025-10-06 15:40   ` Geert Uytterhoeven
  2025-10-06  8:25 ` [PATCH 9/9] arm64: dts: renesas: gray-hawk: mark SWDT as reserved Wolfram Sang
  8 siblings, 1 reply; 19+ messages in thread
From: Wolfram Sang @ 2025-10-06  8:25 UTC (permalink / raw)
  To: linux-renesas-soc
  Cc: Wolfram Sang, Geert Uytterhoeven, Magnus Damm, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, devicetree

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
---
 arch/arm64/boot/dts/renesas/r8a779h0.dtsi | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/arch/arm64/boot/dts/renesas/r8a779h0.dtsi b/arch/arm64/boot/dts/renesas/r8a779h0.dtsi
index 0f20a2d23983..c8c1db0514d2 100644
--- a/arch/arm64/boot/dts/renesas/r8a779h0.dtsi
+++ b/arch/arm64/boot/dts/renesas/r8a779h0.dtsi
@@ -199,6 +199,16 @@ rwdt: watchdog@e6020000 {
 			status = "disabled";
 		};
 
+		swdt: watchdog@e6030000 {
+			compatible = "renesas,r8a779h0-wdt", "renesas,rcar-gen4-wdt";
+			reg = <0 0xe6030000 0 0x0c>;
+			interrupts = <GIC_SPI 331 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&cpg CPG_CORE R8A779H0_CLK_OSC>;
+			power-domains = <&sysc R8A779H0_PD_ALWAYS_ON>;
+			resets = <&cpg 1128>;
+			status = "disabled";
+		};
+
 		pfc: pinctrl@e6050000 {
 			compatible = "renesas,pfc-r8a779h0";
 			reg = <0 0xe6050000 0 0x16c>, <0 0xe6050800 0 0x16c>,
-- 
2.47.2


^ permalink raw reply related	[flat|nested] 19+ messages in thread

* [PATCH 9/9] arm64: dts: renesas: gray-hawk: mark SWDT as reserved
  2025-10-06  8:25 [PATCH 0/9] arm64: dts: renesas: gen4: handle SWDT Wolfram Sang
                   ` (7 preceding siblings ...)
  2025-10-06  8:25 ` [PATCH 8/9] arm64: dts: renesas: r8a779h0: add SWDT node Wolfram Sang
@ 2025-10-06  8:25 ` Wolfram Sang
  2025-10-06 15:40   ` Geert Uytterhoeven
  8 siblings, 1 reply; 19+ messages in thread
From: Wolfram Sang @ 2025-10-06  8:25 UTC (permalink / raw)
  To: linux-renesas-soc
  Cc: Wolfram Sang, Geert Uytterhoeven, Magnus Damm, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, devicetree

This watchdog can't be used with Linux because the firmware needs it on
V4M Gray-Hawk boards. Sadly, it doesn't mark the node as reserved, so
this is added manually here.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
---
 arch/arm64/boot/dts/renesas/gray-hawk-single.dtsi | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/arch/arm64/boot/dts/renesas/gray-hawk-single.dtsi b/arch/arm64/boot/dts/renesas/gray-hawk-single.dtsi
index 2edb5cb3407b..f5b3d8844dc4 100644
--- a/arch/arm64/boot/dts/renesas/gray-hawk-single.dtsi
+++ b/arch/arm64/boot/dts/renesas/gray-hawk-single.dtsi
@@ -801,6 +801,11 @@ &scif_clk2 {
 	clock-frequency = <24000000>;
 };
 
+/* Firmware should reserve it but sadly doesn't */
+&swdt {
+	status = "reserved";
+};
+
 &vin00 {
 	status = "okay";
 };
-- 
2.47.2


^ permalink raw reply related	[flat|nested] 19+ messages in thread

* Re: [PATCH 6/9] arm64: dts: renesas: white-hawk: Enable RWDT watchdog timer
  2025-10-06  8:25 ` [PATCH 6/9] arm64: dts: renesas: white-hawk: Enable RWDT watchdog timer Wolfram Sang
@ 2025-10-06 15:21   ` Geert Uytterhoeven
  0 siblings, 0 replies; 19+ messages in thread
From: Geert Uytterhoeven @ 2025-10-06 15:21 UTC (permalink / raw)
  To: Wolfram Sang
  Cc: linux-renesas-soc, Magnus Damm, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, devicetree

Hi Wolfram,

On Mon, 6 Oct 2025 at 10:29, Wolfram Sang
<wsa+renesas@sang-engineering.com> wrote:
> Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>

Thanks for your patch!

> --- a/arch/arm64/boot/dts/renesas/r8a779g0-white-hawk-cpu.dtsi
> +++ b/arch/arm64/boot/dts/renesas/r8a779g0-white-hawk-cpu.dtsi
> @@ -12,3 +12,8 @@ / {
>         model = "Renesas White Hawk CPU board";
>         compatible = "renesas,white-hawk-cpu", "renesas,r8a779g0";
>  };
> +
> +&rwdt {
> +       timeout-sec = <60>;
> +       status = "okay";
> +};

Rwdt is already enabled in white-hawk-cpu-common.dtsi, so this patch
can be dropped.

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [PATCH 1/9] arm64: dts: renesas: r8a779a0: add SWDT node
  2025-10-06  8:25 ` [PATCH 1/9] arm64: dts: renesas: r8a779a0: add SWDT node Wolfram Sang
@ 2025-10-06 15:33   ` Geert Uytterhoeven
  0 siblings, 0 replies; 19+ messages in thread
From: Geert Uytterhoeven @ 2025-10-06 15:33 UTC (permalink / raw)
  To: Wolfram Sang
  Cc: linux-renesas-soc, Magnus Damm, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, devicetree

On Mon, 6 Oct 2025 at 10:29, Wolfram Sang
<wsa+renesas@sang-engineering.com> wrote:
> Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>

Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
i.e. will queue in renesas-devel for v6.19.

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [PATCH 2/9] arm64: dts: renesas: falcon: mark SWDT as reserved
  2025-10-06  8:25 ` [PATCH 2/9] arm64: dts: renesas: falcon: mark SWDT as reserved Wolfram Sang
@ 2025-10-06 15:33   ` Geert Uytterhoeven
  0 siblings, 0 replies; 19+ messages in thread
From: Geert Uytterhoeven @ 2025-10-06 15:33 UTC (permalink / raw)
  To: Wolfram Sang
  Cc: linux-renesas-soc, Magnus Damm, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, devicetree

On Mon, 6 Oct 2025 at 10:29, Wolfram Sang
<wsa+renesas@sang-engineering.com> wrote:
> This watchdog can't be used with Linux because the firmware needs it on
> V3U Falcon boards. Sadly, it doesn't mark the node as reserved, so this
> is added manually here.
>
> Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>

Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
i.e. will queue in renesas-devel for v6.19.

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [PATCH 3/9] arm64: dts: renesas: r8a779f0: add SWDT node
  2025-10-06  8:25 ` [PATCH 3/9] arm64: dts: renesas: r8a779f0: add SWDT node Wolfram Sang
@ 2025-10-06 15:34   ` Geert Uytterhoeven
  0 siblings, 0 replies; 19+ messages in thread
From: Geert Uytterhoeven @ 2025-10-06 15:34 UTC (permalink / raw)
  To: Wolfram Sang
  Cc: linux-renesas-soc, Magnus Damm, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, devicetree

On Mon, 6 Oct 2025 at 10:29, Wolfram Sang
<wsa+renesas@sang-engineering.com> wrote:
> Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>

Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
i.e. will queue in renesas-devel for v6.19.

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [PATCH 4/9] arm64: dts: renesas: s4: mark SWDT as reserved
  2025-10-06  8:25 ` [PATCH 4/9] arm64: dts: renesas: s4: mark SWDT as reserved Wolfram Sang
@ 2025-10-06 15:34   ` Geert Uytterhoeven
  0 siblings, 0 replies; 19+ messages in thread
From: Geert Uytterhoeven @ 2025-10-06 15:34 UTC (permalink / raw)
  To: Wolfram Sang
  Cc: linux-renesas-soc, Magnus Damm, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, devicetree

On Mon, 6 Oct 2025 at 10:29, Wolfram Sang
<wsa+renesas@sang-engineering.com> wrote:
> This watchdog can't be used with Linux because the firmware needs it on
> S4 boards. Sadly, it doesn't mark the node as reserved, so this is added
> manually here.
>
> Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>

Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
i.e. will queue in renesas-devel for v6.19.

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [PATCH 5/9] arm64: dts: renesas: r8a779g0: add SWDT node
  2025-10-06  8:25 ` [PATCH 5/9] arm64: dts: renesas: r8a779g0: add SWDT node Wolfram Sang
@ 2025-10-06 15:35   ` Geert Uytterhoeven
  0 siblings, 0 replies; 19+ messages in thread
From: Geert Uytterhoeven @ 2025-10-06 15:35 UTC (permalink / raw)
  To: Wolfram Sang
  Cc: linux-renesas-soc, Magnus Damm, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, devicetree

On Mon, 6 Oct 2025 at 10:29, Wolfram Sang
<wsa+renesas@sang-engineering.com> wrote:
> Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>

Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
i.e. will queue in renesas-devel for v6.19.

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [PATCH 7/9] arm64: dts: renesas: v4h: mark SWDT as reserved
  2025-10-06  8:25 ` [PATCH 7/9] arm64: dts: renesas: v4h: mark SWDT as reserved Wolfram Sang
@ 2025-10-06 15:39   ` Geert Uytterhoeven
  0 siblings, 0 replies; 19+ messages in thread
From: Geert Uytterhoeven @ 2025-10-06 15:39 UTC (permalink / raw)
  To: Wolfram Sang
  Cc: linux-renesas-soc, Magnus Damm, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, devicetree

Hi Wolfram,

On Mon, 6 Oct 2025 at 10:29, Wolfram Sang
<wsa+renesas@sang-engineering.com> wrote:
> This watchdog can't be used with Linux because the firmware needs it on
> V4H boards. Sadly, it doesn't mark the node as reserved, so this is
> added manually here.
>
> Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>

Thanks for your patch!

> --- a/arch/arm64/boot/dts/renesas/r8a779g0-white-hawk-cpu.dtsi
> +++ b/arch/arm64/boot/dts/renesas/r8a779g0-white-hawk-cpu.dtsi
> @@ -17,3 +17,8 @@ &rwdt {
>         timeout-sec = <60>;
>         status = "okay";
>  };
> +
> +/* Firmware should reserve it but sadly doesn't */
> +&swdt {
> +       status = "reserved";
> +};

This hunk should be applied to white-hawk-cpu-common.dtsi instead.
I will fix that while applying.

Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
i.e. will queue in renesas-devel for v6.19.

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [PATCH 9/9] arm64: dts: renesas: gray-hawk: mark SWDT as reserved
  2025-10-06  8:25 ` [PATCH 9/9] arm64: dts: renesas: gray-hawk: mark SWDT as reserved Wolfram Sang
@ 2025-10-06 15:40   ` Geert Uytterhoeven
  0 siblings, 0 replies; 19+ messages in thread
From: Geert Uytterhoeven @ 2025-10-06 15:40 UTC (permalink / raw)
  To: Wolfram Sang
  Cc: linux-renesas-soc, Magnus Damm, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, devicetree

On Mon, 6 Oct 2025 at 10:29, Wolfram Sang
<wsa+renesas@sang-engineering.com> wrote:
> This watchdog can't be used with Linux because the firmware needs it on
> V4M Gray-Hawk boards. Sadly, it doesn't mark the node as reserved, so
> this is added manually here.
>
> Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>

Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
i.e. will queue in renesas-devel for v6.19.

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [PATCH 8/9] arm64: dts: renesas: r8a779h0: add SWDT node
  2025-10-06  8:25 ` [PATCH 8/9] arm64: dts: renesas: r8a779h0: add SWDT node Wolfram Sang
@ 2025-10-06 15:40   ` Geert Uytterhoeven
  0 siblings, 0 replies; 19+ messages in thread
From: Geert Uytterhoeven @ 2025-10-06 15:40 UTC (permalink / raw)
  To: Wolfram Sang
  Cc: linux-renesas-soc, Magnus Damm, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, devicetree

On Mon, 6 Oct 2025 at 10:29, Wolfram Sang
<wsa+renesas@sang-engineering.com> wrote:
> Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>

Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
i.e. will queue in renesas-devel for v6.19.

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2025-10-06 15:40 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-06  8:25 [PATCH 0/9] arm64: dts: renesas: gen4: handle SWDT Wolfram Sang
2025-10-06  8:25 ` [PATCH 1/9] arm64: dts: renesas: r8a779a0: add SWDT node Wolfram Sang
2025-10-06 15:33   ` Geert Uytterhoeven
2025-10-06  8:25 ` [PATCH 2/9] arm64: dts: renesas: falcon: mark SWDT as reserved Wolfram Sang
2025-10-06 15:33   ` Geert Uytterhoeven
2025-10-06  8:25 ` [PATCH 3/9] arm64: dts: renesas: r8a779f0: add SWDT node Wolfram Sang
2025-10-06 15:34   ` Geert Uytterhoeven
2025-10-06  8:25 ` [PATCH 4/9] arm64: dts: renesas: s4: mark SWDT as reserved Wolfram Sang
2025-10-06 15:34   ` Geert Uytterhoeven
2025-10-06  8:25 ` [PATCH 5/9] arm64: dts: renesas: r8a779g0: add SWDT node Wolfram Sang
2025-10-06 15:35   ` Geert Uytterhoeven
2025-10-06  8:25 ` [PATCH 6/9] arm64: dts: renesas: white-hawk: Enable RWDT watchdog timer Wolfram Sang
2025-10-06 15:21   ` Geert Uytterhoeven
2025-10-06  8:25 ` [PATCH 7/9] arm64: dts: renesas: v4h: mark SWDT as reserved Wolfram Sang
2025-10-06 15:39   ` Geert Uytterhoeven
2025-10-06  8:25 ` [PATCH 8/9] arm64: dts: renesas: r8a779h0: add SWDT node Wolfram Sang
2025-10-06 15:40   ` Geert Uytterhoeven
2025-10-06  8:25 ` [PATCH 9/9] arm64: dts: renesas: gray-hawk: mark SWDT as reserved Wolfram Sang
2025-10-06 15:40   ` Geert Uytterhoeven

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).