Wolfram Sang | bd99b68 | 2016-04-01 13:56:23 +0200 | [diff] [blame] | 1 | Renesas Watchdog Timer (WDT) Controller |
| 2 | |
| 3 | Required properties: |
Geert Uytterhoeven | c682b5c | 2016-07-19 13:46:54 +0200 | [diff] [blame] | 4 | - compatible : Should be "renesas,<soctype>-wdt", and |
Chris Brandt | 0ab1380 | 2017-03-04 17:37:36 -0500 | [diff] [blame] | 5 | "renesas,rcar-gen3-wdt" or "renesas,rza-wdt" as fallback. |
Geert Uytterhoeven | c682b5c | 2016-07-19 13:46:54 +0200 | [diff] [blame] | 6 | Examples with soctypes are: |
Geert Uytterhoeven | c94ad30 | 2017-10-30 16:43:19 +0100 | [diff] [blame] | 7 | - "renesas,r7s72100-wdt" (RZ/A1) |
Geert Uytterhoeven | c682b5c | 2016-07-19 13:46:54 +0200 | [diff] [blame] | 8 | - "renesas,r8a7795-wdt" (R-Car H3) |
| 9 | - "renesas,r8a7796-wdt" (R-Car M3-W) |
Geert Uytterhoeven | c94ad30 | 2017-10-30 16:43:19 +0100 | [diff] [blame] | 10 | - "renesas,r8a77970-wdt" (R-Car V3M) |
Geert Uytterhoeven | 82f6817 | 2017-08-17 13:14:25 +0200 | [diff] [blame] | 11 | - "renesas,r8a77995-wdt" (R-Car D3) |
Wolfram Sang | bd99b68 | 2016-04-01 13:56:23 +0200 | [diff] [blame] | 12 | |
| 13 | When compatible with the generic version, nodes must list the SoC-specific |
| 14 | version corresponding to the platform first, followed by the generic |
| 15 | version. |
| 16 | |
| 17 | - reg : Should contain WDT registers location and length |
| 18 | - clocks : the clock feeding the watchdog timer. |
| 19 | |
| 20 | Optional properties: |
| 21 | - timeout-sec : Contains the watchdog timeout in seconds |
| 22 | - power-domains : the power domain the WDT belongs to |
Chris Brandt | 0ab1380 | 2017-03-04 17:37:36 -0500 | [diff] [blame] | 23 | - interrupts: Some WDTs have an interrupt when used in interval timer mode |
Wolfram Sang | bd99b68 | 2016-04-01 13:56:23 +0200 | [diff] [blame] | 24 | |
| 25 | Examples: |
| 26 | |
| 27 | wdt0: watchdog@e6020000 { |
| 28 | compatible = "renesas,r8a7795-wdt", "renesas,rcar-gen3-wdt"; |
| 29 | reg = <0 0xe6020000 0 0x0c>; |
| 30 | clocks = <&cpg CPG_MOD 402>; |
| 31 | power-domains = <&cpg>; |
| 32 | timeout-sec = <60>; |
| 33 | }; |