Add support for device tree