Add the device tree nodes for APM X-Gene PCIe DMA engine.
Since X-Gene SOC supports maximum 5 PCIe ports, 5 dts nodes
are added.

Signed-off-by: Mayuresh Chitale <[email protected]>
Signed-off-by: Tanmay Inamdar <[email protected]>
---
 arch/arm64/boot/dts/apm/apm-storm.dtsi | 40 ++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)

diff --git a/arch/arm64/boot/dts/apm/apm-storm.dtsi 
b/arch/arm64/boot/dts/apm/apm-storm.dtsi
index f1ad9c2..2993d1e 100644
--- a/arch/arm64/boot/dts/apm/apm-storm.dtsi
+++ b/arch/arm64/boot/dts/apm/apm-storm.dtsi
@@ -469,6 +469,46 @@
                        clocks = <&pcie4clk 0>;
                };
 
+               xpdma0: dma0@1f2b0154 {
+                       status = "disabled";
+                       compatible = "apm,xgene-pciedma";
+                       reg = < 0x0 0x1f2b0154 0x0 0xc
+                               0x0 0x1f2b0058 0x0 0x8>;
+                       interrupts = <0x0 0xc6 0x4>;
+               };
+
+               xpdma1: dma1@1f2c0154 {
+                       status = "disabled";
+                       compatible = "apm,xgene-pciedma";
+                       reg = < 0x0 0x1f2c0154 0x0 0xc
+                               0x0 0x1f2c0058 0x0 0x8>;
+                       interrupts = <0x0 0xcc 0x4>;
+               };
+
+               xpdma2: dma2@1f2d0154 {
+                       status = "disabled";
+                       compatible = "apm,xgene-pciedma";
+                       reg = < 0x0 0x1f2d0154 0x0 0xc
+                               0x0 0x1f2d0058 0x0 0x8>;
+                       interrupts = <0x0 0xd2 0x4>;
+               };
+
+               xpdma3: dma3@1f500154 {
+                       status = "disabled";
+                       compatible = "apm,xgene-pciedma";
+                       reg = < 0x0 0x1f500154 0x0 0xc
+                               0x0 0x1f500058 0x0 0x8>;
+                       interrupts = <0x0 0xd8 0x4>;
+               };
+
+               xpdma4: dma4@1f510154 {
+                       status = "disabled";
+                       compatible = "apm,xgene-pciedma";
+                       reg = < 0x0 0x1f510154 0x0 0xc
+                               0x0 0x1f510058 0x0 0x8>;
+                       interrupts = <0x0 0xde 0x4>;
+               };
+
                serial0: serial@1c020000 {
                        status = "disabled";
                        device_type = "serial";
-- 
2.2.1.212.gc5b9256

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to