RK_GPIO_INTTYPE_BOTH
sc->regs[RK_GPIO_INTTYPE_BOTH] = (struct rk_gpio_reg){ 0, 0x30 };
rk_gpio_write_bit(sc, RK_GPIO_INTTYPE_BOTH, pin, 1);