summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/watchdog/snps,dw-wdt.yaml
blob: 4f6944756ab459bb4176e2627b838630fd34a58d (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
46
47
48
49
50
# SPDX-License-Identifier: GPL-2.0-only
%YAML 1.2
---
$id: http://devicetree.org/schemas/watchdog/snps,dw-wdt.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Synopsys Designware Watchdog Timer

allOf:
  - $ref: "watchdog.yaml#"

maintainers:
  - Jamie Iles <jamie@jamieiles.com>

properties:
  compatible:
    const: snps,dw-wdt

  reg:
    maxItems: 1

  interrupts:
    description: DW Watchdog pre-timeout interrupt
    maxItems: 1

  clocks:
    items:
      - description: Watchdog timer reference clock

  resets:
    description: Phandle to the DW Watchdog reset lane
    maxItems: 1

unevaluatedProperties: false

required:
  - compatible
  - reg
  - clocks

examples:
  - |
    watchdog@ffd02000 {
      compatible = "snps,dw-wdt";
      reg = <0xffd02000 0x1000>;
      interrupts = <0 171 4>;
      clocks = <&per_base_clk>;
      resets = <&wdt_rst>;
    };
...