[PATCH v3 2/8] of: add helper for getting endpoint node of specific identifiers