aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/watchdog/brcm,bcm7038-wdt.yaml
blob: e898167ef6287edb6dac8184a360cec0c207e09e (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
41
42
43
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
%YAML 1.2
---
$id: http://devicetree.org/schemas/watchdog/brcm,bcm7038-wdt.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: BCM63xx and BCM7038 watchdog timer

maintainers:
  - Florian Fainelli <f.fainelli@gmail.com>
  - Justin Chen <justinpopo6@gmail.com>
  - Rafał Miłecki <rafal@milecki.pl>

allOf:
  - $ref: watchdog.yaml#

properties:
  compatible:
    enum:
      - brcm,bcm6345-wdt
      - brcm,bcm7038-wdt

  reg:
    maxItems: 1

  clocks:
    maxItems: 1
    description: >
      The clock running the watchdog. If no clock is found the driver will
      default to 27000000 Hz.

required:
  - reg

unevaluatedProperties: false

examples:
  - |
    watchdog@f040a7e8 {
        compatible = "brcm,bcm7038-wdt";
        reg = <0xf040a7e8 0x16>;
        clocks = <&upg_fixed>;
    };