xref: /linux/Documentation/devicetree/bindings/watchdog/nuvoton,ma35d1-wdt.yaml (revision 67f8bc848ee31831336bd478e57d2f993551902e)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/watchdog/nuvoton,ma35d1-wdt.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Nuvoton MA35D1 Watchdog Timer
8
9maintainers:
10  - Zi-Yu Chen <zychennvt@gmail.com>
11
12allOf:
13  - $ref: watchdog.yaml#
14
15properties:
16  compatible:
17    enum:
18      - nuvoton,ma35d1-wdt
19
20  reg:
21    maxItems: 1
22
23  interrupts:
24    maxItems: 1
25
26  clocks:
27    maxItems: 1
28
29  wakeup-source: true
30
31required:
32  - compatible
33  - reg
34  - interrupts
35  - clocks
36
37unevaluatedProperties: false
38
39examples:
40  - |
41    #include <dt-bindings/interrupt-controller/arm-gic.h>
42    #include <dt-bindings/interrupt-controller/irq.h>
43    #include <dt-bindings/clock/nuvoton,ma35d1-clk.h>
44
45    soc {
46        #address-cells = <2>;
47        #size-cells = <2>;
48        wdt1: watchdog@40440000 {
49          compatible = "nuvoton,ma35d1-wdt";
50          reg = <0x0 0x40440000 0x0 0x100>;
51          interrupts = <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>;
52          clocks = <&clk WDT1_GATE>;
53        };
54    };
55...
56