arm64: zynqmp: Add reset-on-timeout to all boards and modify default timeout value
authorMounika Grace Akula <mounika.grace.akula@xilinx.com>
Mon, 14 Jun 2021 15:25:27 +0000 (17:25 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Mon, 13 Sep 2021 06:55:54 +0000 (08:55 +0200)
This patch adds reset-on-timeout to FPD WDT which will trigger an
interrupt to PMU when watchdog expiry happens and PMU takes the
necessary action. If this property is not enabled, reason will not be
known when watchdog expiry happens.
This patch also modifies the default timeout to 60 seconds. Reason is
that if u-boot enables WDT, it will set the timeout to 10 seconds and
this is not enough to boot till Linux and start the WDT application in
Linux. 60 seconds is the maximum safest value to boot till Linux and
start the WDT application.

Users need to change this timeout value to fit their needs.

Signed-off-by: Mounika Grace Akula <mounika.grace.akula@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Link: https://lore.kernel.org/r/5848a81447921240fddfe2f5749ae0746fcbbdbd.1623684253.git.michal.simek@xilinx.com
arch/arm64/boot/dts/xilinx/zynqmp.dtsi

index bd3f0d456ca438b6d50ead86e90fd68d0ec9be29..80332e3b4d6ae8fce856c3a82c41568b630e4d70 100644 (file)
                        interrupt-parent = <&gic>;
                        interrupts = <0 113 1>;
                        reg = <0x0 0xfd4d0000 0x0 0x1000>;
-                       timeout-sec = <10>;
+                       timeout-sec = <60>;
+                       reset-on-timeout;
                };
 
                lpd_watchdog: watchdog@ff150000 {