Replace pin with gpio_id in some files