]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
arm64: dts: qcom: sdx75: Add QPIC BAM support
authorKaushal Kumar <quic_kaushalk@quicinc.com>
Tue, 15 Apr 2025 07:27:54 +0000 (12:57 +0530)
committerBjorn Andersson <andersson@kernel.org>
Mon, 19 May 2025 20:33:50 +0000 (15:33 -0500)
Add devicetree node to enable support for QPIC BAM DMA controller on
Qualcomm SDX75 platform.

Signed-off-by: Kaushal Kumar <quic_kaushalk@quicinc.com>
Link: https://lore.kernel.org/r/20250415072756.20046-4-quic_kaushalk@quicinc.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/sdx75.dtsi

index 8e63f635a3275794d8ce248b65ae2cbc1e60072c..9b89ed6d118125c2e76e4c3d222f2fe99b67703c 100644 (file)
                        qcom,bcm-voters = <&apps_bcm_voter>;
                };
 
+               qpic_bam: dma-controller@1c9c000 {
+                       compatible = "qcom,bam-v1.7.0";
+                       reg = <0x0 0x01c9c000 0x0 0x1c000>;
+                       interrupts = <GIC_SPI 135 IRQ_TYPE_LEVEL_HIGH>;
+                       clocks = <&rpmhcc RPMH_QPIC_CLK>;
+                       clock-names = "bam_clk";
+                       #dma-cells = <1>;
+                       qcom,ee = <0>;
+                       qcom,controlled-remotely;
+                       iommus = <&apps_smmu 0x100 0x3>;
+                       dma-coherent;
+                       status = "disabled";
+               };
+
                tcsr_mutex: hwlock@1f40000 {
                        compatible = "qcom,tcsr-mutex";
                        reg = <0x0 0x01f40000 0x0 0x40000>;