add gpio fs logic