LIRC - infrared receiver

I am trying to use VS1838B infrared receiver with rockpi 4b+ using LIRC.
I can use with raspberry pi with no problem. The only thing I need to indicate to rpi is which pin (gpio) the receiver is connect to and lirc does the rest.
Is there a similar way to use it with rock pi?