diff options
author | Mounika Grace Akula <mounika.grace.akula@xilinx.com> | 2018-10-09 18:22:50 +0300 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2019-02-15 17:04:01 +0300 |
commit | 3c8ee337eb786f62d17b334a18427787f8b226bb (patch) | |
tree | 88487e8dbcc5f48f07973c8f64e22b6f6bdc3d02 /arch | |
parent | 9896dc65580ffd9af74659a50157d1741bff016c (diff) | |
download | u-boot-3c8ee337eb786f62d17b334a18427787f8b226bb.tar.xz |
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 <mounika.grace.akula@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/dts/zynqmp-zcu100-revC.dts | 1 | ||||
-rw-r--r-- | arch/arm/dts/zynqmp.dtsi | 3 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/dts/zynqmp-zcu100-revC.dts b/arch/arm/dts/zynqmp-zcu100-revC.dts index 05491e9bbc..0d9ad86029 100644 --- a/arch/arm/dts/zynqmp-zcu100-revC.dts +++ b/arch/arm/dts/zynqmp-zcu100-revC.dts @@ -332,7 +332,6 @@ &watchdog0 { status = "okay"; - reset-on-timeout; }; &xilinx_ams { diff --git a/arch/arm/dts/zynqmp.dtsi b/arch/arm/dts/zynqmp.dtsi index 831d6e1ecc..b28e75732f 100644 --- a/arch/arm/dts/zynqmp.dtsi +++ b/arch/arm/dts/zynqmp.dtsi @@ -884,7 +884,8 @@ interrupt-parent = <&gic>; interrupts = <0 113 1>; reg = <0x0 0xfd4d0000 0x0 0x1000>; - timeout-sec = <10>; + timeout-sec = <60>; + reset-on-timeout; }; xilinx_ams: ams@ffa50000 { |