IR Receiver example

Is there any example code to use IR Receiver on the Rock Pi N10? Which GPIO pin is it connected to?