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