arm64: dts: qcom: msm8998: Add gpucc node
authorJeffrey Hugo <jeffrey.l.hugo@gmail.com>
Thu, 31 Oct 2019 18:58:06 +0000 (11:58 -0700)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Wed, 11 Dec 2019 07:42:25 +0000 (23:42 -0800)
Add MSM8998 GPU Clock Controller DT node.

Signed-off-by: Jeffrey Hugo <jeffrey.l.hugo@gmail.com>
Link: https://lore.kernel.org/r/20191031185806.15602-1-jeffrey.l.hugo@gmail.com
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
arch/arm64/boot/dts/qcom/msm8998.dtsi

index 2d0ef42..d2a5bc0 100644 (file)
@@ -3,6 +3,7 @@
 
 #include <dt-bindings/interrupt-controller/arm-gic.h>
 #include <dt-bindings/clock/qcom,gcc-msm8998.h>
+#include <dt-bindings/clock/qcom,gpucc-msm8998.h>
 #include <dt-bindings/clock/qcom,rpmcc.h>
 #include <dt-bindings/power/qcom-rpmpd.h>
 #include <dt-bindings/gpio/gpio.h>
                        #interrupt-cells = <0x2>;
                };
 
+               gpucc: clock-controller@5065000 {
+                       compatible = "qcom,msm8998-gpucc";
+                       #clock-cells = <1>;
+                       #reset-cells = <1>;
+                       #power-domain-cells = <1>;
+                       reg = <0x05065000 0x9000>;
+
+                       clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>,
+                                <&gcc GPLL0_OUT_MAIN>;
+                       clock-names = "xo",
+                                     "gpll0";
+               };
+
                stm: stm@6002000 {
                        compatible = "arm,coresight-stm", "arm,primecell";
                        reg = <0x06002000 0x1000>,