Platform device addressing
This section addresses simple memory-mapped devices whose memory is accessible to the CPU. Here, the reg property still defines the device's address, which is a list of memory regions on which you can access the device. Each region is represented with a tuple of cells, where the first cell is the base address of the memory region, and the second tuple is the size of the region. It then has the form reg = <base0 length0 [base1 length1] [address2 length2] ... >. Each tuple represents an address range used by the device.
In the real world, you should not interpret the reg property without knowing the value of two other properties,#size-cells and #address-cells. #size-cells tell us how large the length field is in each ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access