BPI M2 Berry - infrared receiver

I bought a BPI M2 Berry because it has a SATA interface and an infrared receiver. Unfortunately I haven’t been able to use the infrared receiver yet. The images to be used don’t matter at the moment, preferably Rasbian or a suitable Debian.