Skip to content

Commit 6b47ce0

Browse files
z3ntuandersson
authored andcommitted
ARM: dts: qcom: msm8226: Add BAM DMUX Ethernet/IP device
BAM DMUX is used as the network interface to the modem. Reviewed-by: Stephan Gerhold <[email protected]> Signed-off-by: Luca Weiss <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Bjorn Andersson <[email protected]>
1 parent 0755553 commit 6b47ce0

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

arch/arm/boot/dts/qcom/qcom-msm8226.dtsi

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -916,6 +916,18 @@
916916
#interrupt-cells = <4>;
917917
};
918918

919+
bam_dmux_dma: dma-controller@fc834000 {
920+
compatible = "qcom,bam-v1.4.0";
921+
reg = <0xfc834000 0x7000>;
922+
interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>;
923+
#dma-cells = <1>;
924+
qcom,ee = <0>;
925+
926+
num-channels = <6>;
927+
qcom,num-ees = <1>;
928+
qcom,powered-remotely;
929+
};
930+
919931
modem: remoteproc@fc880000 {
920932
compatible = "qcom,msm8226-mss-pil";
921933
reg = <0xfc880000 0x4040>,
@@ -959,6 +971,20 @@
959971

960972
status = "disabled";
961973

974+
bam_dmux: bam-dmux {
975+
compatible = "qcom,bam-dmux";
976+
977+
interrupt-parent = <&modem_smsm>;
978+
interrupts = <1 IRQ_TYPE_EDGE_BOTH>, <11 IRQ_TYPE_EDGE_BOTH>;
979+
interrupt-names = "pc", "pc-ack";
980+
981+
qcom,smem-states = <&apps_smsm 1>, <&apps_smsm 11>;
982+
qcom,smem-state-names = "pc", "pc-ack";
983+
984+
dmas = <&bam_dmux_dma 4>, <&bam_dmux_dma 5>;
985+
dma-names = "tx", "rx";
986+
};
987+
962988
smd-edge {
963989
interrupts = <GIC_SPI 25 IRQ_TYPE_EDGE_RISING>;
964990

0 commit comments

Comments
 (0)