Ok, thanks. I will let you know when i test it
FYI, a couple of days ago I created a poll request with some enhancements to GPIO binding, one of them addresses the issue with All Winner devices. I introduced a new map file originally for creating aliases for pin numbers, in this way you could use more user friendly names in the configuration instead of raw kernel numbers. I also added an optional third column for sysfs suffix in this map. The poll request isn't merged yet to master branch, if you want to play with new functionality you have to compile the code yourself. Clone
https://github.com/dpslavov/openhab.git and build the packages in usual way. To configure the pin map create a new directory named "pinmaps" in openHAB's "configurations" directory and create a file with extension .pinmap there. It should contains three columns, the first one is user friendly name which will be used in item configuration file instead of number, the second one is the corresponding pin number and the third one is sysfs suffix. The fields can be separated with any number of spaces and/or tabs. To use this pinmap file add option "gpio:pinmap=BOARD" (where BOARD is the name of the file without its extension) in GPIO section of "configurations/openhab.cfg". If you are tested it please provide some feedback, also you can share your pinmap file to be included in the distribution.