of_get_flat_dt_phandle
if (of_get_flat_dt_phandle(d->node) == phandle) {
extern uint32_t of_get_flat_dt_phandle(unsigned long node);