add gpio control and register read write module