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 | # Copyright (C) Sunplus Co., Ltd. 2021 |
| 3 | %YAML 1.2 |
| 4 | --- |
| 5 | $id: http://devicetree.org/schemas/watchdog/sunplus,sp7021-wdt.yaml# |
| 6 | $schema: http://devicetree.org/meta-schemas/core.yaml# |
| 7 | |
| 8 | title: Sunplus SoCs Watchdog |
| 9 | |
| 10 | maintainers: |
| 11 | - XianTao Hu <xt.hu@cqplus1.com> |
| 12 | |
| 13 | allOf: |
| 14 | - $ref: watchdog.yaml# |
| 15 | |
| 16 | properties: |
| 17 | compatible: |
| 18 | const: sunplus,sp7021-wdt |
| 19 | |
| 20 | reg: |
| 21 | items: |
| 22 | - description: watchdog registers regions |
| 23 | - description: miscellaneous control registers regions |
| 24 | |
| 25 | clocks: |
| 26 | maxItems: 1 |
| 27 | |
| 28 | resets: |
| 29 | maxItems: 1 |
| 30 | |
| 31 | required: |
| 32 | - compatible |
| 33 | - reg |
| 34 | - clocks |
| 35 | - resets |
| 36 | |
| 37 | additionalProperties: false |
| 38 | |
| 39 | examples: |
| 40 | - | |
| 41 | watchdog: watchdog@9c000630 { |
| 42 | compatible = "sunplus,sp7021-wdt"; |
| 43 | reg = <0x9c000630 0x08>, <0x9c000274 0x04>; |
| 44 | clocks = <&clkc 0x24>; |
| 45 | resets = <&rstc 0x14>; |
| 46 | }; |
| 47 | ... |