iProc nand iproc-idm register

Ray Jui rjui at broadcom.com
Mon May 25 10:00:01 PDT 2015


Hi Hauke,

On 5/24/2015 10:16 AM, Hauke Mehrtens wrote:
> Hi Ray,
> 
> in the iproc_nand driver your are using this register range:
> reg = <0x18046000 0x600>, <0xf8105408 0x600>, <0x18046f00 0x20>;
> reg-names = "nand", "iproc-idm", "iproc-ext";
> 
> I think the iproc-idm register range is the wrap address part on bcma
> bus. On the bcma bus it is 0x1000 in size and 0x0408 is the offset of
> the IO control register in it. Are the new iProc devices different here
> or is this register not always at this offset but varies?

It's different. Based on the Cygnus RDB, there's nothing between
0xf8105000 and 0xf8105404.

> 
> Wouldn't it be better to specify the complete range like this:
> reg = <0x18046000 0x600>, <0xf8105000 0x1000>, <0x18046f00 0x20>;
> Then you can read the register at offset 0x408 in that range.
> 
> Hauke
> 



More information about the linux-mtd mailing list