[RFC][PATCH 08/30] powerpc/85xx: Rework P1020 SoC device tree

Scott Wood scottwood at freescale.com
Sat Nov 12 02:29:57 EST 2011


On Thu, Nov 10, 2011 at 02:27:11PM -0600, Kumar Gala wrote:
> On Nov 10, 2011, at 12:58 PM, Scott Wood wrote:
> > On Thu, Nov 10, 2011 at 12:46:27PM -0600, Kumar Gala wrote:
> >> On Nov 10, 2011, at 12:05 PM, Scott Wood wrote:
> >>> What does the SoC part need to specify that has to override or go within
> >>> something the board specifies?
> >> 
> >> Not sure I follow the question.
> > 
> > My question is, why does the stuff in post need to be in post, versus pre?
> > 
> > Why can't pre define the soc node, and let the board dts set ranges? 
> > Likewise for localbus, pci, etc.
> > 
> > -Scott
> 
> Gotcha, the reason we have -pre and -post is because of how dtc include
> mechanism works.  It builds it's tree in the order things are parsed in
> the file.

That doesn't really answer the question.

> In addition, "labeled nodes" like we have in post for 'soc', 'lbc',
> etc.  have to be defined after they are referenced.

Don't you mean defined before they are referenced?

What's wrong with defining them in pre?

-Scott



More information about the Linuxppc-dev mailing list