AM64x devices have a main ESM and a MCU ESM. The ESM driver enables routing of the error events from various sources to different processors or to reset hardware logic. Only the MCU ESM's high output can trigger reset logic. The main RTI0 WWDT output can be routed to the MCU highoutput to trigger reset through the main ESM. For this reset to occur CTRLMMR_MCU_RST_CTRL:MCU_ESM_ERROR_RESET_EN_Z is set to '0'.
AM64x Technical Reference Manual - https://www.ti.com/lit/pdf/spruim2 Hari Nagalla (5): misc: k3_esm: Add functionality to set and route error events within K3SoC arm: dts: k3-am64: Add support for ESM device nodes arch: arm: mach-k3: am642_init: Probe ESM nodes configs: am64x_evm_r5_defconfig: Add support for ESM driver configs: am64x_hs_evm_r5_defconfig: Add support for ESM driver arch/arm/dts/k3-am64.dtsi | 1 + arch/arm/dts/k3-am642-r5-evm.dts | 19 +++++++++++ arch/arm/dts/k3-am642-r5-sk.dts | 19 +++++++++++ arch/arm/mach-k3/am642_init.c | 37 +++++++++++++++++++++ configs/am64x_evm_r5_defconfig | 1 + configs/am64x_hs_evm_r5_defconfig | 1 + drivers/misc/k3_esm.c | 53 +++++++++++++++++++++++++++++-- 7 files changed, 128 insertions(+), 3 deletions(-) -- 2.17.1