ARM: bcm2835: add interrupt-names and apply correct mapping
authorMartin Sperl <kernel@martin.sperl.org>
Mon, 11 Apr 2016 13:29:09 +0000 (13:29 +0000)
committerVinod Koul <vinod.koul@intel.com>
Tue, 19 Apr 2016 15:32:48 +0000 (21:02 +0530)
Add interrupt-names properties to dt and apply the correct
mapping between irq and dma channels.

Signed-off-by: Martin Sperl <kernel@martin.sperl.org>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Acked-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
arch/arm/boot/dts/bcm283x.dtsi

index 8aaf193711bfea9872673a4f2fe3ec4bcbfe494a..84dcf3e5c8d9e36460925984ae9708c108b8f040 100644 (file)
                                     <1 24>,
                                     <1 25>,
                                     <1 26>,
+                                    /* dma channel 11-14 share one irq */
                                     <1 27>,
+                                    <1 27>,
+                                    <1 27>,
+                                    <1 27>,
+                                    /* unused shared irq for all channels */
                                     <1 28>;
-
+                       interrupt-names = "dma0",
+                                         "dma1",
+                                         "dma2",
+                                         "dma3",
+                                         "dma4",
+                                         "dma5",
+                                         "dma6",
+                                         "dma7",
+                                         "dma8",
+                                         "dma9",
+                                         "dma10",
+                                         "dma11",
+                                         "dma12",
+                                         "dma13",
+                                         "dma14",
+                                         "dma-shared-all";
                        #dma-cells = <1>;
                        brcm,dma-channel-mask = <0x7f35>;
                };