Messages in this thread Patch in this message | | | From | Crystal Guo <> | Subject | [PATCH 2/3] dt-bindings: watchdog: Add rst-num property | Date | Tue, 28 Jul 2020 18:42:28 +0800 |
| |
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 --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 | |