split gpio from main