[PATCH v2 1/2] ARM: i.MX35: Add kernel oftree support
Shawn Guo
shawn.guo at linaro.org
Mon Aug 13 21:35:19 EDT 2012
On Mon, Aug 13, 2012 at 05:35:03PM +0200, Uwe Kleine-König wrote:
> Hi Shawn,
>
> On Mon, Aug 13, 2012 at 04:15:21PM +0800, Shawn Guo wrote:
> > On Fri, Aug 10, 2012 at 11:32:49AM +0200, Uwe Kleine-König wrote:
> > > + emi at 80000000 { /* External Memory Interface */
> > > + compatible = "fsl,emi", "simple-bus";
> > > + #address-cells = <1>;
> > > + #size-cells = <1>;
> > > + reg = <0x80000000 0x40000000>;
> > > + ranges;
> > > +
> > > + nand at bb000000 {
> > > + #address-cells = <1>;
> > > + #size-cells = <1>;
> > > +
> > These should not be needed, until you will have sub-nodes with "reg"
> > property.
>
> The obvious sub-nodes are partitions. I thought it sensible to already
> add #address-cells and #size-cells because they are identical for all
> users and so repeating is minimized.
>
Yes, you are right. How did I forget such an obvious use case?
--
Regards,
Shawn
More information about the linux-arm-kernel
mailing list