Skip to content

Commit 9cc5ae1

Browse files
Alex Elderdavem330
authored andcommitted
arm64: dts: sdm845: add IPA information
Add IPA-related nodes and definitions to "sdm845.dtsi". Signed-off-by: Alex Elder <elder@linaro.org> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent aa30274 commit 9cc5ae1

1 file changed

Lines changed: 51 additions & 0 deletions

File tree

‎arch/arm64/boot/dts/qcom/sdm845.dtsi‎

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -675,6 +675,17 @@
675675
interrupt-controller;
676676
#interrupt-cells = <2>;
677677
};
678+
679+
ipa_smp2p_out: ipa-ap-to-modem {
680+
qcom,entry-name = "ipa";
681+
#qcom,smem-state-cells = <1>;
682+
};
683+
684+
ipa_smp2p_in: ipa-modem-to-ap {
685+
qcom,entry-name = "ipa";
686+
interrupt-controller;
687+
#interrupt-cells = <2>;
688+
};
678689
};
679690

680691
smp2p-slpi {
@@ -1435,6 +1446,46 @@
14351446
};
14361447
};
14371448

1449+
ipa@1e40000 {
1450+
compatible = "qcom,sdm845-ipa";
1451+
1452+
modem-init;
1453+
modem-remoteproc = <&mss_pil>;
1454+
1455+
reg = <0 0x1e40000 0 0x7000>,
1456+
<0 0x1e47000 0 0x2000>,
1457+
<0 0x1e04000 0 0x2c000>;
1458+
reg-names = "ipa-reg",
1459+
"ipa-shared",
1460+
"gsi";
1461+
1462+
interrupts-extended =
1463+
<&intc 0 311 IRQ_TYPE_EDGE_RISING>,
1464+
<&intc 0 432 IRQ_TYPE_LEVEL_HIGH>,
1465+
<&ipa_smp2p_in 0 IRQ_TYPE_EDGE_RISING>,
1466+
<&ipa_smp2p_in 1 IRQ_TYPE_EDGE_RISING>;
1467+
interrupt-names = "ipa",
1468+
"gsi",
1469+
"ipa-clock-query",
1470+
"ipa-setup-ready";
1471+
1472+
clocks = <&rpmhcc RPMH_IPA_CLK>;
1473+
clock-names = "core";
1474+
1475+
interconnects =
1476+
<&rsc_hlos MASTER_IPA &rsc_hlos SLAVE_EBI1>,
1477+
<&rsc_hlos MASTER_IPA &rsc_hlos SLAVE_IMEM>,
1478+
<&rsc_hlos MASTER_APPSS_PROC &rsc_hlos SLAVE_IPA_CFG>;
1479+
interconnect-names = "memory",
1480+
"imem",
1481+
"config";
1482+
1483+
qcom,smem-states = <&ipa_smp2p_out 0>,
1484+
<&ipa_smp2p_out 1>;
1485+
qcom,smem-state-names = "ipa-clock-enabled-valid",
1486+
"ipa-clock-enabled";
1487+
};
1488+
14381489
tcsr_mutex_regs: syscon@1f40000 {
14391490
compatible = "syscon";
14401491
reg = <0 0x01f40000 0 0x40000>;

0 commit comments

Comments
 (0)