Skip to contentSkip to conversation

Configure PSC4 and PSC5 as UART.

PATCH Superseded Grzegorz Bernacki 2 participants 2 messages Feb 13, 2009

Subsystems (2)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Configure PSC4 and PSC5 as UART.

On digsy MTC PSC4 and PSC5 should be configured as UART, not PSC3 and PSC4.

---
 arch/powerpc/boot/dts/digsy_mtc.dts |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)
arch/powerpc/boot/dts/digsy_mtc.dts +8 -8
index 9c76c38..ce33c7c 100644
@@ -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>;
 		};
 
Signature · 1 line
1.6.0.6
#1 lore raw

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.

Quoted 45 lines · Grzegorz Bernacki

On digsy MTC PSC4 and PSC5 should be configured as UART, not PSC3 and PSC4.

---
 arch/powerpc/boot/dts/digsy_mtc.dts |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)
arch/powerpc/boot/dts/digsy_mtc.dts +8 -9
index 9c76c38..ce33c7c 100644
@@ -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

Signature · 2 lines
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.