add DTWI and fix interrupts