From: Mounika Grace Akula Date: Tue, 9 Oct 2018 15:22:50 +0000 (+0530) Subject: arm64: zynqmp: Add reset-on-timeout for all boards and modify default timeout value X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a1936e48839384ab092a1e1d370c73f988a8bf18;p=thirdparty%2Fu-boot.git arm64: zynqmp: Add reset-on-timeout for all boards and modify default timeout value 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 Signed-off-by: Michal Simek --- diff --git a/arch/arm/dts/zynqmp-zcu100-revC.dts b/arch/arm/dts/zynqmp-zcu100-revC.dts index 20b8c7a1b76..a9ef1315008 100644 --- a/arch/arm/dts/zynqmp-zcu100-revC.dts +++ b/arch/arm/dts/zynqmp-zcu100-revC.dts @@ -569,7 +569,6 @@ &watchdog0 { status = "okay"; - reset-on-timeout; }; &zynqmp_dpsub { diff --git a/arch/arm/dts/zynqmp.dtsi b/arch/arm/dts/zynqmp.dtsi index 005be3f3d84..e7d305f2dfc 100644 --- a/arch/arm/dts/zynqmp.dtsi +++ b/arch/arm/dts/zynqmp.dtsi @@ -1188,7 +1188,8 @@ 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 {