xref: /linux/Documentation/devicetree/bindings/watchdog/nxp,lpc1850-wwdt.yaml (revision 55d0969c451159cff86949b38c39171cab962069)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/watchdog/nxp,lpc1850-wwdt.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: NXP LPC18xx Watchdog Timer (WDT)
8
9maintainers:
10  - Animesh Agarwal <animeshagarwal28@gmail.com>
11
12properties:
13  compatible:
14    const: nxp,lpc1850-wwdt
15
16  reg:
17    maxItems: 1
18
19  clocks:
20    items:
21      - description: Watchdog counter clock
22      - description: Register interface clock
23
24  clock-names:
25    items:
26      - const: wdtclk
27      - const: reg
28
29  interrupts:
30    maxItems: 1
31
32required:
33  - compatible
34  - reg
35  - clocks
36  - clock-names
37  - interrupts
38
39additionalProperties: false
40
41examples:
42  - |
43    #include <dt-bindings/clock/lpc18xx-cgu.h>
44    #include <dt-bindings/clock/lpc18xx-ccu.h>
45
46    watchdog@40080000 {
47        compatible = "nxp,lpc1850-wwdt";
48        reg = <0x40080000 0x24>;
49        clocks = <&cgu BASE_SAFE_CLK>, <&ccu1 CLK_CPU_WWDT>;
50        clock-names = "wdtclk", "reg";
51        interrupts = <49>;
52    };
53