[PATCH 4.18 144/235] of: add helper to lookup compatible child node