diff mbox series

[2/3] dt-bindings: watchdog: Add rst-num property

Message ID 1595932949-7033-2-git-send-email-crystal.guo@mediatek.com (mailing list archive)
State Superseded
Headers show
Series [1/3] watchdog: mtk_wdt: remove mt8xxx-resets.h | expand

Commit Message

Crystal Guo July 28, 2020, 10:42 a.m. UTC
Add rst-num property and update example

Signed-off-by: Crystal Guo <crystal.guo@mediatek.com>
---
 Documentation/devicetree/bindings/watchdog/mtk-wdt.txt | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/watchdog/mtk-wdt.txt b/Documentation/devicetree/bindings/watchdog/mtk-wdt.txt
index 4dd36bd..df19a4d 100644
--- a/Documentation/devicetree/bindings/watchdog/mtk-wdt.txt
+++ b/Documentation/devicetree/bindings/watchdog/mtk-wdt.txt
@@ -18,6 +18,7 @@  Required properties:
 Optional properties:
 - timeout-sec: contains the watchdog timeout in seconds.
 - #reset-cells: Should be 1.
+- rst-num: the number of reset bits in toprgu.
 
 Example:
 
@@ -26,5 +27,6 @@  watchdog: watchdog@10007000 {
 		     "mediatek,mt6589-wdt";
 	reg = <0 0x10007000 0 0x100>;
 	timeout-sec = <10>;
+	rst-num = <23>;
 	#reset-cells = <1>;
 };