Beaglebone green gateway and MAX485 TTL to RS485 adapter


Does some have any recommendations how to connect this adapter ?
converter link:
library: node-red-contrib-modbus (node) - Node-RED

I found that it uses /dev/ttyS4

I connected it to UART4.
I am using Beaglebone green gateway

done this configuration
config-pin p9.13 uart
config-pin p9.11 uart