Add rudimentary support for device tree