|
1 | 1 | // SPDX-License-Identifier: GPL-2.0 |
2 | 2 | /dts-v1/; |
3 | 3 |
|
4 | | -#include <dt-bindings/interconnect/qcom,msm8974.h> |
5 | | -#include <dt-bindings/interrupt-controller/arm-gic.h> |
6 | 4 | #include <dt-bindings/clock/qcom,dsi-phy-28nm.h> |
7 | 5 | #include <dt-bindings/clock/qcom,gcc-msm8974.h> |
8 | 6 | #include <dt-bindings/clock/qcom,mmcc-msm8974.h> |
9 | 7 | #include <dt-bindings/clock/qcom,rpmcc.h> |
10 | | -#include <dt-bindings/reset/qcom,gcc-msm8974.h> |
11 | 8 | #include <dt-bindings/gpio/gpio.h> |
| 9 | +#include <dt-bindings/interconnect/qcom,msm8974.h> |
| 10 | +#include <dt-bindings/interrupt-controller/arm-gic.h> |
| 11 | +#include <dt-bindings/power/qcom-rpmpd.h> |
| 12 | +#include <dt-bindings/reset/qcom,gcc-msm8974.h> |
12 | 13 |
|
13 | 14 | / { |
14 | 15 | #address-cells = <1>; |
|
146 | 147 | clocks = <&xo_board>; |
147 | 148 | clock-names = "xo"; |
148 | 149 | }; |
| 150 | + |
| 151 | + rpmpd: power-controller { |
| 152 | + compatible = "qcom,msm8974-rpmpd"; |
| 153 | + #power-domain-cells = <1>; |
| 154 | + operating-points-v2 = <&rpmpd_opp_table>; |
| 155 | + |
| 156 | + rpmpd_opp_table: opp-table { |
| 157 | + compatible = "operating-points-v2"; |
| 158 | + |
| 159 | + rpmpd_opp_ret: opp1 { |
| 160 | + opp-level = <1>; |
| 161 | + }; |
| 162 | + |
| 163 | + rpmpd_opp_svs_krait: opp2 { |
| 164 | + opp-level = <2>; |
| 165 | + }; |
| 166 | + |
| 167 | + rpmpd_opp_svs_soc: opp3 { |
| 168 | + opp-level = <3>; |
| 169 | + }; |
| 170 | + |
| 171 | + rpmpd_opp_nom: opp4 { |
| 172 | + opp-level = <4>; |
| 173 | + }; |
| 174 | + |
| 175 | + rpmpd_opp_turbo: opp5 { |
| 176 | + opp-level = <5>; |
| 177 | + }; |
| 178 | + |
| 179 | + rpmpd_opp_super_turbo: opp6 { |
| 180 | + opp-level = <6>; |
| 181 | + }; |
| 182 | + }; |
| 183 | + }; |
149 | 184 | }; |
150 | 185 | }; |
151 | 186 | }; |
|
743 | 778 | <&wcnss_smp2p_in 3 IRQ_TYPE_EDGE_RISING>; |
744 | 779 | interrupt-names = "wdog", "fatal", "ready", "handover", "stop-ack"; |
745 | 780 |
|
| 781 | + power-domains = <&rpmpd MSM8974_VDDCX>; |
| 782 | + power-domain-names = "cx"; |
| 783 | + |
746 | 784 | qcom,smem-states = <&wcnss_smp2p_out 0>; |
747 | 785 | qcom,smem-state-names = "stop"; |
748 | 786 |
|
|
1545 | 1583 | resets = <&gcc GCC_MSS_RESTART>; |
1546 | 1584 | reset-names = "mss_restart"; |
1547 | 1585 |
|
| 1586 | + power-domains = <&rpmpd MSM8974_VDDCX>; |
| 1587 | + power-domain-names = "cx"; |
| 1588 | + |
1548 | 1589 | qcom,halt-regs = <&tcsr_mutex 0x1180 0x1200 0x1280>; |
1549 | 1590 |
|
1550 | 1591 | qcom,smem-states = <&modem_smp2p_out 0>; |
|
2208 | 2249 | clocks = <&xo_board>; |
2209 | 2250 | clock-names = "xo"; |
2210 | 2251 |
|
| 2252 | + power-domains = <&rpmpd MSM8974_VDDCX>; |
| 2253 | + power-domain-names = "cx"; |
| 2254 | + |
2211 | 2255 | memory-region = <&adsp_region>; |
2212 | 2256 |
|
2213 | 2257 | qcom,smem-states = <&adsp_smp2p_out 0>; |
|
0 commit comments