Merge tag 'sched-urgent-2020-11-22' of git://git.kernel.org/pub/scm/linux/kernel...
[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     oneOf:
18       - const: fsl,imx21-wdt
19       - items:
20           - enum:
21               - fsl,imx8mm-wdt
22               - fsl,imx8mn-wdt
23               - fsl,imx8mp-wdt
24               - fsl,imx8mq-wdt
25           - const: fsl,imx21-wdt
26
27   reg:
28     maxItems: 1
29
30   interrupts:
31     maxItems: 1
32
33   clocks:
34     maxItems: 1
35
36   fsl,ext-reset-output:
37     $ref: /schemas/types.yaml#/definitions/flag
38     description: |
39       If present, the watchdog device is configured to assert its
40       external reset (WDOG_B) instead of issuing a software reset.
41
42 required:
43   - compatible
44   - interrupts
45   - reg
46
47 unevaluatedProperties: false
48
49 examples:
50   - |
51     #include <dt-bindings/interrupt-controller/arm-gic.h>
52     #include <dt-bindings/clock/imx6qdl-clock.h>
53
54     watchdog@20bc000 {
55         compatible = "fsl,imx21-wdt";
56         reg = <0x020bc000 0x4000>;
57         interrupts = <0 80 IRQ_TYPE_LEVEL_HIGH>;
58         clocks = <&clks IMX6QDL_CLK_IPG>;
59     };
60
61 ...