[PATCH v3 12/13] [POWERPC] Promess Motion-PRO DTS

Grant Likely grant.likely at secretlab.ca
Sat Nov 10 04:49:27 EST 2007


On 11/6/07, David Gibson <david at gibson.dropbear.id.au> wrote:
> On Tue, Nov 06, 2007 at 09:06:34PM +0100, Marian Balakowicz wrote:
> [snip]
> > +             // PSC2 in spi master mode
> > +             spi at 2200 {              // PSC2
> > +                     compatible = "mpc5200b-psc-spi","mpc5200-psc-spi";
> > +                     cell-index = <1>;
>
> From your description, this is an incorrect usage of cell-index - it
> should *only* be used to index into SoC shared registers; never for
> logical numbering.

Actually, this one is correct.  PSCs are numbered in the data sheet
from PSC1 to PSC6; so cell-index = <0> for PSC1, cell-index = <1> for
PSC2, etc.

Cheers,
g.

-- 
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
grant.likely at secretlab.ca
(403) 399-0195



More information about the Linuxppc-dev mailing list