Debian Codegraph @

Documentation/devicetree/bindings/watchdog/lantiq,wdt.yaml

raw symbols SCIP
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
7 title: Lantiq WTD watchdog
8
9 maintainers:
10 - Hauke Mehrtens <[email protected]>
11
12 properties:
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
31 required:
32 - compatible
33 - reg
34
35 allOf:
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
48 unevaluatedProperties: false
49
50 examples:
51 - |
52 watchdog@803f0 {
53 compatible = "lantiq,xrx200-wdt", "lantiq,xrx100-wdt";
54 reg = <0x803f0 0x10>;
55
56 lantiq,rcu = <&rcu0>;
57 };