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/mediatek,mt7621-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: mediatek,mt7621-wdt |
| 18 | |
| 19 | reg: |
| 20 | maxItems: 1 |
| 21 | |
| 22 | mediatek,sysctl: |
| 23 | $ref: /schemas/types.yaml#/definitions/phandle |
| 24 | description: |
| 25 | phandle to system controller 'sysc' syscon node which |
| 26 | controls system registers |
| 27 | |
| 28 | required: |
| 29 | - compatible |
| 30 | - reg |
| 31 | |
| 32 | additionalProperties: false |
| 33 | |
| 34 | examples: |
| 35 | - | |
| 36 | watchdog@100 { |
| 37 | compatible = "mediatek,mt7621-wdt"; |
| 38 | reg = <0x100 0x100>; |
| 39 | mediatek,sysctl = <&sysc>; |
| 40 | }; |