ARM: dts: msm: update clock_npucc device node for KONA
Update the device tree node for clock_npucc to specify a
functional compatible string instead of dummycc. This
ensures that consumer requests modify clock hardware state.
Also add a phandle for the clock_npucc node in the debugcc
node so that NPU_CC clock rates can be measured at runtime.
Change-Id: I0d6347b0526dd520697306033dd5dbd4f381e3ba
Signed-off-by: David Collins <collinsd@codeaurora.org>
diff --git a/arch/arm64/boot/dts/qcom/kona.dtsi b/arch/arm64/boot/dts/qcom/kona.dtsi
index 81bf2c1f..24ed616 100644
--- a/arch/arm64/boot/dts/qcom/kona.dtsi
+++ b/arch/arm64/boot/dts/qcom/kona.dtsi
@@ -767,9 +767,13 @@
#reset-cells = <1>;
};
- clock_npucc: qcom,npucc {
- compatible = "qcom,dummycc";
- clock-output-names = "npucc_clocks";
+ clock_npucc: qcom,npucc@9980000 {
+ compatible = "qcom,npucc-kona", "syscon";
+ reg = <0x9980000 0x10000>,
+ <0x9800000 0x10000>,
+ <0x9810000 0x10000>;
+ reg-names = "cc", "qdsp6ss", "qdsp6ss_pll";
+ vdd_cx-supply = <&VDD_CX_LEVEL>;
#clock-cells = <1>;
#reset-cells = <1>;
};
@@ -832,6 +836,7 @@
qcom,dispcc = <&clock_dispcc>;
qcom,camcc = <&clock_camcc>;
qcom,gpucc = <&clock_gpucc>;
+ qcom,npucc = <&clock_npucc>;
clock-names = "xo_clk_src";
clocks = <&clock_rpmh RPMH_CXO_CLK>;
#clock-cells = <1>;