FILE
renesas,wdt.yaml
File preview with syntax highlighting.
linux-6.19.14/Documentation/devicetree/bindings/watchdog/renesas,wdt.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/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 13properties: 14 compatible: 15 oneOf: 16 - items: 17 - enum: 18 - renesas,r8a7742-wdt # RZ/G1H 19 - renesas,r8a7743-wdt # RZ/G1M 20 - renesas,r8a7744-wdt # RZ/G1N 21 - renesas,r8a7745-wdt # RZ/G1E 22 - renesas,r8a77470-wdt # RZ/G1C 23 - renesas,r8a7790-wdt # R-Car H2 24 - renesas,r8a7791-wdt # R-Car M2-W 25 - renesas,r8a7792-wdt # R-Car V2H 26 - renesas,r8a7793-wdt # R-Car M2-N 27 - renesas,r8a7794-wdt # R-Car E2 28 - const: renesas,rcar-gen2-wdt # R-Car Gen2 and RZ/G1 29 30 - items: 31 - enum: 32 - renesas,r8a774a1-wdt # RZ/G2M 33 - renesas,r8a774b1-wdt # RZ/G2N 34 - renesas,r8a774c0-wdt # RZ/G2E 35 - renesas,r8a774e1-wdt # RZ/G2H 36 - renesas,r8a7795-wdt # R-Car H3 37 - renesas,r8a7796-wdt # R-Car M3-W 38 - renesas,r8a77961-wdt # R-Car M3-W+ 39 - renesas,r8a77965-wdt # R-Car M3-N 40 - renesas,r8a77970-wdt # R-Car V3M 41 - renesas,r8a77980-wdt # R-Car V3H 42 - renesas,r8a77990-wdt # R-Car E3 43 - renesas,r8a77995-wdt # R-Car D3 44 - const: renesas,rcar-gen3-wdt # R-Car Gen3 and RZ/G2 45 46 - items: 47 - enum: 48 - renesas,r8a779a0-wdt # R-Car V3U 49 - renesas,r8a779f0-wdt # R-Car S4-8 50 - renesas,r8a779g0-wdt # R-Car V4H 51 - renesas,r8a779h0-wdt # R-Car V4M 52 - const: renesas,rcar-gen4-wdt # R-Car Gen4 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 - interrupts 76 - power-domains 77 78allOf: 79 - $ref: watchdog.yaml# 80 81 - if: 82 not: 83 properties: 84 compatible: 85 contains: 86 const: renesas,r8a77980-wdt 87 then: 88 required: 89 - resets 90 91additionalProperties: false 92 93examples: 94 - | 95 #include <dt-bindings/clock/r8a7795-cpg-mssr.h> 96 #include <dt-bindings/power/r8a7795-sysc.h> 97 #include <dt-bindings/interrupt-controller/arm-gic.h> 98 wdt0: watchdog@e6020000 { 99 compatible = "renesas,r8a7795-wdt", "renesas,rcar-gen3-wdt"; 100 reg = <0xe6020000 0x0c>; 101 interrupts = <GIC_SPI 140 IRQ_TYPE_LEVEL_HIGH>; 102 clocks = <&cpg CPG_MOD 402>; 103 power-domains = <&sysc R8A7795_PD_ALWAYS_ON>; 104 resets = <&cpg 402>; 105 timeout-sec = <60>; 106 };
~/
Read-only file preview.