hm... After some digging, it seems like one main problem, perhaps the only one, is the lack of gpio line naming. gpiolib is centered around the idea that lines are referenced using names rather than numbers. However, when listing the names they are all empty i. e. "". This makes it impossible to reference any line.
This is obviously about boot/dtb. Moreover, while orangepi 5 successfully reuses the rockchip stuff, the actual names are board specific.
I have never worked with the dtb/dts stuff. But assigning names to the connections should not be that complicated. Actually, names like "gpio0", "gpio1" etc reflecting physical lines should be fine.
Any hint out there where to start?