arm64: dts: qcom: msm8916: Add debug unit
authorLeo Yan <leo.yan@linaro.org>
Mon, 5 Jun 2017 20:15:18 +0000 (14:15 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 9 Jun 2017 09:45:25 +0000 (11:45 +0200)
Add debug unit on Qualcomm msm8916 based platforms, including the
DragonBoard 410c board.

Signed-off-by: Leo Yan <leo.yan@linaro.org>
Reviewed-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Acked-by: Andy Gross <andy.gross@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm64/boot/dts/qcom/msm8916.dtsi

index ab3093995ded75d7784946376b3bda12fc90b649..17691abea608e9c08cddfa2ecd778d178a8c005f 100644 (file)
                        };
                };
 
+               debug@850000 {
+                       compatible = "arm,coresight-cpu-debug","arm,primecell";
+                       reg = <0x850000 0x1000>;
+                       clocks = <&rpmcc RPM_QDSS_CLK>;
+                       clock-names = "apb_pclk";
+                       cpu = <&CPU0>;
+               };
+
+               debug@852000 {
+                       compatible = "arm,coresight-cpu-debug","arm,primecell";
+                       reg = <0x852000 0x1000>;
+                       clocks = <&rpmcc RPM_QDSS_CLK>;
+                       clock-names = "apb_pclk";
+                       cpu = <&CPU1>;
+               };
+
+               debug@854000 {
+                       compatible = "arm,coresight-cpu-debug","arm,primecell";
+                       reg = <0x854000 0x1000>;
+                       clocks = <&rpmcc RPM_QDSS_CLK>;
+                       clock-names = "apb_pclk";
+                       cpu = <&CPU2>;
+               };
+
+               debug@856000 {
+                       compatible = "arm,coresight-cpu-debug","arm,primecell";
+                       reg = <0x856000 0x1000>;
+                       clocks = <&rpmcc RPM_QDSS_CLK>;
+                       clock-names = "apb_pclk";
+                       cpu = <&CPU3>;
+               };
+
                etm@85c000 {
                        compatible = "arm,coresight-etm4x", "arm,primecell";
                        reg = <0x85c000 0x1000>;