dtb_get_address_cells
uint32 addressCells = dtb_get_address_cells(fdt, node);
uint32 parentAddressCells = dtb_get_address_cells(fdt, parent);