summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/watchdog/technologic,ts4800-wdt.yaml
blob: 5c2541ac60cf3b7982aba246b5765e9015dde856 (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
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/watchdog/technologic,ts4800-wdt.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Technologic Systems TS-4800 Watchdog

maintainers:
  - Eduard Bostina <egbostina@gmail.com>

properties:
  compatible:
    const: technologic,ts4800-wdt

  syscon:
    $ref: /schemas/types.yaml#/definitions/phandle-array
    items:
      - items:
          - description: Phandle to the FPGA's syscon
          - description: Offset to the watchdog register
    description: Phandle / integers array that points to the syscon node which
      describes the FPGA's syscon registers.

required:
  - compatible
  - syscon

allOf:
  - $ref: watchdog.yaml#

unevaluatedProperties: false

examples:
  - |
      watchdog {
        compatible = "technologic,ts4800-wdt";
        syscon = <&syscon 0xe>;
        timeout-sec = <10>;
      };