xref: /linux/Documentation/devicetree/bindings/watchdog/img,pdc-wdt.yaml (revision c94cd9508b1335b949fd13ebd269313c65492df0)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/watchdog/img,pdc-wdt.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: ImgTec PowerDown Controller (PDC) Watchdog Timer (WDT)
8
9maintainers:
10  - Shresth Prasad <shresthprasad7@gmail.com>
11
12allOf:
13  - $ref: watchdog.yaml#
14
15properties:
16  compatible:
17    enum:
18      - img,pdc-wdt
19
20  reg:
21    maxItems: 1
22
23  clocks:
24    items:
25      - description: watchdog counter clock
26      - description: register interface clock
27
28  clock-names:
29    items:
30      - const: wdt
31      - const: sys
32
33  interrupts:
34    maxItems: 1
35
36required:
37  - compatible
38  - reg
39  - clocks
40  - clock-names
41  - interrupts
42
43unevaluatedProperties: false
44
45examples:
46  - |
47    #include <dt-bindings/interrupt-controller/irq.h>
48
49    watchdog@18102100 {
50      compatible = "img,pdc-wdt";
51      reg = <0x18102100 0x100>;
52      clocks = <&pdc_wdt_clk>, <&sys_clk>;
53      clock-names = "wdt", "sys";
54      interrupts = <0 52 IRQ_TYPE_LEVEL_HIGH>;
55    };
56