for Android on BPI-M64 Not 100% correct…
example: uart2_tx = port:PB0<2><1>< default >< default > uart2_rx = port:PB1<2><1>< default >< default >
how to read: gpio = port:port code < function >< resistors status >< capacity >< power output level >
Legends: < function > 0 = input 1 = output 2 = I/O 3 = i don’t know 4 = i don’t know 6 = Interrupt
< resistor status > 0 = High impedance state 1 = pull-up resistor 2 = pull-down resistor default = pull-up
< capacity > default = 1
< power level > 0 = low 1 = high