Patchwork powerpc: fix interrupt values for DMA2 in MPC8610 HPCD device tree

login
register
mail settings
Submitter Timur Tabi
Date Sept. 9, 2008, 6:41 p.m.
Message ID <1220985663-17990-1-git-send-email-timur@freescale.com>
Download mbox | patch
Permalink /patch/222/
State Accepted, archived
Commit 612f9d338a6060f814ef35b7108b43407a5df423
Delegated to: Kumar Gala
Headers show

Comments

Timur Tabi - Sept. 9, 2008, 6:41 p.m.
The interrupt values in a device tree must be 16 greater than the actual
interrupt number for a given device.  The interrupt property for the DMA
channels for DMA2 in the MPC8610 HPCD device tree was using the raw values,
not the adjusted ones.

Signed-off-by: Timur Tabi <timur@freescale.com>

Patch

diff --git a/arch/powerpc/boot/dts/mpc8610_hpcd.dts b/arch/powerpc/boot/dts/mpc8610_hpcd.dts
index 3b3a106..584a4f1 100644
--- a/arch/powerpc/boot/dts/mpc8610_hpcd.dts
+++ b/arch/powerpc/boot/dts/mpc8610_hpcd.dts
@@ -281,7 +281,7 @@ 
 				cell-index = <0>;
 				reg = <0x0 0x80>;
 				interrupt-parent = <&mpic>;
-				interrupts = <60 2>;
+				interrupts = <76 2>;
 			};
 			dma-channel@1 {
 				compatible = "fsl,mpc8610-dma-channel",
@@ -289,7 +289,7 @@ 
 				cell-index = <1>;
 				reg = <0x80 0x80>;
 				interrupt-parent = <&mpic>;
-				interrupts = <61 2>;
+				interrupts = <77 2>;
 			};
 			dma-channel@2 {
 				compatible = "fsl,mpc8610-dma-channel",
@@ -297,7 +297,7 @@ 
 				cell-index = <2>;
 				reg = <0x100 0x80>;
 				interrupt-parent = <&mpic>;
-				interrupts = <62 2>;
+				interrupts = <78 2>;
 			};
 			dma-channel@3 {
 				compatible = "fsl,mpc8610-dma-channel",
@@ -305,7 +305,7 @@ 
 				cell-index = <3>;
 				reg = <0x180 0x80>;
 				interrupt-parent = <&mpic>;
-				interrupts = <63 2>;
+				interrupts = <79 2>;
 			};
 		};