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

Crystal Guo crystal.guo at mediatek.com
Tue Jul 28 06:42:28 EDT 2020


Add rst-num property and update example

Signed-off-by: Crystal Guo <crystal.guo at mediatek.com>
---
 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 at 10007000 {
 		     "mediatek,mt6589-wdt";
 	reg = <0 0x10007000 0 0x100>;
 	timeout-sec = <10>;
+	rst-num = <23>;
 	#reset-cells = <1>;
 };
-- 
1.8.1.1.dirty


More information about the linux-arm-kernel mailing list