Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| device_tree_standard_properties [2018/11/18 12:50] – [#address-cells, #size-calls] rpjday | device_tree_standard_properties [2018/11/18 13:54] (current) – [ranges] rpjday | ||
|---|---|---|---|
| Line 15: | Line 15: | ||
| ==== # | ==== # | ||
| - | Not inherited, must be explicitly defined. | + | The # |
| + | |||
| + | A DTSpec-compliant boot program shall supply # | ||
| + | |||
| + | If missing, a client program should assume a default value of 2 for # | ||
| + | |||
| + | ==== reg ==== | ||
| + | |||
| + | The reg property describes the address of the device’s resources within the address space defined by its parent bus. Most commonly this means the offsets and lengths of memory-mapped IO register blocks, but may have a different meaning on some bus types. Addresses in the address space defined by the root node are CPU real addresses. | ||
| + | |||
| + | The value is a < | ||
| + | |||
| + | ==== virtual-reg ==== | ||
| + | |||
| + | Seems to be PowerPC only. | ||
| + | |||
| + | ==== ranges ==== | ||
| + | |||
| + | The format of the value of the ranges property is an arbitrary number of triplets of (child-bus-address, | ||
| + | |||
| + | * The child-bus-address is a physical address within the child bus’ address space. The number of cells to represent the address is bus dependent and can be determined from the # | ||
| + | * The parent-bus-address is a physical address within the parent bus’ address space. The number of cells to represent the parent address is bus dependent and can be determined from the # | ||
| + | * The length specifies the size of the range in the child’s address space. The number of cells to represent the size can be determined from the #size-cells of this node (the node in which the ranges property appears). | ||
| + | |||
| + | If the property is defined with an < | ||
| + | |||
| + | If the property is not present in a bus node, it is assumed that no mapping exists between children of the node and the parent address space. | ||
| + | ==== dma-ranges ==== | ||