brcm2708: update linux 4.4 patches to latest version
[openwrt/openwrt.git] / target / linux / brcm2708 / patches-4.4 / 0404-ARM-bcm2835-add-interrupt-names-and-apply-correct-ma.patch
1 From b11585bc1bd969c750b3f02fd15a584b463602f8 Mon Sep 17 00:00:00 2001
2 From: Martin Sperl <kernel@martin.sperl.org>
3 Date: Sat, 23 Apr 2016 14:07:03 +0000
4 Subject: [PATCH 404/423] ARM: bcm2835: add interrupt-names and apply correct
5 mapping
6
7 Add interrupt-names properties to dt and apply the correct
8 mapping between irq and dma channels.
9
10 Signed-off-by: Martin Sperl <kernel@martin.sperl.org>
11 ---
12 arch/arm/boot/dts/bcm2708_common.dtsi | 26 ++++++++++++++++++++++++--
13 1 file changed, 24 insertions(+), 2 deletions(-)
14
15 --- a/arch/arm/boot/dts/bcm2708_common.dtsi
16 +++ b/arch/arm/boot/dts/bcm2708_common.dtsi
17 @@ -56,10 +56,32 @@
18 <1 24>,
19 <1 25>,
20 <1 26>,
21 - <1 27>;
22 + /* dma channel 11-14 share one irq */
23 + <1 27>,
24 + <1 27>,
25 + <1 27>,
26 + <1 27>,
27 + /* unused shared irq for all channels */
28 + <1 28>;
29 + interrupt-names = "dma0",
30 + "dma1",
31 + "dma2",
32 + "dma3",
33 + "dma4",
34 + "dma5",
35 + "dma6",
36 + "dma7",
37 + "dma8",
38 + "dma9",
39 + "dma10",
40 + "dma11",
41 + "dma12",
42 + "dma13",
43 + "dma14",
44 + "dma-shared-all";
45
46 #dma-cells = <1>;
47 - brcm,dma-channel-mask = <0x0f34>;
48 + brcm,dma-channel-mask = <0x7f34>;
49 };
50
51 intc: interrupt-controller@7e00b200 {