[PATCH 1/3] Bamboo DTS

Segher Boessenkool segher at kernel.crashing.org
Tue May 15 01:52:15 EST 2007


>> +		  	ranges = <00000000 0 00000000 80000000
>> +			          80000000 0 80000000 80000000>;
>
> You can avoid having two ranges by using #size-cells = 2
> in the root node.

Erm ignore this, size in a "ranges" property is encode
with the "#size-cells" of the child bus, not the parent
bus.  #size-cells = 2 does fix similar problems, just
not this one :-)

>   Having two ranges is a problem if any
> mapping straddles the boundary between the two.

You can get around this problem by making one range's
top or bottom boundary identical to that same boundary
of a bus range or reg range of a direct child of this
bus.  Since you don't have any kids for this node yet
it doesn't matter for now, but keep it in mind.


Segher




More information about the Linuxppc-dev mailing list