Skip to content

Commit b20bb72

Browse files
Dzmitry Sankouskiandersson
authored andcommitted
arm64: dts: qcom: sdm845-starqltechn: add modem support
Add support for modem and ipa(IP Accelerator). Add spss reserved memory node. Reviewed-by: Konrad Dybcio <[email protected]> Signed-off-by: Dzmitry Sankouski <[email protected]> Link: https://lore.kernel.org/r/20250225-starqltechn_integration_upstream-v9-12-a5d80375cb66@gmail.com Signed-off-by: Bjorn Andersson <[email protected]>
1 parent 70005c1 commit b20bb72

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed

arch/arm64/boot/dts/qcom/sdm845-samsung-starqltechn.dts

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919
#include "pm8998.dtsi"
2020
#include "sdm845-wcd9340.dtsi"
2121

22+
/delete-node/ &rmtfs_mem;
23+
/delete-node/ &spss_mem;
2224
/delete-node/ &adsp_mem;
2325
/delete-node/ &slpi_mem;
2426

@@ -106,15 +108,39 @@
106108
pmsg-size = <0x40000>;
107109
};
108110

111+
/*
112+
* It seems like reserving the old rmtfs_mem region is also needed to prevent
113+
* random crashes which are most likely modem related, more testing needed.
114+
*/
115+
removed_region: removed-region@88f00000 {
116+
reg = <0 0x88f00000 0 0x1c00000>;
117+
no-map;
118+
};
119+
109120
slpi_mem: slpi@96700000 {
110121
reg = <0 0x96700000 0 0xf00000>;
111122
no-map;
112123
};
113124

125+
spss_mem: spss@97700000 {
126+
reg = <0 0x97700000 0 0x100000>;
127+
no-map;
128+
};
129+
114130
adsp_mem: memory@97800000 {
115131
reg = <0 0x97800000 0 0x2000000>;
116132
no-map;
117133
};
134+
135+
rmtfs_mem: rmtfs-mem@fde00000 {
136+
compatible = "qcom,rmtfs-mem";
137+
reg = <0 0xfde00000 0 0x202000>;
138+
qcom,use-guard-pages;
139+
no-map;
140+
141+
qcom,client-id = <1>;
142+
qcom,vmid = <QCOM_SCM_VMID_MSS_MSA>;
143+
};
118144
};
119145

120146
i2c21 {
@@ -864,6 +890,19 @@
864890
qcom,micbias4-microvolt = <1800000>;
865891
};
866892

893+
&mss_pil {
894+
firmware-name = "qcom/sdm845/starqltechn/mba.mbn",
895+
"qcom/sdm845/starqltechn/modem.mbn";
896+
status = "okay";
897+
};
898+
899+
&ipa {
900+
qcom,gsi-loader = "self";
901+
memory-region = <&ipa_fw_mem>;
902+
firmware-name = "qcom/sdm845/starqltechn/ipa_fws.mbn";
903+
status = "okay";
904+
};
905+
867906
&usb_1 {
868907
status = "okay";
869908
};

0 commit comments

Comments
 (0)