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,sm8250-cpufreq-epss
29 - const: qcom,cpufreq-epss
34 - description: Frequency domain 0 register region
35 - description: Frequency domain 1 register region
36 - description: Frequency domain 2 register region
47 - description: XO Clock
48 - description: GPLL0 Clock
63 - '#freq-domain-cells'
65 additionalProperties: false
69 #include <dt-bindings/clock/qcom,gcc-sdm845.h>
70 #include <dt-bindings/clock/qcom,rpmh.h>
72 // Example 1: Dual-cluster, Quad-core per cluster. CPUs within a cluster
73 // switch DCVS state together.
80 compatible = "qcom,kryo385";
82 enable-method = "psci";
83 next-level-cache = <&L2_0>;
84 qcom,freq-domain = <&cpufreq_hw 0>;
87 next-level-cache = <&L3_0>;
96 compatible = "qcom,kryo385";
98 enable-method = "psci";
99 next-level-cache = <&L2_100>;
100 qcom,freq-domain = <&cpufreq_hw 0>;
102 compatible = "cache";
103 next-level-cache = <&L3_0>;
109 compatible = "qcom,kryo385";
111 enable-method = "psci";
112 next-level-cache = <&L2_200>;
113 qcom,freq-domain = <&cpufreq_hw 0>;
115 compatible = "cache";
116 next-level-cache = <&L3_0>;
122 compatible = "qcom,kryo385";
124 enable-method = "psci";
125 next-level-cache = <&L2_300>;
126 qcom,freq-domain = <&cpufreq_hw 0>;
128 compatible = "cache";
129 next-level-cache = <&L3_0>;
135 compatible = "qcom,kryo385";
137 enable-method = "psci";
138 next-level-cache = <&L2_400>;
139 qcom,freq-domain = <&cpufreq_hw 1>;
141 compatible = "cache";
142 next-level-cache = <&L3_0>;
148 compatible = "qcom,kryo385";
150 enable-method = "psci";
151 next-level-cache = <&L2_500>;
152 qcom,freq-domain = <&cpufreq_hw 1>;
154 compatible = "cache";
155 next-level-cache = <&L3_0>;
161 compatible = "qcom,kryo385";
163 enable-method = "psci";
164 next-level-cache = <&L2_600>;
165 qcom,freq-domain = <&cpufreq_hw 1>;
167 compatible = "cache";
168 next-level-cache = <&L3_0>;
174 compatible = "qcom,kryo385";
176 enable-method = "psci";
177 next-level-cache = <&L2_700>;
178 qcom,freq-domain = <&cpufreq_hw 1>;
180 compatible = "cache";
181 next-level-cache = <&L3_0>;
187 #address-cells = <1>;
191 compatible = "qcom,cpufreq-hw";
192 reg = <0x17d43000 0x1400>, <0x17d45800 0x1400>;
193 reg-names = "freq-domain0", "freq-domain1";
195 clocks = <&rpmhcc RPMH_CXO_CLK>, <&gcc GPLL0>;
196 clock-names = "xo", "alternate";
198 #freq-domain-cells = <1>;