summaryrefslogtreecommitdiffstats
path: root/dts/Bindings/watchdog/mstar,msc313e-wdt.yaml
blob: e3e8b86dbf6379678e61628498e453b9963b5f74 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/watchdog/mstar,msc313e-wdt.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: MStar Watchdog Device Tree Bindings

maintainers:
  - Daniel Palmer <daniel@0x0f.com>
  - Romain Perier <romain.perier@gmail.com>

allOf:
  - $ref: watchdog.yaml#

properties:
  compatible:
    enum:
      - mstar,msc313e-wdt

  reg:
    maxItems: 1

  clocks:
    maxItems: 1

required:
  - compatible
  - clocks
  - reg

unevaluatedProperties: false

examples:
  - |
    watchdog@6000 {
        compatible = "mstar,msc313e-wdt";
        reg = <0x6000 0x1f>;
        clocks = <&xtal_div2>;
    };