Power & Source of Big Ideas

I'm looking at the /sys/class/gpio because I've not found anything better.
But how to know which gpio number map to the NanoPi-A64 GPI header pins ?
I've got a NanoPi64 and made it run the Ubuntu core from nanopi-a64_friendlycore-xenial_3.10.65_20180207.img I need to communicate with devices plugged on SPI bus on the GPIO pins 19/21/23 and 24/26. Which API is available ? I previously developped on RPi with the BCM2835 C library http://www.airspa...