I'm trying to disable the JTAG for production units but it is not clear from the TRM how to do this. I've tried disabling via
CM_CLKEN_PLL(PWRDN_EMU_CORE:12) = 1
CM_CLKEN_PLL(PWRDN_EMU_PERIPH:31) = 1
via U-boot but openocd still connects to the SOM/JTAG.