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

From: Konrad Dybcio

Date: Thu Mar 05 2026 - 05:59:02 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/sm6350.dtsi | 16 ++++++++++++++++
1 file changed, 16 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/sm6350.dtsi b/arch/arm64/boot/dts/qcom/sm6350.dtsi
index 9f9b9f9af0da..bbd879b284af 100644
--- a/arch/arm64/boot/dts/qcom/sm6350.dtsi
+++ b/arch/arm64/boot/dts/qcom/sm6350.dtsi
@@ -1307,6 +1307,8 @@ ipa: ipa@1e40000 {
qcom,smem-state-names = "ipa-clock-enabled-valid",
"ipa-clock-enabled";

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

@@ -2731,6 +2733,20 @@ qup_uart1_tx: qup-uart1-tx-default-state {
};
};

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

--
2.53.0