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

From: Konrad Dybcio

Date: Thu Mar 05 2026 - 05:59:50 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: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxxxxxxxx>
Signed-off-by: Konrad Dybcio <konrad.dybcio@xxxxxxxxxxxxxxxx>
---
arch/arm64/boot/dts/qcom/sm8350.dtsi | 16 ++++++++++++++++
1 file changed, 16 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/sm8350.dtsi b/arch/arm64/boot/dts/qcom/sm8350.dtsi
index 5c8fe213f5e4..2e61ff43e8ba 100644
--- a/arch/arm64/boot/dts/qcom/sm8350.dtsi
+++ b/arch/arm64/boot/dts/qcom/sm8350.dtsi
@@ -1866,6 +1866,8 @@ ipa: ipa@1e40000 {
qcom,smem-state-names = "ipa-clock-enabled-valid",
"ipa-clock-enabled";

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

@@ -3440,6 +3442,20 @@ qup_i2c19_default: qup-i2c19-default-state {
};
};

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

--
2.53.0