arm64: dts: qcom: sa8775p: Add CPU and LLCC BWMON

Add CPU and LLCC BWMON nodes and their corresponding opp tables for
SA8775p SoC.
SA8775p has two cpu clusters, with each cluster having a set of
CPU-to-LLCC BWMON registers. Consequently, there are two sets of
CPU-to-LLCC registers.

Signed-off-by: Tengfei Fan <quic_tengfan@quicinc.com>
Link: https://lore.kernel.org/r/20240730-add_sa8775p_bwmon-v1-2-f4f878da29ae@quicinc.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
This commit is contained in:
Tengfei Fan
2024-07-30 15:16:11 +08:00
committed by Bjorn Andersson
parent 04b2f8d5ae
commit 1dd1a6d2b1
+95
View File
@@ -2908,6 +2908,101 @@
status = "disabled";
};
pmu@9091000 {
compatible = "qcom,sa8775p-llcc-bwmon", "qcom,sc7280-llcc-bwmon";
reg = <0x0 0x9091000 0x0 0x1000>;
interrupts = <GIC_SPI 620 IRQ_TYPE_LEVEL_HIGH>;
interconnects = <&mc_virt MASTER_LLCC QCOM_ICC_TAG_ACTIVE_ONLY
&mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ACTIVE_ONLY>;
operating-points-v2 = <&llcc_bwmon_opp_table>;
llcc_bwmon_opp_table: opp-table {
compatible = "operating-points-v2";
opp-0 {
opp-peak-kBps = <762000>;
};
opp-1 {
opp-peak-kBps = <1720000>;
};
opp-2 {
opp-peak-kBps = <2086000>;
};
opp-3 {
opp-peak-kBps = <2601000>;
};
opp-4 {
opp-peak-kBps = <2929000>;
};
opp-5 {
opp-peak-kBps = <5931000>;
};
opp-6 {
opp-peak-kBps = <6515000>;
};
opp-7 {
opp-peak-kBps = <7984000>;
};
opp-8 {
opp-peak-kBps = <10437000>;
};
opp-9 {
opp-peak-kBps = <12195000>;
};
};
};
pmu@90b5400 {
compatible = "qcom,sa8775p-cpu-bwmon", "qcom,sdm845-bwmon";
reg = <0x0 0x90b5400 0x0 0x600>;
interrupts = <GIC_SPI 581 IRQ_TYPE_LEVEL_HIGH>;
interconnects = <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY
&gem_noc SLAVE_LLCC QCOM_ICC_TAG_ACTIVE_ONLY>;
operating-points-v2 = <&cpu_bwmon_opp_table>;
cpu_bwmon_opp_table: opp-table {
compatible = "operating-points-v2";
opp-0 {
opp-peak-kBps = <9155000>;
};
opp-1 {
opp-peak-kBps = <12298000>;
};
opp-2 {
opp-peak-kBps = <14236000>;
};
opp-3 {
opp-peak-kBps = <16265000>;
};
};
};
pmu@90b6400 {
compatible = "qcom,sa8775p-cpu-bwmon", "qcom,sdm845-bwmon";
reg = <0x0 0x90b6400 0x0 0x600>;
interrupts = <GIC_SPI 581 IRQ_TYPE_LEVEL_HIGH>;
interconnects = <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY
&gem_noc SLAVE_LLCC QCOM_ICC_TAG_ACTIVE_ONLY>;
operating-points-v2 = <&cpu_bwmon_opp_table>;
};
llcc: system-cache-controller@9200000 {
compatible = "qcom,sa8775p-llcc";
reg = <0x0 0x09200000 0x0 0x80000>,