init gpio driver