[PATCH v3 27/38] dm: core: Add a way to convert a devicetree to a dtb