diff mbox series

[v13,8/9] arm64: dts: hi6220: register debug module

Message ID 1495727836-30094-9-git-send-email-leo.yan@linaro.org
State Accepted
Commit 4fcf9a6259a0b21ca198f91737303f5166a788bf
Headers show
Series None | expand

Commit Message

Leo Yan May 25, 2017, 3:57 p.m. UTC
Bind debug module driver for Hi6220.

Reviewed-by: Mathieu Poirier <mathieu.poirier@linaro.org>

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

---
 arch/arm64/boot/dts/hisilicon/hi6220.dtsi | 64 +++++++++++++++++++++++++++++++
 1 file changed, 64 insertions(+)

-- 
2.7.4

Comments

Mathieu Poirier June 5, 2017, 2:17 p.m. UTC | #1
On 5 June 2017 at 02:33, Wei Xu <xuwei5@hisilicon.com> wrote:
> Hi Leo,

>

> On 2017/5/25 16:57, Leo Yan wrote:

>> Bind debug module driver for Hi6220.

>>

>> Reviewed-by: Mathieu Poirier <mathieu.poirier@linaro.org>

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

>

> Thanks!

> Fine to me.

> Acked-by: Wei Xu <xuwei5@hisilicon.com>

>

> Hi Mathieu,

>

> Can you help to pick up this patch as well?

> Thanks!


Sure - I'll add this to my tree.

>

> Best Regards,

> Wei

>

>> ---

>>  arch/arm64/boot/dts/hisilicon/hi6220.dtsi | 64 +++++++++++++++++++++++++++++++

>>  1 file changed, 64 insertions(+)

>>

>> diff --git a/arch/arm64/boot/dts/hisilicon/hi6220.dtsi b/arch/arm64/boot/dts/hisilicon/hi6220.dtsi

>> index 1e5129b..21805b9 100644

>> --- a/arch/arm64/boot/dts/hisilicon/hi6220.dtsi

>> +++ b/arch/arm64/boot/dts/hisilicon/hi6220.dtsi

>> @@ -916,5 +916,69 @@

>>                               };

>>                       };

>>               };

>> +

>> +             debug@f6590000 {

>> +                     compatible = "arm,coresight-cpu-debug","arm,primecell";

>> +                     reg = <0 0xf6590000 0 0x1000>;

>> +                     clocks = <&sys_ctrl HI6220_DAPB_CLK>;

>> +                     clock-names = "apb_pclk";

>> +                     cpu = <&cpu0>;

>> +             };

>> +

>> +             debug@f6592000 {

>> +                     compatible = "arm,coresight-cpu-debug","arm,primecell";

>> +                     reg = <0 0xf6592000 0 0x1000>;

>> +                     clocks = <&sys_ctrl HI6220_DAPB_CLK>;

>> +                     clock-names = "apb_pclk";

>> +                     cpu = <&cpu1>;

>> +             };

>> +

>> +             debug@f6594000 {

>> +                     compatible = "arm,coresight-cpu-debug","arm,primecell";

>> +                     reg = <0 0xf6594000 0 0x1000>;

>> +                     clocks = <&sys_ctrl HI6220_DAPB_CLK>;

>> +                     clock-names = "apb_pclk";

>> +                     cpu = <&cpu2>;

>> +             };

>> +

>> +             debug@f6596000 {

>> +                     compatible = "arm,coresight-cpu-debug","arm,primecell";

>> +                     reg = <0 0xf6596000 0 0x1000>;

>> +                     clocks = <&sys_ctrl HI6220_DAPB_CLK>;

>> +                     clock-names = "apb_pclk";

>> +                     cpu = <&cpu3>;

>> +             };

>> +

>> +             debug@f65d0000 {

>> +                     compatible = "arm,coresight-cpu-debug","arm,primecell";

>> +                     reg = <0 0xf65d0000 0 0x1000>;

>> +                     clocks = <&sys_ctrl HI6220_DAPB_CLK>;

>> +                     clock-names = "apb_pclk";

>> +                     cpu = <&cpu4>;

>> +             };

>> +

>> +             debug@f65d2000 {

>> +                     compatible = "arm,coresight-cpu-debug","arm,primecell";

>> +                     reg = <0 0xf65d2000 0 0x1000>;

>> +                     clocks = <&sys_ctrl HI6220_DAPB_CLK>;

>> +                     clock-names = "apb_pclk";

>> +                     cpu = <&cpu5>;

>> +             };

>> +

>> +             debug@f65d4000 {

>> +                     compatible = "arm,coresight-cpu-debug","arm,primecell";

>> +                     reg = <0 0xf65d4000 0 0x1000>;

>> +                     clocks = <&sys_ctrl HI6220_DAPB_CLK>;

>> +                     clock-names = "apb_pclk";

>> +                     cpu = <&cpu6>;

>> +             };

>> +

>> +             debug@f65d6000 {

>> +                     compatible = "arm,coresight-cpu-debug","arm,primecell";

>> +                     reg = <0 0xf65d6000 0 0x1000>;

>> +                     clocks = <&sys_ctrl HI6220_DAPB_CLK>;

>> +                     clock-names = "apb_pclk";

>> +                     cpu = <&cpu7>;

>> +             };

>>       };

>>  };

>>

>
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/hisilicon/hi6220.dtsi b/arch/arm64/boot/dts/hisilicon/hi6220.dtsi
index 1e5129b..21805b9 100644
--- a/arch/arm64/boot/dts/hisilicon/hi6220.dtsi
+++ b/arch/arm64/boot/dts/hisilicon/hi6220.dtsi
@@ -916,5 +916,69 @@ 
 				};
 			};
 		};
+
+		debug@f6590000 {
+			compatible = "arm,coresight-cpu-debug","arm,primecell";
+			reg = <0 0xf6590000 0 0x1000>;
+			clocks = <&sys_ctrl HI6220_DAPB_CLK>;
+			clock-names = "apb_pclk";
+			cpu = <&cpu0>;
+		};
+
+		debug@f6592000 {
+			compatible = "arm,coresight-cpu-debug","arm,primecell";
+			reg = <0 0xf6592000 0 0x1000>;
+			clocks = <&sys_ctrl HI6220_DAPB_CLK>;
+			clock-names = "apb_pclk";
+			cpu = <&cpu1>;
+		};
+
+		debug@f6594000 {
+			compatible = "arm,coresight-cpu-debug","arm,primecell";
+			reg = <0 0xf6594000 0 0x1000>;
+			clocks = <&sys_ctrl HI6220_DAPB_CLK>;
+			clock-names = "apb_pclk";
+			cpu = <&cpu2>;
+		};
+
+		debug@f6596000 {
+			compatible = "arm,coresight-cpu-debug","arm,primecell";
+			reg = <0 0xf6596000 0 0x1000>;
+			clocks = <&sys_ctrl HI6220_DAPB_CLK>;
+			clock-names = "apb_pclk";
+			cpu = <&cpu3>;
+		};
+
+		debug@f65d0000 {
+			compatible = "arm,coresight-cpu-debug","arm,primecell";
+			reg = <0 0xf65d0000 0 0x1000>;
+			clocks = <&sys_ctrl HI6220_DAPB_CLK>;
+			clock-names = "apb_pclk";
+			cpu = <&cpu4>;
+		};
+
+		debug@f65d2000 {
+			compatible = "arm,coresight-cpu-debug","arm,primecell";
+			reg = <0 0xf65d2000 0 0x1000>;
+			clocks = <&sys_ctrl HI6220_DAPB_CLK>;
+			clock-names = "apb_pclk";
+			cpu = <&cpu5>;
+		};
+
+		debug@f65d4000 {
+			compatible = "arm,coresight-cpu-debug","arm,primecell";
+			reg = <0 0xf65d4000 0 0x1000>;
+			clocks = <&sys_ctrl HI6220_DAPB_CLK>;
+			clock-names = "apb_pclk";
+			cpu = <&cpu6>;
+		};
+
+		debug@f65d6000 {
+			compatible = "arm,coresight-cpu-debug","arm,primecell";
+			reg = <0 0xf65d6000 0 0x1000>;
+			clocks = <&sys_ctrl HI6220_DAPB_CLK>;
+			clock-names = "apb_pclk";
+			cpu = <&cpu7>;
+		};
 	};
 };