[PATCH 15/16] Add device tree for Ebony

Scott Wood scottwood at freescale.com
Thu Feb 15 08:59:00 EST 2007

Benjamin Herrenschmidt wrote:
>>The current practice seems to be that an "soc" node contains
>>all the on chip devices (regardless of the physical bus internal
>>to the soc).
> That's the current FSL practice yes. As I said, I'm not too fan of it. I
> prefer a more precise representation of the internal bus layout.

I think it makes sense at least for the FSL SoCs, in that from an 
addressing perspective it is like a bus -- the entire block of devices 
can be relocated by writing to one IMMRBAR register, and the only 
hardcoded address is the offset into that block.

Putting the devices at the root level would make it harder to implement 
a template dts fragment for a given SoC that can be included in a board 
dts, where different boards may want to put the IMMR in different 
places.  It could be done with macros and addition, but it'd be simpler 
to be able to just update reg and ranges in the soc node.


More information about the Linuxppc-dev mailing list