Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 1 | # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) |
| 2 | %YAML 1.2 |
| 3 | --- |
| 4 | $id: http://devicetree.org/schemas/watchdog/ralink,rt2880-wdt.yaml# |
| 5 | $schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 | |
| 7 | title: Ralink Watchdog Timers |
| 8 | |
| 9 | maintainers: |
| 10 | - Sergio Paracuellos <sergio.paracuellos@gmail.com> |
| 11 | |
| 12 | allOf: |
| 13 | - $ref: watchdog.yaml# |
| 14 | |
| 15 | properties: |
| 16 | compatible: |
| 17 | const: ralink,rt2880-wdt |
| 18 | |
| 19 | reg: |
| 20 | maxItems: 1 |
| 21 | |
| 22 | clocks: |
| 23 | maxItems: 1 |
| 24 | |
| 25 | resets: |
| 26 | maxItems: 1 |
| 27 | |
| 28 | interrupts: |
| 29 | maxItems: 1 |
| 30 | |
| 31 | required: |
| 32 | - compatible |
| 33 | - reg |
| 34 | |
| 35 | unevaluatedProperties: false |
| 36 | |
| 37 | examples: |
| 38 | - | |
| 39 | watchdog@100 { |
| 40 | compatible = "ralink,rt2880-wdt"; |
| 41 | reg = <0x120 0x10>; |
| 42 | clocks = <&clkref>; |
| 43 | resets = <&rstctrl 8>; |
| 44 | interrupt-parent = <&intc>; |
| 45 | interrupts = <1>; |
| 46 | }; |