devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] arm64: dts: mt8173-oak: Switch to SMC watchdog
@ 2022-07-25  8:24 Pin-yen Lin
  2022-07-25  8:39 ` AngeloGioacchino Del Regno
  0 siblings, 1 reply; 7+ messages in thread
From: Pin-yen Lin @ 2022-07-25  8:24 UTC (permalink / raw)
  To: Matthias Brugger, linux-arm-kernel, linux-mediatek, linux-kernel
  Cc: Hsin-Yi Wang, Eizan Miyamoto, Evan Benn, Pin-yen Lin,
	Krzysztof Kozlowski, Rob Herring, devicetree

Switch to SMC watchdog because we need direct control of HW watchdog
registers from kernel. The corresponding firmware was uploaded in
https://review.trustedfirmware.org/c/TF-A/trusted-firmware-a/+/3405.

Signed-off-by: Pin-yen Lin <treapking@chromium.org>
---

 arch/arm64/boot/dts/mediatek/mt8173.dtsi | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi b/arch/arm64/boot/dts/mediatek/mt8173.dtsi
index a2aef5aa67c1..2d1c776740a5 100644
--- a/arch/arm64/boot/dts/mediatek/mt8173.dtsi
+++ b/arch/arm64/boot/dts/mediatek/mt8173.dtsi
@@ -528,10 +528,8 @@ power-domain@MT8173_POWER_DOMAIN_MFG {
 			};
 		};
 
-		watchdog: watchdog@10007000 {
-			compatible = "mediatek,mt8173-wdt",
-				     "mediatek,mt6589-wdt";
-			reg = <0 0x10007000 0 0x100>;
+		watchdog {
+			compatible = "arm,smc-wdt";
 		};
 
 		timer: timer@10008000 {
-- 
2.37.1.359.gd136c6c3e2-goog


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

end of thread, other threads:[~2022-07-26  8:28 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-25  8:24 [PATCH] arm64: dts: mt8173-oak: Switch to SMC watchdog Pin-yen Lin
2022-07-25  8:39 ` AngeloGioacchino Del Regno
2022-07-25 10:19   ` Pin-yen Lin
2022-07-25 10:31     ` AngeloGioacchino Del Regno
2022-07-26  5:55       ` Pin-yen Lin
2022-07-26  8:19         ` AngeloGioacchino Del Regno
2022-07-26  8:27           ` Pin-yen Lin

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