OSDN Git Service

arm64: sdm845: add adsp and cdsp fastrpc nodes
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Wed, 21 Aug 2019 12:50:35 +0000 (13:50 +0100)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Wed, 21 Aug 2019 17:47:47 +0000 (10:47 -0700)
Add fastrpc compute context bank nodes to both cdsp and adsp.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
arch/arm64/boot/dts/qcom/sdm845.dtsi

index e285cbd..0bfae6c 100644 (file)
                        label = "lpass";
                        qcom,remote-pid = <2>;
                        mboxes = <&apss_shared 8>;
+                       fastrpc {
+                               compatible = "qcom,fastrpc";
+                               qcom,glink-channels = "fastrpcglink-apps-dsp";
+                               label = "adsp";
+                               #address-cells = <1>;
+                               #size-cells = <0>;
+
+                               compute-cb@3 {
+                                       compatible = "qcom,fastrpc-compute-cb";
+                                       reg = <3>;
+                                       iommus = <&apps_smmu 0x1823 0x0>;
+                               };
+
+                               compute-cb@4 {
+                                       compatible = "qcom,fastrpc-compute-cb";
+                                       reg = <4>;
+                                       iommus = <&apps_smmu 0x1824 0x0>;
+                               };
+                       };
                };
        };
 
                        label = "turing";
                        qcom,remote-pid = <5>;
                        mboxes = <&apss_shared 4>;
+                       fastrpc {
+                               compatible = "qcom,fastrpc";
+                               qcom,glink-channels = "fastrpcglink-apps-dsp";
+                               label = "cdsp";
+                               #address-cells = <1>;
+                               #size-cells = <0>;
+
+                               compute-cb@1 {
+                                       compatible = "qcom,fastrpc-compute-cb";
+                                       reg = <1>;
+                                       iommus = <&apps_smmu 0x1401 0x30>;
+                               };
+
+                               compute-cb@2 {
+                                       compatible = "qcom,fastrpc-compute-cb";
+                                       reg = <2>;
+                                       iommus = <&apps_smmu 0x1402 0x30>;
+                               };
+
+                               compute-cb@3 {
+                                       compatible = "qcom,fastrpc-compute-cb";
+                                       reg = <3>;
+                                       iommus = <&apps_smmu 0x1403 0x30>;
+                               };
+
+                               compute-cb@4 {
+                                       compatible = "qcom,fastrpc-compute-cb";
+                                       reg = <4>;
+                                       iommus = <&apps_smmu 0x1404 0x30>;
+                               };
+
+                               compute-cb@5 {
+                                       compatible = "qcom,fastrpc-compute-cb";
+                                       reg = <5>;
+                                       iommus = <&apps_smmu 0x1405 0x30>;
+                               };
+
+                               compute-cb@6 {
+                                       compatible = "qcom,fastrpc-compute-cb";
+                                       reg = <6>;
+                                       iommus = <&apps_smmu 0x1406 0x30>;
+                               };
+
+                               compute-cb@7 {
+                                       compatible = "qcom,fastrpc-compute-cb";
+                                       reg = <7>;
+                                       iommus = <&apps_smmu 0x1407 0x30>;
+                               };
+
+                               compute-cb@8 {
+                                       compatible = "qcom,fastrpc-compute-cb";
+                                       reg = <8>;
+                                       iommus = <&apps_smmu 0x1408 0x30>;
+                               };
+                       };
                };
        };