Debian Codegraph @

Documentation/devicetree/bindings/watchdog/renesas,rza-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/renesas,rza-wdt.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Renesas RZ/A Watchdog Timer (WDT) Controller
8
9 maintainers:
10 - Wolfram Sang <[email protected]>
11
12 properties:
13 compatible:
14 items:
15 - enum:
16 - renesas,r7s72100-wdt # RZ/A1
17 - renesas,r7s9210-wdt # RZ/A2
18 - const: renesas,rza-wdt # RZ/A
19
20 reg:
21 maxItems: 1
22
23 interrupts:
24 maxItems: 1
25
26 clocks:
27 maxItems: 1
28
29 timeout-sec: true
30
31 required:
32 - compatible
33 - reg
34 - clocks
35
36 allOf:
37 - $ref: watchdog.yaml#
38
39 additionalProperties: false
40
41 examples:
42 - |
43 #include <dt-bindings/clock/r7s72100-clock.h>
44 #include <dt-bindings/interrupt-controller/arm-gic.h>
45
46 watchdog@fcfe0000 {
47 compatible = "renesas,r7s72100-wdt", "renesas,rza-wdt";
48 reg = <0xfcfe0000 0x6>;
49 interrupts = <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>;
50 clocks = <&p0_clk>;
51 };