summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/watchdog/ti,omap2-wdt.yaml
blob: 913b55222f29669ddb11b47f07df57b22716307f (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
44
45
46
47
48
49
50
51
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/watchdog/ti,omap2-wdt.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: TI OMAP Watchdog Timer Controller

maintainers:
  - Aaro Koskinen <aaro.koskinen@iki.fi>

allOf:
  - $ref: watchdog.yaml#

properties:
  compatible:
    oneOf:
      - enum:
          - ti,omap2-wdt
          - ti,omap3-wdt
      - items:
          - enum:
              - ti,am4372-wdt
              - ti,omap4-wdt
              - ti,omap5-wdt
          - const: ti,omap3-wdt

  reg:
    maxItems: 1

  interrupts:
    maxItems: 1

  ti,hwmods:
    description: Name of the hardware module associated with the watchdog.
    $ref: /schemas/types.yaml#/definitions/string
    deprecated: true

required:
  - compatible
  - reg

unevaluatedProperties: false

examples:
  - |
    watchdog@48314000 {
        compatible = "ti,omap3-wdt";
        reg = <0x48314000 0x80>;
        ti,hwmods = "wd_timer2";
    };