Switch device trees up to 5.0 branches