157-ARM-DT-ipq8064-Add-ADM-device-node.patch 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  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. This patch adds support for the ADM DMA on the IPQ8064 SOC
  6. Signed-off-by: Andy Gross <agross@codeaurora.org>
  7. ---
  8. arch/arm/boot/dts/qcom-ipq8064-ap148.dts | 4 ++++
  9. arch/arm/boot/dts/qcom-ipq8064.dtsi | 21 +++++++++++++++++++++
  10. 2 files changed, 25 insertions(+)
  11. --- a/arch/arm/boot/dts/qcom-ipq8064.dtsi
  12. +++ b/arch/arm/boot/dts/qcom-ipq8064.dtsi
  13. @@ -705,6 +705,26 @@
  14. };
  15. };
  16. + adm_dma: dma@18300000 {
  17. + compatible = "qcom,adm";
  18. + reg = <0x18300000 0x100000>;
  19. + interrupts = <0 170 0>;
  20. + #dma-cells = <1>;
  21. +
  22. + clocks = <&gcc ADM0_CLK>, <&gcc ADM0_PBUS_CLK>;
  23. + clock-names = "core", "iface";
  24. +
  25. + resets = <&gcc ADM0_RESET>,
  26. + <&gcc ADM0_PBUS_RESET>,
  27. + <&gcc ADM0_C0_RESET>,
  28. + <&gcc ADM0_C1_RESET>,
  29. + <&gcc ADM0_C2_RESET>;
  30. + reset-names = "clk", "pbus", "c0", "c1", "c2";
  31. + qcom,ee = <0>;
  32. +
  33. + status = "disabled";
  34. + };
  35. +
  36. };
  37. sfpb_mutex: sfpb-mutex {