File Index
Files and directories
Sign in
FILE

lantiq,wdt.yaml

File preview with syntax highlighting.

linux-6.19.14/Documentation/devicetree/bindings/watchdog/lantiq,wdt.yaml YAML
 1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
 2%YAML 1.2
 3---
 4$id: http://devicetree.org/schemas/watchdog/lantiq,wdt.yaml#
 5$schema: http://devicetree.org/meta-schemas/core.yaml#
 6
 7title: Lantiq WTD watchdog
 8
 9maintainers:
10  - Hauke Mehrtens <hauke@hauke-m.de>
11
12properties:
13  compatible:
14    oneOf:
15      - enum:
16          - lantiq,falcon-wdt
17          - lantiq,wdt
18          - lantiq,xrx100-wdt
19      - items:
20          - enum:
21              - lantiq,xrx200-wdt
22          - const: lantiq,xrx100-wdt
23
24  reg:
25    maxItems: 1
26
27  lantiq,rcu:
28    $ref: /schemas/types.yaml#/definitions/phandle
29    description: Phandle to the RCU syscon node
30
31required:
32  - compatible
33  - reg
34
35allOf:
36  - $ref: watchdog.yaml#
37  - if:
38      properties:
39        compatible:
40          contains:
41            enum:
42              - lantiq,xrx100-wdt
43              - lantiq,falcon-wdt
44    then:
45      required:
46        - lantiq,rcu
47
48unevaluatedProperties: false
49
50examples:
51  - |
52    watchdog@803f0 {
53        compatible = "lantiq,xrx200-wdt", "lantiq,xrx100-wdt";
54        reg = <0x803f0 0x10>;
55
56        lantiq,rcu = <&rcu0>;
57    };
~/ Read-only file preview.