UART2_M0 for ROCK 5C

Hi! Recently I’ve enable uart2_m0 /dev/ttyS2 on ROCK 5C RK3588S2 but i found out the base baud rate is 1500000. Is it possible to change the setting to 152000 that can compatible with my ttl serial modem. Thanks

You can try to change the baud rate of this serial port in dts, set current-speed under the uart2 node

Hi! Nasca, i’ve tried to change the /usr/src/radxa-overlays-0.1.12/arch/arm64/boot/dts/rockchip/overlays/rk3588-uart2-m0.dts but the base_baud still 150000. Please find the attachment for your reference.

Have you reloaded this overlay?

Yes, I’m using this command u-boot-update.

Hi! Nasca, how to reload overlay?

I just repdoduce it just now, let me see how to resolve it.

stty -F /dev/ttyS2 speed 115200 cs8 -parenb -cstopb -echo

Ok noted. Thank you.