[PATCH] SPI: Use fsl_spi instead of mpc83xx_spi

Grant Likely grant.likely at secretlab.ca
Thu Oct 4 01:52:53 EST 2007


On 10/3/07, Peter Korsgaard <jacmet at sunsite.dk> wrote:
> According to booting-without-of.txt, compatible should be "fsl_spi" and
> mode "cpu" or "qe" for the fsl SPI controllers.
>
> Signed-off-by: Peter Korsgaard <jacmet at sunsite.dk>
> ---
>  arch/powerpc/boot/dts/mpc8313erdb.dts    |    4 ++--
>  arch/powerpc/boot/dts/mpc8349emitx.dts   |    4 ++--
>  arch/powerpc/boot/dts/mpc8349emitxgp.dts |    4 ++--
>  arch/powerpc/boot/dts/mpc834x_mds.dts    |    4 ++--
>  4 files changed, 8 insertions(+), 8 deletions(-)
>
> diff --git a/arch/powerpc/boot/dts/mpc8313erdb.dts b/arch/powerpc/boot/dts/mpc8313erdb.dts
> index a8eadc8..9e7eba9 100644
> --- a/arch/powerpc/boot/dts/mpc8313erdb.dts
> +++ b/arch/powerpc/boot/dts/mpc8313erdb.dts
> @@ -71,11 +71,11 @@
>
>                 spi at 7000 {
>                         device_type = "spi";
> -                       compatible = "mpc83xx_spi";
> +                       compatible = "fsl_spi";

Compatible is a list property; this might be more appropriate:

compatible = "fsl,mpc8313_spi", "fsl_spi";

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