On customer board useWKUP_UART C5 pin as eMMC RST_n pin, which caused problem during Kernel booting up
observed signal togging on the pin with scope. so need to stop it.
Tried to disable the WKUP_UART in dts along with padconfig to gpio, but it doesn't work, readback the padconfig register MCU_PADCONFIG10 0x04084028, it still is UART0_TXD mode.
did further test, change k3-am625-r5-sk.dts as below to change wkup uart pin to gpio
boot up tiboot3.bin only over uart, then check paddonfig in CCS, it is configured to gpio.
then download tispl.bin then stop to check padconfig in CCS, only TX pin change back to UART-TX mode 0. Who modified this pin mux, and only this pin. I guess tispl wake up R5 DM firmware, firmware overwrite the pad configuration.
I found similar question here: https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1108935/am625-cortex-r5-core-cont/4126531
Stop in Uboot to change padconfig mw 0x04084028 0x08054007 to configure mcu_uart0_tx pin to gpio, then can boot up and no toggling on WKUP_UART0 anymore.
Questions:
#1. How and Where configured wkup_uart0 module and padconfigure? can it be controlled by dts? actually we tied to disable and configure the pin to gpio, but doesn't work. seems it is configured again in DM firmware
#2. Is there other pin used by DM firmware like wkup_uart0?