From: Fu Wei <fu....@linaro.org>

This can be a example of adding SBSA Generic Watchdog device node
into some dts files for the Soc which contains SBSA Generic Watchdog.

Acked-by: Arnd Bergmann <a...@arndb.de>
Signed-off-by: Fu Wei <fu....@linaro.org>
---
 arch/arm64/boot/dts/arm/foundation-v8.dts | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/arch/arm64/boot/dts/arm/foundation-v8.dts 
b/arch/arm64/boot/dts/arm/foundation-v8.dts
index 4eac8dc..7b80203 100644
--- a/arch/arm64/boot/dts/arm/foundation-v8.dts
+++ b/arch/arm64/boot/dts/arm/foundation-v8.dts
@@ -237,4 +237,14 @@
                        };
                };
        };
+       watchdog@2a440000 {
+               compatible = "arm,sbsa-gwdt";
+               reg = <0x0 0x2a440000 0 0x1000>,
+                       <0x0 0x2a450000 0 0x1000>;
+               reg-names = "control",
+                       "refresh";
+               interrupts = <0 27 4>;
+               interrupt-names = "ws0";
+               timeout-sec = <10 5>;
+       };
 };
-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to