Skip to content

Commit be9d54c

Browse files
laklimovandersson
authored andcommitted
arm64: dts: qcom: sm8750: add ADSP fastrpc-compute-cb nodes
Add ADSP fastrpc nodes for sm8750 SoC. Cc: Ekansh Gupta <quic_ekangupt@quicinc.com> Cc: Srinivas Kandagatla <srini@kernel.org> Signed-off-by: Alexey Klimov <alexey.klimov@linaro.org> Link: https://lore.kernel.org/r/20251209-sm8750-fastrpc-adsp-v3-2-ccfff49a8af9@linaro.org Signed-off-by: Bjorn Andersson <andersson@kernel.org>
1 parent 0bcf9ca commit be9d54c

1 file changed

Lines changed: 61 additions & 0 deletions

File tree

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

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
#include <dt-bindings/clock/qcom,sm8750-tcsr.h>
99
#include <dt-bindings/clock/qcom,sm8750-videocc.h>
1010
#include <dt-bindings/dma/qcom-gpi.h>
11+
#include <dt-bindings/firmware/qcom,scm.h>
1112
#include <dt-bindings/gpio/gpio.h>
1213
#include <dt-bindings/interconnect/qcom,icc.h>
1314
#include <dt-bindings/interconnect/qcom,sm8750-rpmh.h>
@@ -2222,6 +2223,66 @@
22222223
qcom,remote-pid = <2>;
22232224
label = "lpass";
22242225

2226+
fastrpc {
2227+
compatible = "qcom,fastrpc";
2228+
qcom,glink-channels = "fastrpcglink-apps-dsp";
2229+
label = "adsp";
2230+
memory-region = <&adsp_rpc_remote_heap_mem>;
2231+
qcom,vmids = <QCOM_SCM_VMID_LPASS
2232+
QCOM_SCM_VMID_ADSP_HEAP>;
2233+
#address-cells = <1>;
2234+
#size-cells = <0>;
2235+
2236+
compute-cb@3 {
2237+
compatible = "qcom,fastrpc-compute-cb";
2238+
reg = <3>;
2239+
iommus = <&apps_smmu 0x1003 0x80>,
2240+
<&apps_smmu 0x1043 0x20>;
2241+
dma-coherent;
2242+
};
2243+
2244+
compute-cb@4 {
2245+
compatible = "qcom,fastrpc-compute-cb";
2246+
reg = <4>;
2247+
iommus = <&apps_smmu 0x1004 0x80>,
2248+
<&apps_smmu 0x1044 0x20>;
2249+
dma-coherent;
2250+
};
2251+
2252+
compute-cb@5 {
2253+
compatible = "qcom,fastrpc-compute-cb";
2254+
reg = <5>;
2255+
iommus = <&apps_smmu 0x1005 0x80>,
2256+
<&apps_smmu 0x1045 0x20>;
2257+
dma-coherent;
2258+
};
2259+
2260+
compute-cb@6 {
2261+
compatible = "qcom,fastrpc-compute-cb";
2262+
reg = <6>;
2263+
iommus = <&apps_smmu 0x1006 0x80>,
2264+
<&apps_smmu 0x1046 0x20>;
2265+
dma-coherent;
2266+
};
2267+
2268+
compute-cb@7 {
2269+
compatible = "qcom,fastrpc-compute-cb";
2270+
reg = <7>;
2271+
iommus = <&apps_smmu 0x1007 0x40>,
2272+
<&apps_smmu 0x1067 0x0>,
2273+
<&apps_smmu 0x1087 0x0>;
2274+
dma-coherent;
2275+
};
2276+
2277+
compute-cb@8 {
2278+
compatible = "qcom,fastrpc-compute-cb";
2279+
reg = <8>;
2280+
iommus = <&apps_smmu 0x1008 0x80>,
2281+
<&apps_smmu 0x1048 0x20>;
2282+
dma-coherent;
2283+
};
2284+
};
2285+
22252286
gpr {
22262287
compatible = "qcom,gpr";
22272288
qcom,glink-channels = "adsp_apps";

0 commit comments

Comments
 (0)