MPC52xx and SPI (native one, NOT psc)

Grant Likely grant.likely at secretlab.ca
Mon May 5 23:55:40 EST 2008


On Mon, May 5, 2008 at 2:00 AM, Fabrizio Garetto
<fabrizio.garetto at gmail.com> wrote:
> Hello to everyone,
>  I was trying to enable the SPI of a lite5200 board. I've seen that
>  there's something related to this in
>  arch/powerpc/boot/dts/lite5200b.dts
>
>  >spi at f00 {
>  >                       device_type = "spi";
>  >                       compatible = "mpc5200b-spi\0mpc5200-spi";
>  >                       reg = <f00 20>;
>  >                       interrupts = <2 d 0 2 e 0>;
>  >                       interrupt-parent = <&mpc5200_pic>;
>  >               };
>  >
>
>  but I'm not able to find where to enable it in menuconfig. Under
>  device drivers -> Spi support there only the PSC SPI.
>  Where am I wrong?

The device tree describes the hardware; even if there isn't a driver
for it.  The non-PSC SPI does not have a driver right now.

I'm actually working on a driver for it *right now*.  Are you able to
help with testing?

Cheers,
g.

-- 
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.



More information about the Linuxppc-dev mailing list