]> www.infradead.org Git - users/jedix/linux-maple.git/commit
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>
Fri, 6 Aug 2021 08:33:51 +0000 (10:33 +0200)
commitaf329f23640ee32e5f18a84c4cbddf3382b82dfd
tree67c41ea468bf7b62201955fcd1e478c3e9d12e7e
parent936ecb6c0d5e5745492e720fd2cdcca893e892e0
arm64: zynqmp: Add reset-on-timeout to 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>
Link: https://lore.kernel.org/r/5848a81447921240fddfe2f5749ae0746fcbbdbd.1623684253.git.michal.simek@xilinx.com
arch/arm64/boot/dts/xilinx/zynqmp.dtsi