dm: Provide a function to scan child FDT nodes