Gpio control in JP 5.0.2

There are some discussions here: