dtc: Empty ranges property: #cells-size warning
Stefan Roese
sr at denx.de
Thu Oct 22 20:56:48 EST 2009
On Thursday 22 October 2009 00:04:13 David Gibson wrote:
> > No, the warning is correct, and your device tree is in error.
> >
> > An empty "ranges" property means that the child address space is
> > identical to the parent address space, which isn't the case here.
> >
> > You should resolve this by using a non-empty "ranges" property,
> > instead. If e.g. the address space is 1GB, and located at 0, you
> > would do
> >
> > < 0 0 0 0x40000000 >
> > (child) (parent) (size)
>
> Exactly. An empty ranges property makes no sense if the parent and
> child address spaces aren't identical. You need an explicit ranges
> property to show how the child address space is embedded in the
> parent's.
OK, thanks for making this clear.
Cheers,
Stefan
More information about the devicetree-discuss
mailing list