Adds wb_register and updates gpio_controller to use wb_registers