Hello,
You may use the SDK examples as a base for this, you may need to create the endpoint for each virtual tty using rpmsg_lite_create_ept
You'll find the api documentation at:
SDK_2.8.0_EVK-MIMX8MQ/middleware/multicore/rpmsg_lite/doc/group__rpmsg__lite.html
Best regards,
Aldo.