[PATCH] adding ROM chips to device tree
Josh Boyer
jwboyer at linux.vnet.ibm.com
Fri Nov 3 00:30:37 EST 2006
On Thu, 2006-11-02 at 14:55 +0300, Vitaly Wool wrote:
> In fact, currently this description can handle only flash devices mapped into memory in a linear way.
> For NAND flashes we'll need a whole lot different description but let's solve problems as they arise
> since I'm not aware of any ppc board w/ NAND chip yet :)
Um... all of the 440EP and 440EPx boards have NAND. And those have
been around for a while...
> +
> + Required properties:
> +
> + - device_type : has to be "rom"
Why "rom" instead of "NOR"?
> + - compatible : Should be the name of the MTD driver. Currently, this is
> + most likely to be "physmap".
> + - reg : Offset and length of the register set for the device.
reg doesn't really describe a register set here. It's the overall
memory space for flash.
> +
> + Recommended properties :
> +
> + - bank-width : Width of the flash data bus in bytes. Must be specified
> + for the NOR flashes.
This is a required property, not a recommended one.
josh
More information about the Linuxppc-embedded
mailing list