using 3 bus of UART

can as use p4 for transmitter and p5 as other GPIO pin in openmv7?
i dont need receiver pin for openmv and i need a GPIO pin for input.

Yeah, create a UART first and then make a pin object. This is reassign the I/O mux.