The reg value of a compute-cb node must match the SID (the lower
nibble of its IOMMU stream ID) it is associated with. In the cdsp
fastrpc node, compute-cb@10, compute-cb@11 and compute-cb@12 were
mistakenly given reg values of 10, 11 and 12 instead of 12, 13 and
14, which don't match their SIDs and leads to SMMU translation errors.
Fix the reg values, and rename the nodes accordingly.
Fixes: cd1d174c75f7 ("arm64: dts: qcom: glymur: Add ADSP and CDSP for Glymur
SoC")
Co-developed-by: Mahima Bhattaram <[email protected]>
Signed-off-by: Mahima Bhattaram <[email protected]>
Reviewed-by: Pankaj Patil <[email protected]>
Reviewed-by: Abel Vesa <[email protected]>
Reviewed-by: Mukesh Ojha <[email protected]>
Signed-off-by: Ekansh Gupta <[email protected]>
---
arch/arm64/boot/dts/qcom/glymur.dtsi | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/arch/arm64/boot/dts/qcom/glymur.dtsi
b/arch/arm64/boot/dts/qcom/glymur.dtsi
index de7c395d9c35..3219603372ce 100644
--- a/arch/arm64/boot/dts/qcom/glymur.dtsi
+++ b/arch/arm64/boot/dts/qcom/glymur.dtsi
@@ -8471,9 +8471,9 @@ compute-cb@8 {
/* note: compute-cb@9 is secure */
- compute-cb@10 {
+ compute-cb@c {
compatible =
"qcom,fastrpc-compute-cb";
- reg = <10>;
+ reg = <12>;
iommus = <&apps_smmu 0x240c
0x440>,
<&apps_smmu 0x196c
0x0>,
@@ -8481,9 +8481,9 @@ compute-cb@10 {
dma-coherent;
};
- compute-cb@11 {
+ compute-cb@d {
compatible =
"qcom,fastrpc-compute-cb";
- reg = <11>;
+ reg = <13>;
iommus = <&apps_smmu 0x240d
0x440>,
<&apps_smmu 0x196d
0x0>,
@@ -8491,9 +8491,9 @@ compute-cb@11 {
dma-coherent;
};
- compute-cb@12 {
+ compute-cb@e {
compatible =
"qcom,fastrpc-compute-cb";
- reg = <12>;
+ reg = <14>;
iommus = <&apps_smmu 0x240e
0x440>,
<&apps_smmu 0x196e
0x0>,
--
2.34.1