arm64: dts: qcom: qcs404: Add turingcc node
authorBjorn Andersson <bjorn.andersson@linaro.org>
Sun, 24 Mar 2019 17:20:15 +0000 (10:20 -0700)
committerAndy Gross <agross@kernel.org>
Thu, 30 May 2019 02:37:31 +0000 (21:37 -0500)
Add a node describing the Turing Clock Controller of the QCS404. Given
the default access restriction the node is left disabled.

Reviewed-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Andy Gross <agross@kernel.org>
arch/arm64/boot/dts/qcom/qcs404.dtsi

index 5e17254c3c568b810257104f62c3d313c8c4d129..e0b9a52c5419f8ee1f9c361cc7d329d6208fb419 100644 (file)
@@ -3,6 +3,7 @@
 
 #include <dt-bindings/interrupt-controller/arm-gic.h>
 #include <dt-bindings/clock/qcom,gcc-qcs404.h>
+#include <dt-bindings/clock/qcom,turingcc-qcs404.h>
 #include <dt-bindings/clock/qcom,rpmcc.h>
 
 / {
                ranges = <0 0 0 0xffffffff>;
                compatible = "simple-bus";
 
+               turingcc: clock-controller@800000 {
+                       compatible = "qcom,qcs404-turingcc";
+                       reg = <0x00800000 0x30000>;
+                       clocks = <&gcc GCC_CDSP_CFG_AHB_CLK>;
+
+                       #clock-cells = <1>;
+                       #reset-cells = <1>;
+
+                       status = "disabled";
+               };
+
                rpm_msg_ram: memory@60000 {
                        compatible = "qcom,rpm-msg-ram";
                        reg = <0x00060000 0x6000>;