aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>2018-12-13 17:04:33 +0000
committerSrinivas Kandagatla <srinivas.kandagatla@linaro.org>2018-12-13 17:04:43 +0000
commit47aa5581e3baaa7166ea6afa75c8de11f20af70d (patch)
tree2ae558636c9a048dab32c9d86fe8ddc79d5d2f11
parent64daa1dc3b923633c8558d6f5fece5c9944883f8 (diff)
arm64: sdm845: add fastrpcsdm845-fastrpc
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
-rw-r--r--arch/arm64/boot/dts/qcom/sdm845.dtsi86
1 files changed, 85 insertions, 1 deletions
diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi
index d991139c57fc2..12b532512b944 100644
--- a/arch/arm64/boot/dts/qcom/sdm845.dtsi
+++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi
@@ -87,7 +87,7 @@
};
adsp_mem: memory@8b100000 {
- reg = <0 0x8b100000 0 0x1a00000>;
+ reg = <0 0x8c500000 0 0x1a00000>;
no-map;
};
@@ -261,6 +261,26 @@
label = "lpass";
qcom,remote-pid = <2>;
mboxes = <&apss_shared 8>;
+ fastrpc {
+ compatible = "qcom,fastrpc";
+ qcom,glink-channels = "fastrpcglink-apps-dsp";
+ qcom,rpc-latency-us = <611>;
+ reg = <0>;
+
+ qcom,msm_fastrpc_compute_cb11 {
+ compatible = "qcom,fastrpc-compute-cb";
+ reg = <3>;
+ iommus = <&apps_smmu 0x1823 0x0>;
+ //dma-coherent;
+ };
+ qcom,msm_fastrpc_compute_cb12 {
+ compatible = "qcom,fastrpc-compute-cb";
+ reg = <4>;
+ iommus = <&apps_smmu 0x1824 0x0>;
+ //dma-coherent;
+ };
+ };
+
};
};
@@ -290,6 +310,70 @@
label = "turing";
qcom,remote-pid = <5>;
mboxes = <&apss_shared 4>;
+
+ fastrpc {
+ compatible = "qcom,fastrpc";
+ qcom,glink-channels = "fastrpcglink-apps-dsp";
+ qcom,rpc-latency-us = <611>;
+ reg = <3>;
+ qcom,intents = <64 64>;
+
+ qcom,msm_fastrpc_compute_cb1 {
+ compatible = "qcom,fastrpc-compute-cb";
+ reg = <1>;
+ label = "cdsprpc-smd";
+ iommus = <&apps_smmu 0x1401 0x30>;
+ dma-coherent;
+ };
+ qcom,msm_fastrpc_compute_cb2 {
+ compatible = "qcom,fastrpc-compute-cb";
+ reg = <2>;
+ label = "cdsprpc-smd";
+ iommus = <&apps_smmu 0x1402 0x30>;
+ dma-coherent;
+ };
+ qcom,msm_fastrpc_compute_cb3 {
+ compatible = "qcom,fastrpc-compute-cb";
+ reg = <3>;
+ label = "cdsprpc-smd";
+ iommus = <&apps_smmu 0x1403 0x30>;
+ dma-coherent;
+ };
+ qcom,msm_fastrpc_compute_cb4 {
+ compatible = "qcom,fastrpc-compute-cb";
+ reg = <4>;
+ label = "cdsprpc-smd";
+ iommus = <&apps_smmu 0x1404 0x30>;
+ dma-coherent;
+ };
+ qcom,msm_fastrpc_compute_cb5 {
+ compatible = "qcom,fastrpc-compute-cb";
+ reg = <5>;
+ label = "cdsprpc-smd";
+ iommus = <&apps_smmu 0x1405 0x30>;
+ dma-coherent;
+ };
+ qcom,msm_fastrpc_compute_cb6 {
+ compatible = "qcom,fastrpc-compute-cb";
+ reg = <6>;
+ label = "cdsprpc-smd";
+ iommus = <&apps_smmu 0x1406 0x30>;
+ dma-coherent;
+ };
+ qcom,msm_fastrpc_compute_cb7 {
+ compatible = "qcom,fastrpc-compute-cb";
+ reg = <7>;
+ label = "cdsprpc-smd";
+ iommus = <&apps_smmu 0x1407 0x30>;
+ dma-coherent;
+ };
+ qcom,msm_fastrpc_compute_cb8 {
+ compatible = "qcom,fastrpc-compute-cb";
+ label = "cdsprpc-smd";
+ iommus = <&apps_smmu 0x1408 0x30>;
+ dma-coherent;
+ };
+ };
};
};