From: Paul Menzel <pmenzel@molgen.mpg.de>
To: Wim Van Sebroeck <wim@linux-watchdog.org>,
Guenter Roeck <linux@roeck-us.net>, Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Peter Griffin <peter.griffin@linaro.org>,
Alim Akhtar <alim.akhtar@samsung.com>
Cc: Paul Menzel <pmenzel@molgen.mpg.de>,
Krzysztof Kozlowski <krzk@kernel.org>,
David Virag <virag.david003@gmail.com>,
Umer Uddin <umer.uddin@mentallysanemainliners.org>,
linux-watchdog@vger.kernel.org, devicetree@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-samsung-soc@vger.kernel.org
Subject: [PATCH 3/3] arm64: dts: exynos: exynos7885: Add the watchdog
Date: Fri, 4 Dec 2026 18:48:12 +0100 [thread overview]
Message-ID: <20261204174814.453359-4-pmenzel@molgen.mpg.de> (raw)
In-Reply-To: <20261204174814.453359-1-pmenzel@molgen.mpg.de>
Add the watchdog at 0x10060000, disabled by default like on Exynos850.
Interrupt, clocks and PMU handle follow Samsung’s vendor device tree for
the SoC (SPI 233, WDT_CLUSTER1 gate, OSCCLK as counter clock).
Tested on the Samsung Galaxy Tab A 10.1 (2019, Wi-Fi, SM-T510), whose
device tree enables the node: the watchdog resets the SoC 60 s after an
unexpected close of /dev/watchdog.
Signed-off-by: Paul Menzel <pmenzel@molgen.mpg.de>
---
Notes:
Prepared with Claude Code (claude-opus-5-5): vendor source lookup, the change, the commit message, the schema checks and the test runs on the SM-T510.
arch/arm64/boot/dts/exynos/exynos7885.dtsi | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/arch/arm64/boot/dts/exynos/exynos7885.dtsi b/arch/arm64/boot/dts/exynos/exynos7885.dtsi
index 6b994b487107e..24711ea9467de 100644
--- a/arch/arm64/boot/dts/exynos/exynos7885.dtsi
+++ b/arch/arm64/boot/dts/exynos/exynos7885.dtsi
@@ -222,6 +222,17 @@ cmu_peri: clock-controller@10010000 {
"dout_peri_usi2";
};
+ watchdog: watchdog@10060000 {
+ compatible = "samsung,exynos7885-wdt";
+ reg = <0x10060000 0x100>;
+ interrupts = <GIC_SPI 233 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&cmu_peri CLK_GOUT_WDT1_PCLK>, <&oscclk>;
+ clock-names = "watchdog", "watchdog_src";
+ samsung,syscon-phandle = <&pmu_system_controller>;
+
+ status = "disabled";
+ };
+
cmu_core: clock-controller@12000000 {
compatible = "samsung,exynos7885-cmu-core";
reg = <0x12000000 0x8000>;
--
2.54.0
next prev parent reply other threads:[~2026-12-04 17:54 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-04 17:48 [PATCH 0/3] Add the Exynos7885 watchdog Paul Menzel
2026-12-04 17:48 ` [PATCH 1/3] dt-bindings: watchdog: samsung-wdt: Add Exynos7885 compatible Paul Menzel
2026-12-04 17:48 ` [PATCH 2/3] watchdog: s3c2410_wdt: Add Exynos7885 support Paul Menzel
2026-12-04 17:48 ` Paul Menzel [this message]
2026-12-05 16:44 ` [PATCH 0/3] Add the Exynos7885 watchdog David Virag
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261204174814.453359-4-pmenzel@molgen.mpg.de \
--to=pmenzel@molgen.mpg.de \
--cc=alim.akhtar@samsung.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=krzk+dt@kernel.org \
--cc=krzk@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-samsung-soc@vger.kernel.org \
--cc=linux-watchdog@vger.kernel.org \
--cc=linux@roeck-us.net \
--cc=peter.griffin@linaro.org \
--cc=robh@kernel.org \
--cc=umer.uddin@mentallysanemainliners.org \
--cc=virag.david003@gmail.com \
--cc=wim@linux-watchdog.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox