Fixed wrong device tree name for devcfg and added sanity check.