[PATCH v2 7/7] arm64: dts: qcom: sm8650: Explicitly describe the IPA IMEM slice

From: Konrad Dybcio

Date: Thu Mar 05 2026 - 06:00:56 EST


From: Konrad Dybcio <konrad.dybcio@xxxxxxxxxxxxxxxx>

As part of stepping away from crazy hardcoding in the driver, move
define the slice explicitly and pass it to the IPA node.

Reviewed-by: Neil Armstrong <neil.armstrong@xxxxxxxxxx>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxxxxxxxx>
Signed-off-by: Konrad Dybcio <konrad.dybcio@xxxxxxxxxxxxxxxx>
---
arch/arm64/boot/dts/qcom/sm8650.dtsi | 16 ++++++++++++++++
1 file changed, 16 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/sm8650.dtsi b/arch/arm64/boot/dts/qcom/sm8650.dtsi
index 357e43b90740..63f9ca1f9be0 100644
--- a/arch/arm64/boot/dts/qcom/sm8650.dtsi
+++ b/arch/arm64/boot/dts/qcom/sm8650.dtsi
@@ -4393,6 +4393,8 @@ &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>,
qcom,smem-state-names = "ipa-clock-enabled-valid",
"ipa-clock-enabled";

+ sram = <&ipa_modem_tables>;
+
status = "disabled";
};

@@ -7078,6 +7080,20 @@ funnel_apss_out_funnel_in1: endpoint {
};
};

+ sram@14680000 {
+ compatible = "qcom,sm8650-imem", "syscon", "simple-mfd";
+ reg = <0 0x14680000 0 0x2c000>;
+
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ ranges = <0 0 0x14680000 0x2c000>;
+
+ ipa_modem_tables: modem-tables@8000 {
+ reg = <0x8000 0x2000>;
+ };
+ };
+
apps_smmu: iommu@15000000 {
compatible = "qcom,sm8650-smmu-500", "qcom,smmu-500", "arm,mmu-500";
reg = <0 0x15000000 0 0x100000>;

--
2.53.0