summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/arm/freescale
diff options
context:
space:
mode:
authorAnson Huang <Anson.Huang@nxp.com>2019-05-27 10:03:15 +0300
committerWim Van Sebroeck <wim@linux-watchdog.org>2019-07-08 21:04:12 +0300
commit8c21ead3ea5d896946fb5d85b52b0be757e9bef4 (patch)
tree8cb1adb37e3418d24d9d621bf6eb6f369df5a911 /Documentation/devicetree/bindings/arm/freescale
parent15f7d7fc5542f6cb429a069dd77b57ddccbe11e3 (diff)
downloadlinux-8c21ead3ea5d896946fb5d85b52b0be757e9bef4.tar.xz
dt-bindings: watchdog: move i.MX system controller watchdog binding to SCU
i.MX system controller watchdog depends on SCU driver to support interrupt function, so it needs to be subnode of SCU node in DT, binding doc should be moved to fsl,scu.txt as well. Signed-off-by: Anson Huang <Anson.Huang@nxp.com> Reviewed-by: Rob Herring <robh@kernel.org> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
Diffstat (limited to 'Documentation/devicetree/bindings/arm/freescale')
-rw-r--r--Documentation/devicetree/bindings/arm/freescale/fsl,scu.txt15
1 files changed, 15 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/arm/freescale/fsl,scu.txt b/Documentation/devicetree/bindings/arm/freescale/fsl,scu.txt
index 5d7dbabbb784..1b56557df521 100644
--- a/Documentation/devicetree/bindings/arm/freescale/fsl,scu.txt
+++ b/Documentation/devicetree/bindings/arm/freescale/fsl,scu.txt
@@ -133,6 +133,16 @@ RTC bindings based on SCU Message Protocol
Required properties:
- compatible: should be "fsl,imx8qxp-sc-rtc";
+Watchdog bindings based on SCU Message Protocol
+------------------------------------------------------------
+
+Required properties:
+- compatible: should be:
+ "fsl,imx8qxp-sc-wdt"
+ followed by "fsl,imx-sc-wdt";
+Optional properties:
+- timeout-sec: contains the watchdog timeout in seconds.
+
Example (imx8qxp):
-------------
aliases {
@@ -185,6 +195,11 @@ firmware {
rtc: rtc {
compatible = "fsl,imx8qxp-sc-rtc";
};
+
+ watchdog {
+ compatible = "fsl,imx8qxp-sc-wdt", "fsl,imx-sc-wdt";
+ timeout-sec = <60>;
+ };
};
};