GPIO fixes

This will need more in-depth review and discussion. There might be a loose end on the FMU GPIO config, and we should verify this.