1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
4 $id: http://devicetree.org/schemas/cpufreq/cpufreq-qcom-hw.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Qualcomm Technologies, Inc. CPUFREQ
10 - Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
14 CPUFREQ HW is a hardware engine used by some Qualcomm Technologies, Inc. (QTI)
15 SoCs to manage frequency in hardware. It is capable of controlling frequency
16 for multiple clusters.
21 - description: v1 of CPUFREQ HW
23 - const: qcom,cpufreq-hw
25 - description: v2 of CPUFREQ HW (EPSS)
28 - qcom,sm6375-cpufreq-epss
29 - qcom,sm8250-cpufreq-epss
30 - const: qcom,cpufreq-epss
35 - description: Frequency domain 0 register region
36 - description: Frequency domain 1 register region
37 - description: Frequency domain 2 register region
48 - description: XO Clock
49 - description: GPLL0 Clock
64 - '#freq-domain-cells'
66 additionalProperties: false
70 #include <dt-bindings/clock/qcom,gcc-sdm845.h>
71 #include <dt-bindings/clock/qcom,rpmh.h>
73 // Example 1: Dual-cluster, Quad-core per cluster. CPUs within a cluster
74 // switch DCVS state together.
81 compatible = "qcom,kryo385";
83 enable-method = "psci";
84 next-level-cache = <&L2_0>;
85 qcom,freq-domain = <&cpufreq_hw 0>;
88 next-level-cache = <&L3_0>;
97 compatible = "qcom,kryo385";
99 enable-method = "psci";
100 next-level-cache = <&L2_100>;
101 qcom,freq-domain = <&cpufreq_hw 0>;
103 compatible = "cache";
104 next-level-cache = <&L3_0>;
110 compatible = "qcom,kryo385";
112 enable-method = "psci";
113 next-level-cache = <&L2_200>;
114 qcom,freq-domain = <&cpufreq_hw 0>;
116 compatible = "cache";
117 next-level-cache = <&L3_0>;
123 compatible = "qcom,kryo385";
125 enable-method = "psci";
126 next-level-cache = <&L2_300>;
127 qcom,freq-domain = <&cpufreq_hw 0>;
129 compatible = "cache";
130 next-level-cache = <&L3_0>;
136 compatible = "qcom,kryo385";
138 enable-method = "psci";
139 next-level-cache = <&L2_400>;
140 qcom,freq-domain = <&cpufreq_hw 1>;
142 compatible = "cache";
143 next-level-cache = <&L3_0>;
149 compatible = "qcom,kryo385";
151 enable-method = "psci";
152 next-level-cache = <&L2_500>;
153 qcom,freq-domain = <&cpufreq_hw 1>;
155 compatible = "cache";
156 next-level-cache = <&L3_0>;
162 compatible = "qcom,kryo385";
164 enable-method = "psci";
165 next-level-cache = <&L2_600>;
166 qcom,freq-domain = <&cpufreq_hw 1>;
168 compatible = "cache";
169 next-level-cache = <&L3_0>;
175 compatible = "qcom,kryo385";
177 enable-method = "psci";
178 next-level-cache = <&L2_700>;
179 qcom,freq-domain = <&cpufreq_hw 1>;
181 compatible = "cache";
182 next-level-cache = <&L3_0>;
188 #address-cells = <1>;
192 compatible = "qcom,cpufreq-hw";
193 reg = <0x17d43000 0x1400>, <0x17d45800 0x1400>;
194 reg-names = "freq-domain0", "freq-domain1";
196 clocks = <&rpmhcc RPMH_CXO_CLK>, <&gcc GPLL0>;
197 clock-names = "xo", "alternate";
199 #freq-domain-cells = <1>;