[PATCH] DTS: DMA: Fix DMA3 interrupts
hongbo.zhang at freescale.com
hongbo.zhang at freescale.com
Fri Nov 29 19:07:26 EST 2013
From: Hongbo Zhang <hongbo.zhang at freescale.com>
MPIC registers for internal interrupts is non-continous in address, any
internal interrupt number greater than 159 should be added (16+208) to work.
16 is due to external interrupts as usual, 208 is due to the non-continous MPIC
register space.
Tested on T4240 rev2 with SRIO2 disabled.
Signed-off-by: Hongbo Zhang <hongbo.zhang at freescale.com>
---
arch/powerpc/boot/dts/fsl/elo3-dma-2.dtsi | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/arch/powerpc/boot/dts/fsl/elo3-dma-2.dtsi b/arch/powerpc/boot/dts/fsl/elo3-dma-2.dtsi
index b89d816..d3cc8d0 100644
--- a/arch/powerpc/boot/dts/fsl/elo3-dma-2.dtsi
+++ b/arch/powerpc/boot/dts/fsl/elo3-dma-2.dtsi
@@ -42,41 +42,41 @@ dma2: dma at 102300 {
dma-channel at 0 {
compatible = "fsl,eloplus-dma-channel";
reg = <0x0 0x80>;
- interrupts = <256 2 0 0>;
+ interrupts = <464 2 0 0>;
};
dma-channel at 80 {
compatible = "fsl,eloplus-dma-channel";
reg = <0x80 0x80>;
- interrupts = <257 2 0 0>;
+ interrupts = <465 2 0 0>;
};
dma-channel at 100 {
compatible = "fsl,eloplus-dma-channel";
reg = <0x100 0x80>;
- interrupts = <258 2 0 0>;
+ interrupts = <466 2 0 0>;
};
dma-channel at 180 {
compatible = "fsl,eloplus-dma-channel";
reg = <0x180 0x80>;
- interrupts = <259 2 0 0>;
+ interrupts = <467 2 0 0>;
};
dma-channel at 300 {
compatible = "fsl,eloplus-dma-channel";
reg = <0x300 0x80>;
- interrupts = <260 2 0 0>;
+ interrupts = <468 2 0 0>;
};
dma-channel at 380 {
compatible = "fsl,eloplus-dma-channel";
reg = <0x380 0x80>;
- interrupts = <261 2 0 0>;
+ interrupts = <469 2 0 0>;
};
dma-channel at 400 {
compatible = "fsl,eloplus-dma-channel";
reg = <0x400 0x80>;
- interrupts = <262 2 0 0>;
+ interrupts = <470 2 0 0>;
};
dma-channel at 480 {
compatible = "fsl,eloplus-dma-channel";
reg = <0x480 0x80>;
- interrupts = <263 2 0 0>;
+ interrupts = <471 2 0 0>;
};
};
--
1.7.9.5
More information about the Linuxppc-dev
mailing list