Skip to content

Commit a79b4a4

Browse files
maquefelWim Van Sebroeck
authored andcommitted
dt-bindings: wdt: Add ts72xx
Add DT binding for Technologic Systems TS-72xx watchdog. Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Signed-off-by: Nikita Shubin <nikita.shubin@maquefel.me> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Link: https://lore.kernel.org/r/20231212-ep93xx-v6-25-c307b8ac9aa8@maquefel.me Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
1 parent f84ce9f commit a79b4a4

1 file changed

Lines changed: 45 additions & 0 deletions

File tree

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/watchdog/technologic,ts7200-wdt.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Technologic Systems TS-72xx based SBCs watchdog
8+
9+
maintainers:
10+
- Nikita Shubin <nikita.shubin@maquefel.me>
11+
12+
allOf:
13+
- $ref: watchdog.yaml#
14+
15+
properties:
16+
compatible:
17+
oneOf:
18+
- const: technologic,ts7200-wdt
19+
- items:
20+
- enum:
21+
- technologic,ts7300-wdt
22+
- technologic,ts7260-wdt
23+
- technologic,ts7250-wdt
24+
- const: technologic,ts7200-wdt
25+
26+
reg:
27+
items:
28+
- description: control register
29+
- description: feed register
30+
31+
required:
32+
- compatible
33+
- reg
34+
35+
unevaluatedProperties: false
36+
37+
examples:
38+
- |
39+
watchdog@23800000 {
40+
compatible = "technologic,ts7200-wdt";
41+
reg = <0x23800000 0x01>, <0x23c00000 0x01>;
42+
timeout-sec = <30>;
43+
};
44+
45+
...

0 commit comments

Comments
 (0)