arm64: dts: stratix10: Add PL330 DMAC to Stratix10 dts
authorGraham Moore <graham.moore@linux.intel.com>
Tue, 20 Feb 2018 15:38:47 +0000 (09:38 -0600)
committerDinh Nguyen <dinguyen@kernel.org>
Mon, 16 Apr 2018 20:58:58 +0000 (15:58 -0500)
The Stratix10 SoCFPGA uses the PL330 DMAC.  This patch adds the PL330
DMAC to the Stratix10 device tree.

Signed-off-by: Graham Moore <graham.moore@linux.intel.com>
Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi

index 21d906e164fa608f38e569daddd0abac3f5403cc..0b28f1fbe4860ee5252eb7e05039c7b0794e89f0 100644 (file)
                        reg = <0xffe00000 0x100000>;
                };
 
+               pdma: pdma@ffda0000 {
+                       compatible = "arm,pl330", "arm,primecell";
+                       reg = <0xffda0000 0x1000>;
+                       interrupts = <0 81 4>,
+                                    <0 82 4>,
+                                    <0 83 4>,
+                                    <0 84 4>,
+                                    <0 85 4>,
+                                    <0 86 4>,
+                                    <0 87 4>,
+                                    <0 88 4>,
+                                    <0 89 4>;
+                       #dma-cells = <1>;
+                       #dma-channels = <8>;
+                       #dma-requests = <32>;
+                       clocks = <&clkmgr STRATIX10_L4_MAIN_CLK>;
+                       clock-names = "apb_pclk";
+               };
+
                rst: rstmgr@ffd11000 {
                        #reset-cells = <1>;
                        compatible = "altr,rst-mgr";