Skip to content

Commit 5037ca3

Browse files
lweiss-fairphoneandersson
authored andcommitted
arm64: dts: qcom: sc7280*: move MPSS and WPSS memory to dtsi
It appears that all SC7280-based devices so far have mpss_mem and wpss_mem on the same reg with the same size. Also these memory regions are referenced already in sc7280.dtsi so that's where they should also be defined. Signed-off-by: Luca Weiss <luca.weiss@fairphone.com> Link: https://lore.kernel.org/r/20231208-sc7280-remoteprocs-v3-4-6aa394d33edf@fairphone.com [bjorn: delete-node &wpss_mem in qcs6490 rb3gen2, and qcm6490 idp] Signed-off-by: Bjorn Andersson <andersson@kernel.org>
1 parent 6615713 commit 5037ca3

7 files changed

Lines changed: 13 additions & 20 deletions

File tree

arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -82,16 +82,6 @@
8282
no-map;
8383
};
8484

85-
mpss_mem: mpss@8b800000 {
86-
reg = <0x0 0x8b800000 0x0 0xf600000>;
87-
no-map;
88-
};
89-
90-
wpss_mem: wpss@9ae00000 {
91-
reg = <0x0 0x9ae00000 0x0 0x1900000>;
92-
no-map;
93-
};
94-
9585
rmtfs_mem: memory@f8500000 {
9686
compatible = "qcom,rmtfs-mem";
9787
reg = <0x0 0xf8500000 0x0 0x600000>;

arch/arm64/boot/dts/qcom/qcm6490-idp.dts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
/delete-node/ &cdsp_mem;
1818
/delete-node/ &video_mem;
1919
/delete-node/ &wlan_ce_mem;
20+
/delete-node/ &wpss_mem;
2021
/delete-node/ &xbl_mem;
2122

2223
/ {

arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
/delete-node/ &cdsp_mem;
2424
/delete-node/ &video_mem;
2525
/delete-node/ &wlan_ce_mem;
26+
/delete-node/ &wpss_mem;
2627
/delete-node/ &xbl_mem;
2728

2829
/ {

arch/arm64/boot/dts/qcom/sc7280-chrome-common.dtsi

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,6 @@
3636
reg = <0x0 0x8b200000 0x0 0x500000>;
3737
no-map;
3838
};
39-
40-
wpss_mem: memory@9ae00000 {
41-
reg = <0x0 0x9ae00000 0x0 0x1900000>;
42-
no-map;
43-
};
4439
};
4540
};
4641

arch/arm64/boot/dts/qcom/sc7280-herobrine-lte-sku.dtsi

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,6 @@
88

99
/ {
1010
reserved-memory {
11-
mpss_mem: memory@8b800000 {
12-
reg = <0x0 0x8b800000 0x0 0xf600000>;
13-
no-map;
14-
};
15-
1611
mba_mem: memory@9c700000 {
1712
reg = <0x0 0x9c700000 0x0 0x200000>;
1813
no-map;

arch/arm64/boot/dts/qcom/sc7280-herobrine-wifi-sku.dtsi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,6 @@
77

88
/* WIFI SKUs save 256M by not having modem/mba/rmtfs memory regions defined. */
99

10+
/delete-node/ &mpss_mem;
1011
/delete-node/ &remoteproc_mpss;
1112
/delete-node/ &rmtfs_mem;

arch/arm64/boot/dts/qcom/sc7280.dtsi

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,16 @@
168168
no-map;
169169
};
170170

171+
mpss_mem: mpss@8b800000 {
172+
reg = <0x0 0x8b800000 0x0 0xf600000>;
173+
no-map;
174+
};
175+
176+
wpss_mem: wpss@9ae00000 {
177+
reg = <0x0 0x9ae00000 0x0 0x1900000>;
178+
no-map;
179+
};
180+
171181
rmtfs_mem: rmtfs@9c900000 {
172182
compatible = "qcom,rmtfs-mem";
173183
reg = <0x0 0x9c900000 0x0 0x280000>;

0 commit comments

Comments
 (0)