Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame^] | 1 | # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) |
| 2 | %YAML 1.2 |
| 3 | --- |
| 4 | $id: http://devicetree.org/schemas/watchdog/xlnx,versal-wwdt.yaml# |
| 5 | $schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 | |
| 7 | title: Xilinx Versal window watchdog timer controller |
| 8 | |
| 9 | maintainers: |
| 10 | - Neeli Srinivas <srinivas.neeli@amd.com> |
| 11 | |
| 12 | description: |
| 13 | Versal watchdog intellectual property uses window watchdog mode. |
| 14 | Window watchdog timer(WWDT) contains closed(first) and open(second) |
| 15 | window with 32 bit width. Write to the watchdog timer within |
| 16 | predefined window periods of time. This means a period that is not |
| 17 | too soon and a period that is not too late. The WWDT has to be |
| 18 | restarted within the open window time. If software tries to restart |
| 19 | WWDT outside of the open window time period, it generates a reset. |
| 20 | |
| 21 | allOf: |
| 22 | - $ref: watchdog.yaml# |
| 23 | |
| 24 | properties: |
| 25 | compatible: |
| 26 | enum: |
| 27 | - xlnx,versal-wwdt |
| 28 | |
| 29 | reg: |
| 30 | maxItems: 1 |
| 31 | |
| 32 | clocks: |
| 33 | maxItems: 1 |
| 34 | |
| 35 | required: |
| 36 | - compatible |
| 37 | - reg |
| 38 | - clocks |
| 39 | |
| 40 | unevaluatedProperties: false |
| 41 | |
| 42 | examples: |
| 43 | - | |
| 44 | watchdog@fd4d0000 { |
| 45 | compatible = "xlnx,versal-wwdt"; |
| 46 | reg = <0xfd4d0000 0x10000>; |
| 47 | clocks = <&clock25>; |
| 48 | timeout-sec = <30>; |
| 49 | }; |
| 50 | ... |