ipq806x: disable dma for spi on linux 4.1 as well
[openwrt.git] / target / linux / ipq806x / patches-4.1 / 157-ARM-DT-ipq8064-Add-ADM-device-node.patch
1 From 1fb18acab2d71e7e4efd9c10492edb1baf84dcc0 Mon Sep 17 00:00:00 2001
2 From: Andy Gross <agross@codeaurora.org>
3 Date: Wed, 20 May 2015 15:41:07 +0530
4 Subject: [PATCH] ARM: DT: ipq8064: Add ADM device node
5
6 This patch adds support for the ADM DMA on the IPQ8064 SOC
7
8 Signed-off-by: Andy Gross <agross@codeaurora.org>
9 ---
10  arch/arm/boot/dts/qcom-ipq8064-ap148.dts |  4 ++++
11  arch/arm/boot/dts/qcom-ipq8064.dtsi      | 21 +++++++++++++++++++++
12  2 files changed, 25 insertions(+)
13
14 --- a/arch/arm/boot/dts/qcom-ipq8064.dtsi
15 +++ b/arch/arm/boot/dts/qcom-ipq8064.dtsi
16 @@ -595,5 +595,25 @@
17  
18                         status = "disabled";
19                 };
20 +
21 +               adm_dma: dma@18300000 {
22 +                       compatible = "qcom,adm";
23 +                       reg = <0x18300000 0x100000>;
24 +                       interrupts = <0 170 0>;
25 +                       #dma-cells = <1>;
26 +
27 +                       clocks = <&gcc ADM0_CLK>, <&gcc ADM0_PBUS_CLK>;
28 +                       clock-names = "core", "iface";
29 +
30 +                       resets = <&gcc ADM0_RESET>,
31 +                                <&gcc ADM0_PBUS_RESET>,
32 +                                <&gcc ADM0_C0_RESET>,
33 +                                <&gcc ADM0_C1_RESET>,
34 +                                <&gcc ADM0_C2_RESET>;
35 +                       reset-names = "clk", "pbus", "c0", "c1", "c2";
36 +                       qcom,ee = <0>;
37 +
38 +                       status = "disabled";
39 +               };
40         };
41  };