fdt_node_depth
int nodedepth = fdt_node_depth(fdt, nodeoffset);
int fdt_node_depth(const void *fdt, int nodeoffset);