Merge tag 'v5.9' into next
[linux-2.6-microblaze.git] / Documentation / devicetree / bindings / watchdog / fsl-imx-wdt.yaml
1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/watchdog/fsl-imx-wdt.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Freescale i.MX Watchdog Timer (WDT) Controller
8
9 maintainers:
10   - Anson Huang <Anson.Huang@nxp.com>
11
12 allOf:
13   - $ref: "watchdog.yaml#"
14
15 properties:
16   compatible:
17     enum:
18       - fsl,imx21-wdt
19
20   reg:
21     maxItems: 1
22
23   interrupts:
24     maxItems: 1
25
26   clocks:
27     maxItems: 1
28
29   fsl,ext-reset-output:
30     $ref: /schemas/types.yaml#/definitions/flag
31     description: |
32       If present, the watchdog device is configured to assert its
33       external reset (WDOG_B) instead of issuing a software reset.
34
35 required:
36   - compatible
37   - interrupts
38   - reg
39
40 unevaluatedProperties: false
41
42 examples:
43   - |
44     #include <dt-bindings/interrupt-controller/arm-gic.h>
45     #include <dt-bindings/clock/imx6qdl-clock.h>
46
47     watchdog@20bc000 {
48         compatible = "fsl,imx21-wdt";
49         reg = <0x020bc000 0x4000>;
50         interrupts = <0 80 IRQ_TYPE_LEVEL_HIGH>;
51         clocks = <&clks IMX6QDL_CLK_IPG>;
52     };
53
54 ...