Name

of_flat_dt_translate_address — translate DT addr into CPU phys addr

Synopsis

u64 of_flat_dt_translate_address (unsigned long node);
 

Arguments

node

node offset in the initial_boot_params

Description

Translate an address from the device-tree into a CPU physical address. This walks up the tree and applies the various bus mappings on the way.

Note - We consider that crossing any level with #size-cells == 0 to mean that translation is impossible (that is we are not dealing with a value that can be mapped to a cpu physical address). This is not really specified that way, but this is traditionally the way IBM at least do things

Return

On success CPU physical address, else OF_BAD_ADDR.