ARM: dts: msm: Add a node for cpufreq cycle counter driver

Add cpufreq cycle counter register information to devicetree in a
separate node for use by driver. This will initialize walt for Monaco.

Change-Id: Iddbbd81168d49e0aea4076f18669ffb6a5d342a8
Signed-off-by: Ruchira Revdekar <quic_rrevdeka@quicinc.com>
This commit is contained in:
Ruchira Revdekar
2024-07-09 11:11:09 +05:30
parent 787d58765e
commit c5d0b9f392
2 changed files with 19 additions and 0 deletions

18
qcom/monaco-walt.dtsi Normal file
View File

@@ -0,0 +1,18 @@
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
*/
&soc {
walt {
#address-cells = <1>;
#size-cells = <1>;
ranges;
qcom,cycle-cntr {
compatible = "qcom,cycle-cntr-hw";
reg = <0xf521000 0x1400>;
reg-names = "freq-domain0";
};
};
};

View File

@@ -2099,6 +2099,7 @@
#include "monaco-usb.dtsi" #include "monaco-usb.dtsi"
#include "monaco-thermal.dtsi" #include "monaco-thermal.dtsi"
#include "msm-rdbg-monaco.dtsi" #include "msm-rdbg-monaco.dtsi"
#include "monaco-walt.dtsi"
&gcc_camss_top_gdsc { &gcc_camss_top_gdsc {
parent-supply = <&VDD_CX_LEVEL>; parent-supply = <&VDD_CX_LEVEL>;