1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
4 $id: http://devicetree.org/schemas/interconnect/qcom,msm8998-bwmon.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Qualcomm Interconnect Bandwidth Monitor
10 - Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
13 Bandwidth Monitor measures current throughput on buses between various NoC
14 fabrics and provides information when it crosses configured thresholds.
16 Certain SoCs might have more than one Bandwidth Monitors, for example on SDM845::
17 - Measuring the bandwidth between CPUs and Last Level Cache Controller -
19 - Measuring the bandwidth between Last Level Cache Controller and memory
20 (DDR) - called LLCC BWMON.
27 - qcom,sc7280-cpu-bwmon
29 - const: qcom,msm8998-bwmon
30 - const: qcom,msm8998-bwmon # BWMON v4
31 - const: qcom,sc7280-llcc-bwmon # BWMON v5
32 - const: qcom,sdm845-llcc-bwmon # BWMON v5
40 operating-points-v2: true
45 # BWMON v4 (currently described) and BWMON v5 use one register address
46 # space. BWMON v2 uses two register spaces - not yet described.
57 additionalProperties: false
61 #include <dt-bindings/interconnect/qcom,sdm845.h>
62 #include <dt-bindings/interrupt-controller/arm-gic.h>
65 compatible = "qcom,sdm845-bwmon", "qcom,msm8998-bwmon";
66 reg = <0x01436400 0x600>;
67 interrupts = <GIC_SPI 581 IRQ_TYPE_LEVEL_HIGH>;
68 interconnects = <&gladiator_noc MASTER_APPSS_PROC 3 &mem_noc SLAVE_LLCC 3>;
70 operating-points-v2 = <&cpu_bwmon_opp_table>;
72 cpu_bwmon_opp_table: opp-table {
73 compatible = "operating-points-v2";
75 opp-peak-kBps = <4800000>;
78 opp-peak-kBps = <9216000>;
81 opp-peak-kBps = <15052800>;
84 opp-peak-kBps = <20889600>;
87 opp-peak-kBps = <25497600>;