blob: d902710131910ec08a0de98d8d9cf9d3f599d13e [file] [log] [blame]
Tom Rini53633a82024-02-29 12:33:36 -05001# 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
8title: Sunplus SoCs Watchdog
9
10maintainers:
11 - XianTao Hu <xt.hu@cqplus1.com>
12
13allOf:
14 - $ref: watchdog.yaml#
15
16properties:
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
31required:
32 - compatible
33 - reg
34 - clocks
35 - resets
36
37additionalProperties: false
38
39examples:
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...