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,wdt.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: Renesas Watchdog Timer (WDT) Controller 8 9maintainers: 10 - Wolfram Sang <wsa+renesas@sang-engineering.com> 11 - Geert Uytterhoeven <geert+renesas@glider.be> 12 13allOf: 14 - $ref: "watchdog.yaml#" 15 16properties: 17 compatible: 18 oneOf: 19 - items: 20 - enum: 21 - renesas,r7s72100-wdt # RZ/A1 22 - renesas,r7s9210-wdt # RZ/A2 23 - const: renesas,rza-wdt # RZ/A 24 25 - items: 26 - enum: 27 - renesas,r8a7742-wdt # RZ/G1H 28 - renesas,r8a7743-wdt # RZ/G1M 29 - renesas,r8a7744-wdt # RZ/G1N 30 - renesas,r8a7745-wdt # RZ/G1E 31 - renesas,r8a77470-wdt # RZ/G1C 32 - renesas,r8a7790-wdt # R-Car H2 33 - renesas,r8a7791-wdt # R-Car M2-W 34 - renesas,r8a7792-wdt # R-Car V2H 35 - renesas,r8a7793-wdt # R-Car M2-N 36 - renesas,r8a7794-wdt # R-Car E2 37 - const: renesas,rcar-gen2-wdt # R-Car Gen2 and RZ/G1 38 39 - items: 40 - enum: 41 - renesas,r8a774a1-wdt # RZ/G2M 42 - renesas,r8a774b1-wdt # RZ/G2N 43 - renesas,r8a774c0-wdt # RZ/G2E 44 - renesas,r8a7795-wdt # R-Car H3 45 - renesas,r8a7796-wdt # R-Car M3-W 46 - renesas,r8a77961-wdt # R-Car M3-W+ 47 - renesas,r8a77965-wdt # R-Car M3-N 48 - renesas,r8a77970-wdt # R-Car V3M 49 - renesas,r8a77980-wdt # R-Car V3H 50 - renesas,r8a77990-wdt # R-Car E3 51 - renesas,r8a77995-wdt # R-Car D3 52 - const: renesas,rcar-gen3-wdt # R-Car Gen3 and RZ/G2 53 54 reg: 55 maxItems: 1 56 57 interrupts: 58 maxItems: 1 59 60 clocks: 61 maxItems: 1 62 63 power-domains: 64 maxItems: 1 65 66 resets: 67 maxItems: 1 68 69 timeout-sec: true 70 71required: 72 - compatible 73 - reg 74 - clocks 75 76if: 77 not: 78 properties: 79 compatible: 80 contains: 81 enum: 82 - renesas,rza-wdt 83then: 84 required: 85 - power-domains 86 - resets 87 88additionalProperties: false 89 90examples: 91 - | 92 #include <dt-bindings/clock/r8a7795-cpg-mssr.h> 93 #include <dt-bindings/power/r8a7795-sysc.h> 94 wdt0: watchdog@e6020000 { 95 compatible = "renesas,r8a7795-wdt", "renesas,rcar-gen3-wdt"; 96 reg = <0xe6020000 0x0c>; 97 clocks = <&cpg CPG_MOD 402>; 98 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>; 99 resets = <&cpg 402>; 100 timeout-sec = <60>; 101 }; 102