A small contribution to the community:
I have modified the Orange Pi Zero to be able to work with Lichee Pi
See attached file.
I have commented SD and WiFi dock I/Os, to avoid conflicts, but anyone who wants to use those pins, just uncomment the corresponding lines in the pin_mappings.py file.
I haven’t deeply tested yet, but the following methods work perfect: GPIO.setmode, GPIO.setup, GPIO.input, GPIO.output and GPIO.cleanup and that’s enough for me.
To use it, just uncompress and install.
In your Python code, use like:
import LPi.GPIO as GPIO
GPIO.setup (2, GPIO.OUT)
I numbered pins according to the lichee0_base diagram, and also created an image, you can find in doc directory.