fix up device tree setup