Bartlomiej Sieka wrote:
> The bulk of this patch is taken from
> http://patchwork.ozlabs.org/linuxppc/patch?q=Balakowicz&id=16197, with few
> other updates, in particluar one posted by Anatolij Gustschin, which fixes
> an Oops during boot.
>     
> Signed-off-by: Marian Balakowicz <[EMAIL PROTECTED]>
> ---
> Anatolij, would you like to add your S-O-B?
> 
> diff --git a/arch/powerpc/boot/dts/cm5200.dts 
> b/arch/powerpc/boot/dts/cm5200.dts
> index 30737ea..8b2e8e4 100644
> --- a/arch/powerpc/boot/dts/cm5200.dts
> +++ b/arch/powerpc/boot/dts/cm5200.dts
> @@ -159,6 +159,7 @@
>               };
>  
>               [EMAIL PROTECTED] {
> +                     device_type = "dma-controller";
>                       compatible = 
> "fsl,mpc5200b-bestcomm","fsl,mpc5200-bestcomm";
>                       reg = <1200 80>;
>                       interrupts = <3 0 0  3 1 0  3 2 0  3 3 0
> @@ -212,13 +213,31 @@
>               [EMAIL PROTECTED] {
>                       device_type = "network";
>                       compatible = "fsl,mpc5200b-fec","fsl,mpc5200-fec";
> -                     reg = <3000 800>;
> +                     reg = <3000 400>;
>                       local-mac-address = [ 00 00 00 00 00 00 ];
>                       interrupts = <2 5 0>;
>                       interrupt-parent = <&mpc5200_pic>;
> +                     phy-handle = <&phy0>;
> +             };
> +
> +             [EMAIL PROTECTED] {
> +                     #address-cells = <1>;
> +                     #size-cells = <0>;
> +                     device_type = "mdio";
> +                     compatible = "fsl,mpc5200b-mdio";
> +                     reg = <3000 400>;       // fec range, since we need to 
> setup fec interrupts
> +                     interrupts = <2 5 0>;   // these are for "mii command 
> finished", not link changes & co.
> +                     interrupt-parent = <&mpc5200_pic>;
> +
> +                     phy0:[EMAIL PROTECTED] {
> +                             device_type = "ethernet-phy";
> +                             reg = <0>;
> +                     };
>               };
>  
>               [EMAIL PROTECTED] {
> +             #address-cells = <1>;
> +             #size-cells = <0>;
>                       compatible = 
> "fsl,mpc5200b-i2c","fsl,mpc5200-i2c","fsl-i2c";
>                       reg = <3d40 40>;
>                       interrupts = <2 10 0>;
> @@ -231,4 +250,22 @@
>                       reg = <8000 4000>;
>               };
>       };
> +
> +     lpb {
> +             model = "fsl,lpb";
> +             compatible = "fsl,lpb";
> +             #address-cells = <2>;
> +             #size-cells = <1>;
> +             ranges = <0 0 fc000000 2000000>;
> +
> +             // 16-bit flash device at LocalPlus Bus CS0
> +             [EMAIL PROTECTED],0 {
> +                     compatible = "cfi-flash";
> +                     reg = <0 0 2000000>;
> +                     bank-width = <2>;
> +                     device-width = <2>;
> +                     #size-cells = <1>;
> +                     #address-cells = <1>;
> +             };
> +     };
>  };
> diff --git a/arch/powerpc/boot/dts/motionpro.dts 
> b/arch/powerpc/boot/dts/motionpro.dts
> index 76951ab..9ca81ff 100644
> --- a/arch/powerpc/boot/dts/motionpro.dts
> +++ b/arch/powerpc/boot/dts/motionpro.dts
> @@ -127,6 +127,13 @@
>                       interrupt-parent = <&mpc5200_pic>;
>               };
>  
> +             [EMAIL PROTECTED] {
> +                     compatible = "mpc5200b-mscan\0mpc5200-mscan";
> +                     interrupts = <2 11 0>;
> +                     interrupt-parent = <&mpc5200_pic>;
> +                     reg = <900 80>;
> +             };
> +

If I remember correctly, the motionpro board has only _one_ MSCAN port
wired. Therefore please discard the above hunk.

Wolfgang.


_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev

Reply via email to