[PATCH v11 8/9] arm64: dts: hi6220: register debug module

Mathieu Poirier mathieu.poirier at linaro.org
Tue May 23 09:29:36 PDT 2017


On 23 May 2017 at 08:16, Leo Yan <leo.yan at linaro.org> wrote:
> Bind debug module driver for Hi6220.
>
> Reviewed-by: Mathieu Poirier <mathieu.poirier at linaro.org>
> Signed-off-by: Leo Yan <leo.yan at linaro.org>

Wei and Mark,

I think it makes sense to have this go through the coresight tree
along with the rest of the driver.  Please have a look and let me
know.

Thanks,
Mathieu

> ---
>  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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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>;
> +               };
>         };
>  };
> --
> 2.7.4
>



More information about the linux-arm-kernel mailing list