[PATCH v2 31/45] dm: core: Provide a way to reset the device tree