Tom Rini | 93743d2 | 2024-04-01 09:08:13 -0400 | [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/technologic,ts7200-wdt.yaml# |
| 5 | $schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 | |
| 7 | title: Technologic Systems TS-72xx based SBCs watchdog |
| 8 | |
| 9 | maintainers: |
| 10 | - Nikita Shubin <nikita.shubin@maquefel.me> |
| 11 | |
| 12 | allOf: |
| 13 | - $ref: watchdog.yaml# |
| 14 | |
| 15 | properties: |
| 16 | compatible: |
| 17 | oneOf: |
| 18 | - const: technologic,ts7200-wdt |
| 19 | - items: |
| 20 | - enum: |
| 21 | - technologic,ts7300-wdt |
| 22 | - technologic,ts7260-wdt |
| 23 | - technologic,ts7250-wdt |
| 24 | - const: technologic,ts7200-wdt |
| 25 | |
| 26 | reg: |
| 27 | items: |
| 28 | - description: control register |
| 29 | - description: feed register |
| 30 | |
| 31 | required: |
| 32 | - compatible |
| 33 | - reg |
| 34 | |
| 35 | unevaluatedProperties: false |
| 36 | |
| 37 | examples: |
| 38 | - | |
| 39 | watchdog@23800000 { |
| 40 | compatible = "technologic,ts7200-wdt"; |
| 41 | reg = <0x23800000 0x01>, <0x23c00000 0x01>; |
| 42 | timeout-sec = <30>; |
| 43 | }; |
| 44 | |
| 45 | ... |