[PATCH v5 02/12] of: add helper for getting endpoint node of specific identifiers