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

From: Crystal Guo
Date: Tue Jul 28 2020 - 06:43:32 EST


Add rst-num property and update example

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

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>;
};
--
1.8.1.1.dirty