arm64: dts: qcom: msm8998: Add blsp1 BAM
authorJeffrey Hugo <jeffrey.l.hugo@gmail.com>
Thu, 17 Oct 2019 22:18:40 +0000 (15:18 -0700)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Fri, 18 Oct 2019 16:58:51 +0000 (09:58 -0700)
The BAM in the blsp1 block can be used as a DMA engine to offload work
when managing any of the peripherals in the blsp.

Signed-off-by: Jeffrey Hugo <jeffrey.l.hugo@gmail.com>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
arch/arm64/boot/dts/qcom/msm8998.dtsi

index c6f81431983eea7480f450658630e90a084a82ba..5a524116cab4dabf33c6788e149466093cebb896 100644 (file)
                        status = "disabled";
                };
 
+               blsp1_dma: dma@c144000 {
+                       compatible = "qcom,bam-v1.7.0";
+                       reg = <0x0c144000 0x25000>;
+                       interrupts = <GIC_SPI 238 IRQ_TYPE_LEVEL_HIGH>;
+                       clocks = <&gcc GCC_BLSP1_AHB_CLK>;
+                       clock-names = "bam_clk";
+                       #dma-cells = <1>;
+                       qcom,ee = <0>;
+                       qcom,controlled-remotely;
+                       num-channels = <18>;
+                       qcom,num-ees = <4>;
+               };
+
                blsp1_i2c1: i2c@c175000 {
                        compatible = "qcom,i2c-qup-v2.2.1";
                        reg = <0x0c175000 0x600>;