summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/watchdog/renesas-wdt.txt
diff options
context:
space:
mode:
authorWolfram Sang <wsa+renesas@sang-engineering.com>2016-04-01 13:56:23 +0200
committerWim Van Sebroeck <wim@iguana.be>2016-05-14 18:15:40 +0200
commitbd99b68ed7f96c9c845aad2a25f84145213058f2 (patch)
treeddb3e98613fb2be723e405cd5f7f1b89c344286f /Documentation/devicetree/bindings/watchdog/renesas-wdt.txt
parente26e74b15468b42c47cf9b045539720006abb1e4 (diff)
downloadlinux-0-day-bd99b68ed7f96c9c845aad2a25f84145213058f2.tar.gz
linux-0-day-bd99b68ed7f96c9c845aad2a25f84145213058f2.tar.xz
watchdog: renesas-wdt: add driver
Add support for watchdogs (RWDT and SWDT) found on RCar Gen3 based SoCs from Renesas. Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'Documentation/devicetree/bindings/watchdog/renesas-wdt.txt')
-rw-r--r--Documentation/devicetree/bindings/watchdog/renesas-wdt.txt25
1 files changed, 25 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/watchdog/renesas-wdt.txt b/Documentation/devicetree/bindings/watchdog/renesas-wdt.txt
new file mode 100644
index 0000000000000..b9512f1eb80a0
--- /dev/null
+++ b/Documentation/devicetree/bindings/watchdog/renesas-wdt.txt
@@ -0,0 +1,25 @@
+Renesas Watchdog Timer (WDT) Controller
+
+Required properties:
+- compatible : Should be "renesas,r8a7795-wdt", or "renesas,rcar-gen3-wdt"
+
+ When compatible with the generic version, nodes must list the SoC-specific
+ version corresponding to the platform first, followed by the generic
+ version.
+
+- reg : Should contain WDT registers location and length
+- clocks : the clock feeding the watchdog timer.
+
+Optional properties:
+- timeout-sec : Contains the watchdog timeout in seconds
+- power-domains : the power domain the WDT belongs to
+
+Examples:
+
+ wdt0: watchdog@e6020000 {
+ compatible = "renesas,r8a7795-wdt", "renesas,rcar-gen3-wdt";
+ reg = <0 0xe6020000 0 0x0c>;
+ clocks = <&cpg CPG_MOD 402>;
+ power-domains = <&cpg>;
+ timeout-sec = <60>;
+ };