image: Add device tree setup to image library