summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/watchdog/technologic,ts7200-wdt.yaml
blob: 7e4bfef152f828e55b336805170f6a43351bcf91 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/watchdog/technologic,ts7200-wdt.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Technologic Systems TS-72xx based SBCs watchdog

maintainers:
  - Nikita Shubin <nikita.shubin@maquefel.me>

allOf:
  - $ref: watchdog.yaml#

properties:
  compatible:
    oneOf:
      - const: technologic,ts7200-wdt
      - items:
          - enum:
              - technologic,ts7300-wdt
              - technologic,ts7260-wdt
              - technologic,ts7250-wdt
          - const: technologic,ts7200-wdt

  reg:
    items:
      - description: control register
      - description: feed register

required:
  - compatible
  - reg

unevaluatedProperties: false

examples:
  - |
    watchdog@23800000 {
      compatible = "technologic,ts7200-wdt";
      reg = <0x23800000 0x01>, <0x23c00000 0x01>;
      timeout-sec = <30>;
    };

...