Patchwork Configure PSC4 and PSC5 as UART.

login
register
mail settings
Submitter Grzegorz Bernacki
Date Feb. 13, 2009, 1:52 p.m.
Message ID <1234533163557-git-send-email-gjb@semihalf.com>
Download mbox | patch
Permalink /patch/23110/
State Superseded
Delegated to: Grant Likely
Headers show

Comments

Grzegorz Bernacki - Feb. 13, 2009, 1:52 p.m.
On digsy MTC PSC4 and PSC5 should be configured as UART, not PSC3 and PSC4.

Signed-off-by: Grzegorz Bernacki <gjb@semihalf.com>
---
 arch/powerpc/boot/dts/digsy_mtc.dts |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)
Grant Likely - Feb. 13, 2009, 3:07 p.m.
Hi Grzegorz,

Please rebase this patch on top of Ben Herrenschmidt's -next tree.
This version is making changes to an older version of the
digsy_mtc.dts file.

g.

On Fri, Feb 13, 2009 at 6:52 AM, Grzegorz Bernacki <gjb@semihalf.com> wrote:
> On digsy MTC PSC4 and PSC5 should be configured as UART, not PSC3 and PSC4.
>
> Signed-off-by: Grzegorz Bernacki <gjb@semihalf.com>
> ---
>  arch/powerpc/boot/dts/digsy_mtc.dts |   16 ++++++++--------
>  1 files changed, 8 insertions(+), 8 deletions(-)
>
> diff --git a/arch/powerpc/boot/dts/digsy_mtc.dts b/arch/powerpc/boot/dts/digsy_mtc.dts
> index 9c76c38..ce33c7c 100644
> --- a/arch/powerpc/boot/dts/digsy_mtc.dts
> +++ b/arch/powerpc/boot/dts/digsy_mtc.dts
> @@ -164,21 +164,21 @@
>                        reg = <0x1f00 0x100>;
>                };
>
> -               serial@2400 {           // PSC3
> +               serial@2600 {           // PSC4
>                        device_type = "serial";
>                        compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
> -                       cell-index = <2>;
> -                       reg = <0x2400 0x100>;
> -                       interrupts = <2 3 0>;
> +                       cell-index = <3>;
> +                       reg = <0x2600 0x100>;
> +                       interrupts = <2 11 0>;
>                        interrupt-parent = <&mpc5200_pic>;
>                };
>
> -               serial@2600 {           // PSC4
> +               serial@2800 {           // PSC5
>                        device_type = "serial";
>                        compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
> -                       cell-index = <3>;
> -                       reg = <0x2600 0x100>;
> -                       interrupts = <2 11 0>;
> +                       cell-index = <5>;
> +                       reg = <0x2800 0x100>;
> +                       interrupts = <2 12 0>;
>                        interrupt-parent = <&mpc5200_pic>;
>                };
>
> --
> 1.6.0.6
>
>

Patch

diff --git a/arch/powerpc/boot/dts/digsy_mtc.dts b/arch/powerpc/boot/dts/digsy_mtc.dts
index 9c76c38..ce33c7c 100644
--- a/arch/powerpc/boot/dts/digsy_mtc.dts
+++ b/arch/powerpc/boot/dts/digsy_mtc.dts
@@ -164,21 +164,21 @@ 
 			reg = <0x1f00 0x100>;
 		};
 
-		serial@2400 {		// PSC3
+		serial@2600 {		// PSC4
 			device_type = "serial";
 			compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
-			cell-index = <2>;
-			reg = <0x2400 0x100>;
-			interrupts = <2 3 0>;
+			cell-index = <3>;
+			reg = <0x2600 0x100>;
+			interrupts = <2 11 0>;
 			interrupt-parent = <&mpc5200_pic>;
 		};
 
-		serial@2600 {		// PSC4
+		serial@2800 {		// PSC5
 			device_type = "serial";
 			compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
-			cell-index = <3>;
-			reg = <0x2600 0x100>;
-			interrupts = <2 11 0>;
+			cell-index = <5>;
+			reg = <0x2800 0x100>;
+			interrupts = <2 12 0>;
 			interrupt-parent = <&mpc5200_pic>;
 		};