diff mbox series

[v9,9/9] arm64: dts: qcom: msm8916: Add debug unit

Message ID 1494298202-6739-10-git-send-email-leo.yan@linaro.org
State Superseded
Headers show
Series None | expand

Commit Message

Leo Yan May 9, 2017, 2:50 a.m. UTC
Add debug unit on Qualcomm msm8916 based platforms, including the
DragonBoard 410c board.

Signed-off-by: Leo Yan <leo.yan@linaro.org>

---
 arch/arm64/boot/dts/qcom/msm8916.dtsi | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

-- 
2.7.4

--
To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Comments

Mathieu Poirier May 11, 2017, 5:18 p.m. UTC | #1
On Tue, May 09, 2017 at 10:50:02AM +0800, Leo Yan wrote:
> 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>


> ---

>  arch/arm64/boot/dts/qcom/msm8916.dtsi | 32 ++++++++++++++++++++++++++++++++

>  1 file changed, 32 insertions(+)

> 

> diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi b/arch/arm64/boot/dts/qcom/msm8916.dtsi

> index 68a8e67..3af814b 100644

> --- a/arch/arm64/boot/dts/qcom/msm8916.dtsi

> +++ b/arch/arm64/boot/dts/qcom/msm8916.dtsi

> @@ -1104,6 +1104,38 @@

>  			};

>  		};

>  

> +		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>;

> -- 

> 2.7.4

> 

--
To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi b/arch/arm64/boot/dts/qcom/msm8916.dtsi
index 68a8e67..3af814b 100644
--- a/arch/arm64/boot/dts/qcom/msm8916.dtsi
+++ b/arch/arm64/boot/dts/qcom/msm8916.dtsi
@@ -1104,6 +1104,38 @@ 
 			};
 		};
 
+		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>;