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 7title: Freescale i.MX Watchdog Timer (WDT) Controller 8 9maintainers: 10 - Anson Huang <Anson.Huang@nxp.com> 11 12properties: 13 compatible: 14 oneOf: 15 - const: fsl,imx21-wdt 16 - items: 17 - enum: 18 - fsl,imx25-wdt 19 - fsl,imx27-wdt 20 - fsl,imx31-wdt 21 - fsl,imx35-wdt 22 - fsl,imx50-wdt 23 - fsl,imx51-wdt 24 - fsl,imx53-wdt 25 - fsl,imx6q-wdt 26 - fsl,imx6sl-wdt 27 - fsl,imx6sll-wdt 28 - fsl,imx6sx-wdt 29 - fsl,imx6ul-wdt 30 - fsl,imx7d-wdt 31 - fsl,imx8mm-wdt 32 - fsl,imx8mn-wdt 33 - fsl,imx8mp-wdt 34 - fsl,imx8mq-wdt 35 - fsl,ls1012a-wdt 36 - fsl,ls1043a-wdt 37 - fsl,vf610-wdt 38 - const: fsl,imx21-wdt 39 40 reg: 41 maxItems: 1 42 43 interrupts: 44 maxItems: 1 45 46 clocks: 47 maxItems: 1 48 49 fsl,ext-reset-output: 50 $ref: /schemas/types.yaml#/definitions/flag 51 description: | 52 If present, the watchdog device is configured to assert its 53 external reset (WDOG_B) instead of issuing a software reset. 54 55 fsl,suspend-in-wait: 56 $ref: /schemas/types.yaml#/definitions/flag 57 description: | 58 If present, the watchdog device is suspended in WAIT mode 59 (Suspend-to-Idle). Only supported on certain devices. 60 61required: 62 - compatible 63 - interrupts 64 - reg 65 66allOf: 67 - $ref: watchdog.yaml# 68 - if: 69 not: 70 properties: 71 compatible: 72 contains: 73 enum: 74 - fsl,imx25-wdt 75 - fsl,imx35-wdt 76 - fsl,imx50-wdt 77 - fsl,imx51-wdt 78 - fsl,imx53-wdt 79 - fsl,imx6q-wdt 80 - fsl,imx6sl-wdt 81 - fsl,imx6sll-wdt 82 - fsl,imx6sx-wdt 83 - fsl,imx6ul-wdt 84 - fsl,imx7d-wdt 85 - fsl,imx8mm-wdt 86 - fsl,imx8mn-wdt 87 - fsl,imx8mp-wdt 88 - fsl,imx8mq-wdt 89 - fsl,vf610-wdt 90 then: 91 properties: 92 fsl,suspend-in-wait: false 93 94unevaluatedProperties: false 95 96examples: 97 - | 98 #include <dt-bindings/interrupt-controller/arm-gic.h> 99 #include <dt-bindings/clock/imx6qdl-clock.h> 100 101 watchdog@20bc000 { 102 compatible = "fsl,imx21-wdt"; 103 reg = <0x020bc000 0x4000>; 104 interrupts = <0 80 IRQ_TYPE_LEVEL_HIGH>; 105 clocks = <&clks IMX6QDL_CLK_IPG>; 106 }; 107 108... 109