[PATCH] ARM: dts: qcom: msm8226: add RPMCC node

From: Rayyan Ansari
Date: Wed Jan 18 2023 - 13:14:00 EST


Add a node for the RPM Clock Controller on MSM8226.

Signed-off-by: Rayyan Ansari <rayyan@xxxxxxxxx>
---
arch/arm/boot/dts/qcom-msm8226.dtsi | 7 +++++++
1 file changed, 7 insertions(+)

diff --git a/arch/arm/boot/dts/qcom-msm8226.dtsi b/arch/arm/boot/dts/qcom-msm8226.dtsi
index c261fdfbe116..b48e50f46790 100644
--- a/arch/arm/boot/dts/qcom-msm8226.dtsi
+++ b/arch/arm/boot/dts/qcom-msm8226.dtsi
@@ -74,6 +74,13 @@ rpm_requests: rpm-requests {
compatible = "qcom,rpm-msm8226";
qcom,smd-channels = "rpm_requests";

+ rpmcc: clock-controller {
+ compatible = "qcom,rpmcc-msm8226", "qcom,rpmcc";
+ #clock-cells = <1>;
+ clocks = <&xo_board>;
+ clock-names = "xo";
+ };
+
rpmpd: power-controller {
compatible = "qcom,msm8226-rpmpd";
#power-domain-cells = <1>;
--
2.39.0