add a feature flag for device tree support