aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm64
diff options
context:
space:
mode:
authorRameshwar Prasad Sahu <rsahu@apm.com>2015-03-18 09:47:35 -0400
committerVinod Koul <vinod.koul@intel.com>2015-04-02 04:34:48 -0400
commit74e353e1530044ac0dac82d64012850358e60248 (patch)
tree1fbbf59bf8bf6425b9c6209a112239ed162e9a46 /arch/arm64
parent9f2fd0dfa594d857fbdaeda523ff7a46f16567f5 (diff)
arm64: dts: Add APM X-Gene SoC DMA device and DMA clock DTS nodes
This patch adds the device tree node for APM X-Gene SoC DMA controller and DMA clock. Signed-off-by: Rameshwar Prasad Sahu <rsahu@apm.com> Signed-off-by: Loc Ho <lho@apm.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'arch/arm64')
-rw-r--r--arch/arm64/boot/dts/apm/apm-storm.dtsi26
1 files changed, 26 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/apm/apm-storm.dtsi b/arch/arm64/boot/dts/apm/apm-storm.dtsi
index f1ad9c2ab2e9..947177004039 100644
--- a/arch/arm64/boot/dts/apm/apm-storm.dtsi
+++ b/arch/arm64/boot/dts/apm/apm-storm.dtsi
@@ -102,6 +102,7 @@
102 #address-cells = <2>; 102 #address-cells = <2>;
103 #size-cells = <2>; 103 #size-cells = <2>;
104 ranges; 104 ranges;
105 dma-ranges = <0x0 0x0 0x0 0x0 0x400 0x0>;
105 106
106 clocks { 107 clocks {
107 #address-cells = <2>; 108 #address-cells = <2>;
@@ -352,6 +353,15 @@
352 reg-names = "csr-reg"; 353 reg-names = "csr-reg";
353 clock-output-names = "pcie4clk"; 354 clock-output-names = "pcie4clk";
354 }; 355 };
356
357 dmaclk: dmaclk@1f27c000 {
358 compatible = "apm,xgene-device-clock";
359 #clock-cells = <1>;
360 clocks = <&socplldiv2 0>;
361 reg = <0x0 0x1f27c000 0x0 0x1000>;
362 reg-names = "csr-reg";
363 clock-output-names = "dmaclk";
364 };
355 }; 365 };
356 366
357 pcie0: pcie@1f2b0000 { 367 pcie0: pcie@1f2b0000 {
@@ -656,5 +666,21 @@
656 interrupts = <0x0 0x41 0x4>; 666 interrupts = <0x0 0x41 0x4>;
657 clocks = <&rngpkaclk 0>; 667 clocks = <&rngpkaclk 0>;
658 }; 668 };
669
670 dma: dma@1f270000 {
671 compatible = "apm,xgene-storm-dma";
672 device_type = "dma";
673 reg = <0x0 0x1f270000 0x0 0x10000>,
674 <0x0 0x1f200000 0x0 0x10000>,
675 <0x0 0x1b008000 0x0 0x2000>,
676 <0x0 0x1054a000 0x0 0x100>;
677 interrupts = <0x0 0x82 0x4>,
678 <0x0 0xb8 0x4>,
679 <0x0 0xb9 0x4>,
680 <0x0 0xba 0x4>,
681 <0x0 0xbb 0x4>;
682 dma-coherent;
683 clocks = <&dmaclk 0>;
684 };
659 }; 685 };
660}; 686};