arm64: dts: sdm845: Add rpmh-clk node
authorDouglas Anderson <dianders@chromium.org>
Mon, 18 Jun 2018 21:50:51 +0000 (14:50 -0700)
committerAndy Gross <andy.gross@linaro.org>
Sat, 21 Jul 2018 18:30:24 +0000 (13:30 -0500)
This adds the rpmh-clk node to sdm845 based on the examples in the
bindings.

Signed-off-by: Douglas Anderson <dianders@chromium.org>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
arch/arm64/boot/dts/qcom/sdm845.dtsi

index 43a182f..00722b5 100644 (file)
@@ -6,6 +6,7 @@
  */
 
 #include <dt-bindings/clock/qcom,gcc-sdm845.h>
+#include <dt-bindings/clock/qcom,rpmh.h>
 #include <dt-bindings/interrupt-controller/arm-gic.h>
 #include <dt-bindings/soc/qcom,rpmh-rsc.h>
 
                                          <SLEEP_TCS   3>,
                                          <WAKE_TCS    3>,
                                          <CONTROL_TCS 1>;
+
+                       rpmhcc: clock-controller {
+                               compatible = "qcom,sdm845-rpmh-clk";
+                               #clock-cells = <1>;
+                       };
                };
 
                intc: interrupt-controller@17a00000 {