111 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)2%YAML 1.23---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) Controller8 9maintainers:10 - Shawn Guo <shawnguo@kernel.org>11 - Sascha Hauer <s.hauer@pengutronix.de>12 - Fabio Estevam <festevam@gmail.com>13 14properties:15 compatible:16 oneOf:17 - const: fsl,imx21-wdt18 - items:19 - enum:20 - fsl,imx25-wdt21 - fsl,imx27-wdt22 - fsl,imx31-wdt23 - fsl,imx35-wdt24 - fsl,imx50-wdt25 - fsl,imx51-wdt26 - fsl,imx53-wdt27 - fsl,imx6q-wdt28 - fsl,imx6sl-wdt29 - fsl,imx6sll-wdt30 - fsl,imx6sx-wdt31 - fsl,imx6ul-wdt32 - fsl,imx7d-wdt33 - fsl,imx8mm-wdt34 - fsl,imx8mn-wdt35 - fsl,imx8mp-wdt36 - fsl,imx8mq-wdt37 - fsl,ls1012a-wdt38 - fsl,ls1043a-wdt39 - fsl,vf610-wdt40 - const: fsl,imx21-wdt41 42 reg:43 maxItems: 144 45 interrupts:46 maxItems: 147 48 clocks:49 maxItems: 150 51 fsl,ext-reset-output:52 $ref: /schemas/types.yaml#/definitions/flag53 description: |54 If present, the watchdog device is configured to assert its55 external reset (WDOG_B) instead of issuing a software reset.56 57 fsl,suspend-in-wait:58 $ref: /schemas/types.yaml#/definitions/flag59 description: |60 If present, the watchdog device is suspended in WAIT mode61 (Suspend-to-Idle). Only supported on certain devices.62 63required:64 - compatible65 - interrupts66 - reg67 68allOf:69 - $ref: watchdog.yaml#70 - if:71 not:72 properties:73 compatible:74 contains:75 enum:76 - fsl,imx25-wdt77 - fsl,imx35-wdt78 - fsl,imx50-wdt79 - fsl,imx51-wdt80 - fsl,imx53-wdt81 - fsl,imx6q-wdt82 - fsl,imx6sl-wdt83 - fsl,imx6sll-wdt84 - fsl,imx6sx-wdt85 - fsl,imx6ul-wdt86 - fsl,imx7d-wdt87 - fsl,imx8mm-wdt88 - fsl,imx8mn-wdt89 - fsl,imx8mp-wdt90 - fsl,imx8mq-wdt91 - fsl,vf610-wdt92 then:93 properties:94 fsl,suspend-in-wait: false95 96unevaluatedProperties: false97 98examples:99 - |100 #include <dt-bindings/interrupt-controller/arm-gic.h>101 #include <dt-bindings/clock/imx6qdl-clock.h>102 103 watchdog@20bc000 {104 compatible = "fsl,imx21-wdt";105 reg = <0x020bc000 0x4000>;106 interrupts = <0 80 IRQ_TYPE_LEVEL_HIGH>;107 clocks = <&clks IMX6QDL_CLK_IPG>;108 };109 110...111