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/mstar,msc313e-wdt.yaml# |
| 5 | $schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 | |
| 7 | title: MStar Watchdog |
| 8 | |
| 9 | maintainers: |
| 10 | - Daniel Palmer <daniel@0x0f.com> |
| 11 | - Romain Perier <romain.perier@gmail.com> |
| 12 | |
| 13 | allOf: |
| 14 | - $ref: watchdog.yaml# |
| 15 | |
| 16 | properties: |
| 17 | compatible: |
| 18 | enum: |
| 19 | - mstar,msc313e-wdt |
| 20 | |
| 21 | reg: |
| 22 | maxItems: 1 |
| 23 | |
| 24 | clocks: |
| 25 | maxItems: 1 |
| 26 | |
| 27 | required: |
| 28 | - compatible |
| 29 | - clocks |
| 30 | - reg |
| 31 | |
| 32 | unevaluatedProperties: false |
| 33 | |
| 34 | examples: |
| 35 | - | |
| 36 | watchdog@6000 { |
| 37 | compatible = "mstar,msc313e-wdt"; |
| 38 | reg = <0x6000 0x1f>; |
| 39 | clocks = <&xtal_div2>; |
| 40 | }; |