hw/gpio support GPIO index mode for write operation.