[PATCH 1/2] dt-bindings: watchdog: Add NXP Software Watchdog Timer
From: Daniel Lezcano
Date: Fri Mar 28 2025 - 11:16:38 EST
Describe the Software Watchdog Timer available on the S32G platforms.
Cc: Ghennadi Procopciuc <ghennadi.procopciuc@xxxxxxx>
Cc: Thomas Fossati <thomas.fossati@xxxxxxxxxx>
Signed-off-by: Daniel Lezcano <daniel.lezcano@xxxxxxxxxx>
---
.../bindings/watchdog/nxp,s32g-wdt.yaml | 46 +++++++++++++++++++
1 file changed, 46 insertions(+)
create mode 100644 Documentation/devicetree/bindings/watchdog/nxp,s32g-wdt.yaml
diff --git a/Documentation/devicetree/bindings/watchdog/nxp,s32g-wdt.yaml b/Documentation/devicetree/bindings/watchdog/nxp,s32g-wdt.yaml
new file mode 100644
index 000000000000..06ead743d5c1
--- /dev/null
+++ b/Documentation/devicetree/bindings/watchdog/nxp,s32g-wdt.yaml
@@ -0,0 +1,46 @@
+# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/watchdog/nxp,s32g-wdt.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: NXP Software Watchdog Timer
+
+maintainers:
+ - Daniel Lezcano <daniel.lezcano@xxxxxxxxxx>
+
+description:
+ The System Timer Module supports commonly required system and
+ application software timing functions. STM includes a 32-bit
+ count-up timer and four 32-bit compare channels with a separate
+ interrupt source for each channel. The timer is driven by the STM
+
+allOf:
+ - $ref: watchdog.yaml#
+
+properties:
+ compatible:
+ enum:
+ - nxp,s32g-wdt
+
+ reg:
+ maxItems: 1
+
+ clocks:
+ maxItems: 1
+
+required:
+ - compatible
+ - reg
+ - clocks
+
+additionalProperties: false
+
+examples:
+ - |
+ watchdog@0x40100000 {
+ compatible = "nxp,s32g-wdt";
+ reg = <0x40100000 0x1000>;
+ clocks = <&clks 0x3a>;
+ timeout-sec = <10>;
+ };
--
2.43.0