This brings support for allwinner A13 (and some needed bits for R8).
The gpio changes is because some pins don't have gpio 'out' function but only 'in' so we report back an error when trying to set the function to an non-existing one.
I intend to commit this after the unfreeze into 12 (and maybe MFC into 11 for 11.1-RELEASE ?)