arm64: dts: qcom: sm8350: Add interconnects
authorVinod Koul <vkoul@kernel.org>
Thu, 1 Apr 2021 11:32:52 +0000 (17:02 +0530)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Sun, 4 Apr 2021 17:58:09 +0000 (12:58 -0500)
Add interconnect nodes and add them for modem and cdsp nodes

Signed-off-by: Vinod Koul <vkoul@kernel.org>
Link: https://lore.kernel.org/r/20210401113252.3078466-1-vkoul@kernel.org
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
arch/arm64/boot/dts/qcom/sm8350.dtsi

index 5d94458..ed0b51b 100644 (file)
                                        <GIC_SPI 707 IRQ_TYPE_LEVEL_HIGH>;
                };
 
+               config_noc: interconnect@1500000 {
+                       compatible = "qcom,sm8350-config-noc";
+                       reg = <0 0x01500000 0 0xa580>;
+                       #interconnect-cells = <1>;
+                       qcom,bcm-voters = <&apps_bcm_voter>;
+               };
+
+               mc_virt: interconnect@1580000 {
+                       compatible = "qcom,sm8350-mc-virt";
+                       reg = <0 0x01580000 0 0x1000>;
+                       #interconnect-cells = <1>;
+                       qcom,bcm-voters = <&apps_bcm_voter>;
+               };
+
+               system_noc: interconnect@1680000 {
+                       compatible = "qcom,sm8350-system-noc";
+                       reg = <0 0x01680000 0 0x1c200>;
+                       #interconnect-cells = <1>;
+                       qcom,bcm-voters = <&apps_bcm_voter>;
+               };
+
+               aggre1_noc: interconnect@16e0000 {
+                       compatible = "qcom,sm8350-aggre1-noc";
+                       reg = <0 0x016e0000 0 0x1f180>;
+                       #interconnect-cells = <1>;
+                       qcom,bcm-voters = <&apps_bcm_voter>;
+               };
+
+               aggre2_noc: interconnect@1700000 {
+                       compatible = "qcom,sm8350-aggre2-noc";
+                       reg = <0 0x01700000 0 0x33000>;
+                       #interconnect-cells = <1>;
+                       qcom,bcm-voters = <&apps_bcm_voter>;
+               };
+
+               mmss_noc: interconnect@1740000 {
+                       compatible = "qcom,sm8350-mmss-noc";
+                       reg = <0 0x01740000 0 0x1f080>;
+                       #interconnect-cells = <1>;
+                       qcom,bcm-voters = <&apps_bcm_voter>;
+               };
+
+               lpass_ag_noc: interconnect@3c40000 {
+                       compatible = "qcom,sm8350-lpass-ag-noc";
+                       reg = <0 0x03c40000 0 0xf080>;
+                       #interconnect-cells = <1>;
+                       qcom,bcm-voters = <&apps_bcm_voter>;
+               };
+
+               compute_noc: interconnect@a0c0000{
+                       compatible = "qcom,sm8350-compute-noc";
+                       reg = <0 0x0a0c0000 0 0xa180>;
+                       #interconnect-cells = <1>;
+                       qcom,bcm-voters = <&apps_bcm_voter>;
+               };
+
                tcsr_mutex: hwlock@1f40000 {
                        compatible = "qcom,tcsr-mutex";
                        reg = <0x0 0x01f40000 0x0 0x40000>;
                                        <&rpmhpd 12>;
                        power-domain-names = "load_state", "cx", "mss";
 
+                       interconnects = <&mc_virt 0 &mc_virt 1>;
+
                        memory-region = <&pil_modem_mem>;
 
                        qcom,smem-states = <&smp2p_modem_out 0>;
                                        };
                                };
                        };
+
+                       apps_bcm_voter: bcm_voter {
+                               compatible = "qcom,bcm-voter";
+                       };
                };
 
                cpufreq_hw: cpufreq@18591000 {
                                        <&rpmhpd 10>;
                        power-domain-names = "load_state", "cx", "mxc";
 
+                       interconnects = <&compute_noc 1 &mc_virt 1>;
+
                        memory-region = <&pil_cdsp_mem>;
 
                        qcom,smem-states = <&smp2p_cdsp_out 0>;
                        };
                };
 
+               dc_noc: interconnect@90e0000 {
+                       compatible = "qcom,sm8350-dc-noc";
+                       reg = <0 0x090c0000 0 0x4200>;
+                       #interconnect-cells = <1>;
+                       qcom,bcm-voters = <&apps_bcm_voter>;
+               };
+
+               gem_noc: interconnect@9100000 {
+                       compatible = "qcom,sm8350-gem-noc";
+                       reg = <0 0x09100000 0 0xb4000>;
+                       #interconnect-cells = <1>;
+                       qcom,bcm-voters = <&apps_bcm_voter>;
+               };
+
                usb_1: usb@a6f8800 {
                        compatible = "qcom,sm8350-dwc3", "qcom,dwc3";
                        reg = <0 0x0a6f8800 0 0x400>;