ofw_graph_get_endpoint_by_idx
endpoint = ofw_graph_get_endpoint_by_idx(port, ep_id);
phandle_t ofw_graph_get_endpoint_by_idx(phandle_t port, uint32_t idx);