Skip to content

Commit

Permalink
arm64: dts: qcom: msm8916: Add BAM-DMUX WWAN (v2)
Browse files Browse the repository at this point in the history
BAM DMUX is used as the network interface to the modem.

v2: Move bam-dmux below the modem remoteproc

Signed-off-by: Stephan Gerhold <[email protected]>
  • Loading branch information
stephan-gh committed Nov 12, 2021
1 parent ee302a3 commit 2554c95
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions arch/arm64/boot/dts/qcom/msm8916.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -1315,6 +1315,20 @@
#interrupt-cells = <4>;
};

bam_dmux_dma: dma-controller@4044000 {
compatible = "qcom,bam-v1.7.0";
reg = <0x04044000 0x19000>;
interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>;
#dma-cells = <1>;
qcom,ee = <0>;

num-channels = <6>;
qcom,num-ees = <1>;
qcom,powered-remotely;

status = "disabled";
};

mpss: remoteproc@4080000 {
compatible = "qcom,msm8916-mss-pil", "qcom,q6v5-pil";
reg = <0x04080000 0x100>,
Expand Down Expand Up @@ -1358,6 +1372,22 @@
memory-region = <&mpss_mem>;
};

bam_dmux: bam-dmux {
compatible = "qcom,bam-dmux";

interrupt-parent = <&hexagon_smsm>;
interrupts = <1 IRQ_TYPE_EDGE_BOTH>, <11 IRQ_TYPE_EDGE_BOTH>;
interrupt-names = "pc", "pc-ack";

qcom,smem-states = <&apps_smsm 1>, <&apps_smsm 11>;
qcom,smem-state-names = "pc", "pc-ack";

dmas = <&bam_dmux_dma 4>, <&bam_dmux_dma 5>;
dma-names = "tx", "rx";

status = "disabled";
};

smd-edge {
interrupts = <GIC_SPI 25 IRQ_TYPE_EDGE_RISING>;

Expand Down

0 comments on commit 2554c95

Please sign in to comment.