Skip to content

Commit 45421ff

Browse files
dlezcanoWim Van Sebroeck
authored andcommitted
dt-bindings: watchdog: Add NXP Software Watchdog Timer
Describe the Software Watchdog Timer available on the S32G platforms. Cc: Ghennadi Procopciuc <[email protected]> Cc: Thomas Fossati <[email protected]> Signed-off-by: Daniel Lezcano <[email protected]> Reviewed-by: Rob Herring (Arm) <[email protected]> Reviewed-by: Guenter Roeck <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Guenter Roeck <[email protected]> Signed-off-by: Wim Van Sebroeck <[email protected]>
1 parent 60625ff commit 45421ff

File tree

1 file changed

+54
-0
lines changed

1 file changed

+54
-0
lines changed
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/watchdog/nxp,s32g2-swt.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: NXP Software Watchdog Timer (SWT)
8+
9+
maintainers:
10+
- Daniel Lezcano <[email protected]>
11+
12+
allOf:
13+
- $ref: watchdog.yaml#
14+
15+
properties:
16+
compatible:
17+
oneOf:
18+
- const: nxp,s32g2-swt
19+
- items:
20+
- const: nxp,s32g3-swt
21+
- const: nxp,s32g2-swt
22+
23+
reg:
24+
maxItems: 1
25+
26+
clocks:
27+
items:
28+
- description: Counter clock
29+
- description: Module clock
30+
- description: Register clock
31+
32+
clock-names:
33+
items:
34+
- const: counter
35+
- const: module
36+
- const: register
37+
38+
required:
39+
- compatible
40+
- reg
41+
- clocks
42+
- clock-names
43+
44+
unevaluatedProperties: false
45+
46+
examples:
47+
- |
48+
watchdog@40100000 {
49+
compatible = "nxp,s32g2-swt";
50+
reg = <0x40100000 0x1000>;
51+
clocks = <&clks 0x3a>, <&clks 0x3b>, <&clks 0x3c>;
52+
clock-names = "counter", "module", "register";
53+
timeout-sec = <10>;
54+
};

0 commit comments

Comments
 (0)