Page MenuHomeFreeBSD

Use the cell-index property as the unit number if available.

Authored by jhibbits on Sep 28 2016, 3:51 AM.



NXP/Freescale, among others, includes an optional cell-index property
on nodes to denote the SoC block number of the node. This can be useful if, for
example, a node is disabled or nonexistent in the fdt, or the blocks are not
organized in address-sorted order. For instance, on the P1022, DMA2 is located
at CCSR offset 0xC000, while DMA1 is located at 0x21000.

Diff Detail

rS FreeBSD src repository
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

jhibbits updated this revision to Diff 20752.Sep 28 2016, 3:51 AM
jhibbits retitled this revision from to Use the cell-index property as the unit number if available..
jhibbits updated this object.
jhibbits edited the test plan for this revision. (Show Details)
jmcneill accepted this revision.Sep 28 2016, 10:17 PM
jmcneill edited edge metadata.
This revision is now accepted and ready to land.Sep 28 2016, 10:17 PM
This revision was automatically updated to reflect the committed changes.