Move recovery stuff to device tree