[PATCH 2/3] Add fdt network helper functions