]> git.karo-electronics.de Git - linux-beck.git/commitdiff
arm64: dts: Add ARM PL330 DMA DT node for NS2
authorAnup Patel <anup.patel@broadcom.com>
Tue, 29 Mar 2016 07:27:31 +0000 (12:57 +0530)
committerFlorian Fainelli <f.fainelli@gmail.com>
Wed, 13 Apr 2016 17:34:28 +0000 (10:34 -0700)
We have one ARM PL330 DMA instance with 8 channels in
NS2 SoC. Let's enable it for NS2 in NS2 DT.

Signed-off-by: Anup Patel <anup.patel@broadcom.com>
Reviewed-by: Ray Jui <rjui@broadcom.com>
Reviewed-by: Pramod KUMAR <pramodku@broadcom.com>
Reviewed-by: Scott Branden <sbranden@broadcom.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
arch/arm64/boot/dts/broadcom/ns2.dtsi

index 6f81c9d7fb0671ca1bf142542701182fad406faa..a9f45850b491455512f9f45889dd88c18370d455 100644 (file)
                #size-cells = <1>;
                ranges = <0 0 0 0xffffffff>;
 
+               dma0: dma@61360000 {
+                       compatible = "arm,pl330", "arm,primecell";
+                       reg = <0x61360000 0x1000>;
+                       interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>,
+                                    <GIC_SPI 209 IRQ_TYPE_LEVEL_HIGH>,
+                                    <GIC_SPI 210 IRQ_TYPE_LEVEL_HIGH>,
+                                    <GIC_SPI 211 IRQ_TYPE_LEVEL_HIGH>,
+                                    <GIC_SPI 212 IRQ_TYPE_LEVEL_HIGH>,
+                                    <GIC_SPI 213 IRQ_TYPE_LEVEL_HIGH>,
+                                    <GIC_SPI 214 IRQ_TYPE_LEVEL_HIGH>,
+                                    <GIC_SPI 215 IRQ_TYPE_LEVEL_HIGH>,
+                                    <GIC_SPI 216 IRQ_TYPE_LEVEL_HIGH>;
+                       #dma-cells = <1>;
+                       #dma-channels = <8>;
+                       #dma-requests = <32>;
+                       clocks = <&iprocslow>;
+                       clock-names = "apb_pclk";
+               };
+
                smmu: mmu@64000000 {
                        compatible = "arm,mmu-500";
                        reg = <0x64000000 0x40000>;