Subject: Re: [PATCH 1/3] Bamboo DTS

From: Segher Boessenkool <[email-masked]>
Date: Mon, 14 May 2007 17:52:15 +0200

>> +		  	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