]> git.baikalelectronics.ru Git - uboot.git/commit
arm64: mach-k3: am625_init: Probe ESM nodes
authorJulien Panis <jpanis@baylibre.com>
Fri, 1 Jul 2022 12:30:11 +0000 (14:30 +0200)
committerTom Rini <trini@konsulko.com>
Mon, 25 Jul 2022 13:38:47 +0000 (09:38 -0400)
commitc9fb9b54bcacc0a3045e9c916b747e2d8a1a8c60
tree244eb4045c12657e5a2f1389545533adaeb5a5fb
parente67b742a58d9b630d54b77a64f91deb8d20d65d8
arm64: mach-k3: am625_init: Probe ESM nodes

On AM62x devices, main ESM error event outputs can be routed to
MCU ESM as inputs. So, two ESM device nodes are expected in the
device tree : one for main ESM and another one for MCU ESM.
MCU ESM error output can trigger the reset logic to reset
the device when CTRLMMR_MCU_RST_CTRL:MCU_ESM_ERROR_RESET_EN_Z is
set to '0'.

Signed-off-by: Julien Panis <jpanis@baylibre.com>
arch/arm/mach-k3/am625_init.c
arch/arm/mach-k3/include/mach/am62_hardware.h