[PATCH v3 05/16] watchdog: lantiq: add device tree binding documentation
Hauke Mehrtens
hauke at hauke-m.de
Sun May 28 11:39:55 PDT 2017
The binding was not documented before, add the documentation now.
Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
.../devicetree/bindings/watchdog/lantiq-wdt.txt | 28 ++++++++++++++++++++++
1 file changed, 28 insertions(+)
create mode 100644 Documentation/devicetree/bindings/watchdog/lantiq-wdt.txt
diff --git a/Documentation/devicetree/bindings/watchdog/lantiq-wdt.txt b/Documentation/devicetree/bindings/watchdog/lantiq-wdt.txt
new file mode 100644
index 000000000000..675c30e23b65
--- /dev/null
+++ b/Documentation/devicetree/bindings/watchdog/lantiq-wdt.txt
@@ -0,0 +1,28 @@
+Lantiq WTD watchdog binding
+============================
+
+This describes the binding of the Lantiq watchdog driver.
+
+-------------------------------------------------------------------------------
+Required properties:
+- compatible : Should be one of
+ "lantiq,wdt"
+ "lantiq,wdt-xrx100"
+ "lantiq,wdt-falcon"
+
+Optional properties:
+- regmap : A phandle to the RCU syscon
+- offset-status : Offset of the reset cause register
+- mask-status : Mask of the reset cause register value
+
+
+-------------------------------------------------------------------------------
+Example for the watchdog on the xRX200 SoCs:
+ watchdog at 803F0 {
+ compatible = "lantiq,wdt-xrx200", "lantiq,wdt-xrx100";
+ reg = <0x803F0 0x10>;
+
+ regmap = <&rcu0>;
+ offset-status = <0x14>;
+ mask-status = <0x80000000>;
+ };
--
2.11.0
More information about the linux-mtd
mailing list