[PATCHv3] mtd: gpio-nand: add device tree bindings

Scott Wood scottwood at freescale.com
Tue Aug 2 06:43:21 EST 2011


On Mon, 1 Aug 2011 15:39:50 -0500
Scott Wood <scottwood at freescale.com> wrote:

> On Mon, 1 Aug 2011 21:25:36 +0100
> Jamie Iles <jamie at jamieiles.com> wrote:
> 
> > On Mon, Aug 01, 2011 at 03:12:09PM -0500, Scott Wood wrote:
> > > Or perhaps the io sync address should just be a physical address, not a reg
> > > that gets translated.
> > 
> > OK, I like the sound of that.  I'm a bit new to the world of device tree 
> > so I'm not sure of the best way to do this.  Would reading the 
> > #address-cells property then use of_read_number() be the right way?
> 
> I'd just unconditionally define it as a 64-bit physical address.

To be clear, it should go in its own property, not be associated with "reg"
at all.

-Scott



More information about the devicetree-discuss mailing list