]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: qcom: sa8775p: Add reg and clocks for QoS configuration
authorOdelu Kukatla <odelu.kukatla@oss.qualcomm.com>
Wed, 1 Oct 2025 07:33:44 +0000 (13:03 +0530)
committerBjorn Andersson <andersson@kernel.org>
Tue, 13 Jan 2026 15:14:34 +0000 (09:14 -0600)
Add register addresses and clocks which need to be enabled for
configuring QoS on sa8775p SoC.

Signed-off-by: Odelu Kukatla <odelu.kukatla@oss.qualcomm.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20251001073344.6599-4-odelu.kukatla@oss.qualcomm.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/lemans.dtsi

index 7c46f493300cc45d08c1b338380bf30b0b4b5684..6788e4d5b41368a1ad0bce9e5a8969673038286b 100644 (file)
                };
        };
 
-       aggre1_noc: interconnect-aggre1-noc {
-               compatible = "qcom,sa8775p-aggre1-noc";
-               #interconnect-cells = <2>;
-               qcom,bcm-voters = <&apps_bcm_voter>;
-       };
-
-       aggre2_noc: interconnect-aggre2-noc {
-               compatible = "qcom,sa8775p-aggre2-noc";
-               #interconnect-cells = <2>;
-               qcom,bcm-voters = <&apps_bcm_voter>;
-       };
-
        clk_virt: interconnect-clk-virt {
                compatible = "qcom,sa8775p-clk-virt";
                #interconnect-cells = <2>;
                qcom,bcm-voters = <&apps_bcm_voter>;
        };
 
-       config_noc: interconnect-config-noc {
-               compatible = "qcom,sa8775p-config-noc";
-               #interconnect-cells = <2>;
-               qcom,bcm-voters = <&apps_bcm_voter>;
-       };
-
-       dc_noc: interconnect-dc-noc {
-               compatible = "qcom,sa8775p-dc-noc";
-               #interconnect-cells = <2>;
-               qcom,bcm-voters = <&apps_bcm_voter>;
-       };
-
-       gem_noc: interconnect-gem-noc {
-               compatible = "qcom,sa8775p-gem-noc";
-               #interconnect-cells = <2>;
-               qcom,bcm-voters = <&apps_bcm_voter>;
-       };
-
-       gpdsp_anoc: interconnect-gpdsp-anoc {
-               compatible = "qcom,sa8775p-gpdsp-anoc";
-               #interconnect-cells = <2>;
-               qcom,bcm-voters = <&apps_bcm_voter>;
-       };
-
-       lpass_ag_noc: interconnect-lpass-ag-noc {
-               compatible = "qcom,sa8775p-lpass-ag-noc";
-               #interconnect-cells = <2>;
-               qcom,bcm-voters = <&apps_bcm_voter>;
-       };
-
        mc_virt: interconnect-mc-virt {
                compatible = "qcom,sa8775p-mc-virt";
                #interconnect-cells = <2>;
                qcom,bcm-voters = <&apps_bcm_voter>;
        };
 
-       mmss_noc: interconnect-mmss-noc {
-               compatible = "qcom,sa8775p-mmss-noc";
-               #interconnect-cells = <2>;
-               qcom,bcm-voters = <&apps_bcm_voter>;
-       };
-
-       nspa_noc: interconnect-nspa-noc {
-               compatible = "qcom,sa8775p-nspa-noc";
-               #interconnect-cells = <2>;
-               qcom,bcm-voters = <&apps_bcm_voter>;
-       };
-
-       nspb_noc: interconnect-nspb-noc {
-               compatible = "qcom,sa8775p-nspb-noc";
-               #interconnect-cells = <2>;
-               qcom,bcm-voters = <&apps_bcm_voter>;
-       };
-
-       pcie_anoc: interconnect-pcie-anoc {
-               compatible = "qcom,sa8775p-pcie-anoc";
-               #interconnect-cells = <2>;
-               qcom,bcm-voters = <&apps_bcm_voter>;
-       };
-
-       system_noc: interconnect-system-noc {
-               compatible = "qcom,sa8775p-system-noc";
-               #interconnect-cells = <2>;
-               qcom,bcm-voters = <&apps_bcm_voter>;
-       };
-
        /* Will be updated by the bootloader. */
        memory@80000000 {
                device_type = "memory";
                        reg = <0 0x010d2000 0 0x1000>;
                };
 
+               config_noc: interconnect@14c0000 {
+                       compatible = "qcom,sa8775p-config-noc";
+                       reg = <0x0 0x014c0000 0x0 0x13080>;
+                       #interconnect-cells = <2>;
+                       qcom,bcm-voters = <&apps_bcm_voter>;
+               };
+
+               system_noc: interconnect@1680000 {
+                       compatible = "qcom,sa8775p-system-noc";
+                       reg = <0x0 0x01680000 0x0 0x15080>;
+                       #interconnect-cells = <2>;
+                       qcom,bcm-voters = <&apps_bcm_voter>;
+               };
+
+               aggre1_noc: interconnect@16c0000 {
+                       compatible = "qcom,sa8775p-aggre1-noc";
+                       reg = <0x0 0x016c0000 0x0 0x18080>;
+                       #interconnect-cells = <2>;
+                       qcom,bcm-voters = <&apps_bcm_voter>;
+                       clocks = <&gcc GCC_AGGRE_UFS_PHY_AXI_CLK>,
+                                <&gcc GCC_AGGRE_NOC_QUPV3_AXI_CLK>,
+                                <&gcc GCC_AGGRE_USB2_PRIM_AXI_CLK>,
+                                <&gcc GCC_AGGRE_USB3_PRIM_AXI_CLK>,
+                                <&gcc GCC_AGGRE_USB3_SEC_AXI_CLK>;
+               };
+
+               aggre2_noc: interconnect@1700000 {
+                       compatible = "qcom,sa8775p-aggre2-noc";
+                       reg = <0x0 0x01700000 0x0 0x1b080>;
+                       #interconnect-cells = <2>;
+                       qcom,bcm-voters = <&apps_bcm_voter>;
+                       clocks = <&gcc GCC_AGGRE_UFS_CARD_AXI_CLK>,
+                                <&rpmhcc RPMH_IPA_CLK>;
+               };
+
+               pcie_anoc: interconnect@1760000 {
+                       compatible = "qcom,sa8775p-pcie-anoc";
+                       reg = <0x0 0x01760000 0x0 0xc080>;
+                       #interconnect-cells = <2>;
+                       qcom,bcm-voters = <&apps_bcm_voter>;
+               };
+
+               gpdsp_anoc: interconnect@1780000 {
+                       compatible = "qcom,sa8775p-gpdsp-anoc";
+                       reg = <0x0 0x01780000 0x0 0xe080>;
+                       #interconnect-cells = <2>;
+                       qcom,bcm-voters = <&apps_bcm_voter>;
+               };
+
+               mmss_noc: interconnect@17a0000 {
+                       compatible = "qcom,sa8775p-mmss-noc";
+                       reg = <0x0 0x017a0000 0x0 0x40000>;
+                       #interconnect-cells = <2>;
+                       qcom,bcm-voters = <&apps_bcm_voter>;
+               };
+
                ufs_mem_hc: ufshc@1d84000 {
                        compatible = "qcom,sa8775p-ufshc", "qcom,ufshc", "jedec,ufs-2.0";
                        reg = <0x0 0x01d84000 0x0 0x3000>;
                        interconnect-names = "memory";
                };
 
+               lpass_ag_noc: interconnect@3c40000 {
+                       compatible = "qcom,sa8775p-lpass-ag-noc";
+                       reg = <0x0 0x03c40000 0x0 0x17200>;
+                       #interconnect-cells = <2>;
+                       qcom,bcm-voters = <&apps_bcm_voter>;
+               };
+
                ctcu@4001000 {
                        compatible = "qcom,sa8775p-ctcu";
                        reg = <0x0 0x04001000 0x0 0x1000>;
                        reg = <0x0 0x0891c000 0x0 0x84>;
                };
 
+               dc_noc: interconnect@90e0000 {
+                       compatible = "qcom,sa8775p-dc-noc";
+                       reg = <0x0 0x090e0000 0x0 0x5080>;
+                       #interconnect-cells = <2>;
+                       qcom,bcm-voters = <&apps_bcm_voter>;
+               };
+
+               gem_noc: interconnect@9100000 {
+                       compatible = "qcom,sa8775p-gem-noc";
+                       reg = <0x0 0x09100000 0x0 0xf6080>;
+                       #interconnect-cells = <2>;
+                       qcom,bcm-voters = <&apps_bcm_voter>;
+               };
+
                usb_0: usb@a600000 {
                        compatible = "qcom,sa8775p-dwc3", "qcom,snps-dwc3";
                        reg = <0 0x0a600000 0 0xfc100>;
                        status = "disabled";
                };
 
+               nspa_noc: interconnect@260c0000 {
+                       compatible = "qcom,sa8775p-nspa-noc";
+                       reg = <0x0 0x260c0000 0x0 0x16080>;
+                       #interconnect-cells = <2>;
+                       qcom,bcm-voters = <&apps_bcm_voter>;
+               };
+
                remoteproc_cdsp0: remoteproc@26300000 {
                        compatible = "qcom,sa8775p-cdsp0-pas";
                        reg = <0x0 0x26300000 0x0 0x10000>;
                        };
                };
 
+               nspb_noc: interconnect@2a0c0000 {
+                       compatible = "qcom,sa8775p-nspb-noc";
+                       reg = <0x0 0x2a0c0000 0x0 0x16080>;
+                       #interconnect-cells = <2>;
+                       qcom,bcm-voters = <&apps_bcm_voter>;
+               };
+
                remoteproc_cdsp1: remoteproc@2a300000 {
                        compatible = "qcom,sa8775p-cdsp1-pas";
                        reg = <0x0 0x2a300000 0x0 0x10000>;