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 - Shawn Guo <shawnguo@kernel.org> 11 - Sascha Hauer <s.hauer@pengutronix.de> 12 - Fabio Estevam <festevam@gmail.com> 13 14 properties: 15 compatible: 16 oneOf: 17 - const: fsl,imx21-wdt 18 - items: 19 - enum: 20 - fsl,imx25-wdt 21 - fsl,imx27-wdt 22 - fsl,imx31-wdt 23 - fsl,imx35-wdt 24 - fsl,imx50-wdt 25 - fsl,imx51-wdt 26 - fsl,imx53-wdt 27 - fsl,imx6q-wdt 28 - fsl,imx6sl-wdt 29 - fsl,imx6sll-wdt 30 - fsl,imx6sx-wdt 31 - fsl,imx6ul-wdt 32 - fsl,imx7d-wdt 33 - fsl,imx8mm-wdt 34 - fsl,imx8mn-wdt 35 - fsl,imx8mp-wdt 36 - fsl,imx8mq-wdt 37 - fsl,ls1012a-wdt 38 - fsl,ls1043a-wdt 39 - fsl,vf610-wdt 40 - const: fsl,imx21-wdt 41 42 reg: 43 maxItems: 1 44 45 interrupts: 46 maxItems: 1 47 48 clocks: 49 maxItems: 1 50 51 fsl,ext-reset-output: 52 $ref: /schemas/types.yaml#/definitions/flag 53 description: | 54 If present, the watchdog device is configured to assert its 55 external reset (WDOG_B) instead of issuing a software reset. 56 57 fsl,suspend-in-wait: 58 $ref: /schemas/types.yaml#/definitions/flag 59 description: | 60 If present, the watchdog device is suspended in WAIT mode 61 (Suspend-to-Idle). Only supported on certain devices. 62 63 required: 64 - compatible 65 - interrupts 66 - reg 67 68 allOf: 69 - $ref: watchdog.yaml# 70 - if: 71 not: 72 properties: 73 compatible: 74 contains: 75 enum: 76 - fsl,imx25-wdt 77 - fsl,imx35-wdt 78 - fsl,imx50-wdt 79 - fsl,imx51-wdt 80 - fsl,imx53-wdt 81 - fsl,imx6q-wdt 82 - fsl,imx6sl-wdt 83 - fsl,imx6sll-wdt 84 - fsl,imx6sx-wdt 85 - fsl,imx6ul-wdt 86 - fsl,imx7d-wdt 87 - fsl,imx8mm-wdt 88 - fsl,imx8mn-wdt 89 - fsl,imx8mp-wdt 90 - fsl,imx8mq-wdt 91 - fsl,vf610-wdt 92 then: 93 properties: 94 fsl,suspend-in-wait: false 95 96 unevaluatedProperties: false 97 98 examples: 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 ...
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.