Re: [PATCH RFC 3/3] arm64: dts: register Hi6220's coresight debug module
On Mon, Feb 13, 2017 at 02:11:38PM +0800, Leo Yan wrote: > Bind coresight debug driver for Hi6220. Bindings for the coresight debug driver... > > Signed-off-by: Leo Yan> --- > .../boot/dts/hisilicon/hikey_6220_coresight.dtsi | 73 > ++ > 1 file changed, 73 insertions(+) > > diff --git a/arch/arm64/boot/dts/hisilicon/hikey_6220_coresight.dtsi > b/arch/arm64/boot/dts/hisilicon/hikey_6220_coresight.dtsi > index 77c2aab..e14d75c 100644 > --- a/arch/arm64/boot/dts/hisilicon/hikey_6220_coresight.dtsi > +++ b/arch/arm64/boot/dts/hisilicon/hikey_6220_coresight.dtsi > @@ -15,6 +15,79 @@ > #size-cells = <2>; > compatible = "arm,amba-bus"; > ranges; > + > + debug@0,f659 { Simply use "debug@f659", the "0," isn't required. > + compatible = "arm,coresight-debug","arm,primecell"; > + reg = <0 0xf659 0 0x1000>; > + default_enable; What is the "default_enable" for ? > + clocks = <_ctrl HI6220_CS_ATB>; > + clock-names = "apb_pclk"; > + cpu = <>; > + }; > + > + debug@1,f6592000 { > + compatible = "arm,coresight-debug","arm,primecell"; > + reg = <0 0xf6592000 0 0x1000>; > + default_enable; > + clocks = <_ctrl HI6220_CS_ATB>; > + clock-names = "apb_pclk"; > + cpu = <>; > + }; > + > + debug@2,f6594000 { > + compatible = "arm,coresight-debug","arm,primecell"; > + reg = <0 0xf6594000 0 0x1000>; > + default_enable; > + clocks = <_ctrl HI6220_CS_ATB>; > + clock-names = "apb_pclk"; > + cpu = <>; > + }; > + > + debug@3,f6596000 { > + compatible = "arm,coresight-debug","arm,primecell"; > + reg = <0 0xf6596000 0 0x1000>; > + default_enable; > + clocks = <_ctrl HI6220_CS_ATB>; > + clock-names = "apb_pclk"; > + cpu = <>; > + }; > + > + debug@4,f65d { > + compatible = "arm,coresight-debug","arm,primecell"; > + reg = <0 0xf65d 0 0x1000>; > + default_enable; > + clocks = <_ctrl HI6220_CS_ATB>; > + clock-names = "apb_pclk"; > + cpu = <>; > + }; > + > + debug@5,f65d2000 { > + compatible = "arm,coresight-debug","arm,primecell"; > + reg = <0 0xf65d2000 0 0x1000>; > + default_enable; > + clocks = <_ctrl HI6220_CS_ATB>; > + clock-names = "apb_pclk"; > + cpu = <>; > + }; > + > + debug@6,f65d4000 { > + compatible = "arm,coresight-debug","arm,primecell"; > + reg = <0 0xf65d4000 0 0x1000>; > + default_enable; > + clocks = <_ctrl HI6220_CS_ATB>; > + clock-names = "apb_pclk"; > + cpu = <>; > + }; > + > + debug@7,f65d6000 { > + compatible = "arm,coresight-debug","arm,primecell"; > + reg = <0 0xf65d6000 0 0x1000>; > + default_enable; > + clocks = <_ctrl HI6220_CS_ATB>; > + clock-names = "apb_pclk"; > + cpu = <>; > + }; > + > etm@0,f659c000 { > compatible = "arm,coresight-etm4x","arm,primecell"; > reg = <0 0xf659c000 0 0x1000>; > -- > 2.7.4 >
Re: [PATCH RFC 3/3] arm64: dts: register Hi6220's coresight debug module
On Mon, Feb 13, 2017 at 02:11:38PM +0800, Leo Yan wrote: > Bind coresight debug driver for Hi6220. Bindings for the coresight debug driver... > > Signed-off-by: Leo Yan > --- > .../boot/dts/hisilicon/hikey_6220_coresight.dtsi | 73 > ++ > 1 file changed, 73 insertions(+) > > diff --git a/arch/arm64/boot/dts/hisilicon/hikey_6220_coresight.dtsi > b/arch/arm64/boot/dts/hisilicon/hikey_6220_coresight.dtsi > index 77c2aab..e14d75c 100644 > --- a/arch/arm64/boot/dts/hisilicon/hikey_6220_coresight.dtsi > +++ b/arch/arm64/boot/dts/hisilicon/hikey_6220_coresight.dtsi > @@ -15,6 +15,79 @@ > #size-cells = <2>; > compatible = "arm,amba-bus"; > ranges; > + > + debug@0,f659 { Simply use "debug@f659", the "0," isn't required. > + compatible = "arm,coresight-debug","arm,primecell"; > + reg = <0 0xf659 0 0x1000>; > + default_enable; What is the "default_enable" for ? > + clocks = <_ctrl HI6220_CS_ATB>; > + clock-names = "apb_pclk"; > + cpu = <>; > + }; > + > + debug@1,f6592000 { > + compatible = "arm,coresight-debug","arm,primecell"; > + reg = <0 0xf6592000 0 0x1000>; > + default_enable; > + clocks = <_ctrl HI6220_CS_ATB>; > + clock-names = "apb_pclk"; > + cpu = <>; > + }; > + > + debug@2,f6594000 { > + compatible = "arm,coresight-debug","arm,primecell"; > + reg = <0 0xf6594000 0 0x1000>; > + default_enable; > + clocks = <_ctrl HI6220_CS_ATB>; > + clock-names = "apb_pclk"; > + cpu = <>; > + }; > + > + debug@3,f6596000 { > + compatible = "arm,coresight-debug","arm,primecell"; > + reg = <0 0xf6596000 0 0x1000>; > + default_enable; > + clocks = <_ctrl HI6220_CS_ATB>; > + clock-names = "apb_pclk"; > + cpu = <>; > + }; > + > + debug@4,f65d { > + compatible = "arm,coresight-debug","arm,primecell"; > + reg = <0 0xf65d 0 0x1000>; > + default_enable; > + clocks = <_ctrl HI6220_CS_ATB>; > + clock-names = "apb_pclk"; > + cpu = <>; > + }; > + > + debug@5,f65d2000 { > + compatible = "arm,coresight-debug","arm,primecell"; > + reg = <0 0xf65d2000 0 0x1000>; > + default_enable; > + clocks = <_ctrl HI6220_CS_ATB>; > + clock-names = "apb_pclk"; > + cpu = <>; > + }; > + > + debug@6,f65d4000 { > + compatible = "arm,coresight-debug","arm,primecell"; > + reg = <0 0xf65d4000 0 0x1000>; > + default_enable; > + clocks = <_ctrl HI6220_CS_ATB>; > + clock-names = "apb_pclk"; > + cpu = <>; > + }; > + > + debug@7,f65d6000 { > + compatible = "arm,coresight-debug","arm,primecell"; > + reg = <0 0xf65d6000 0 0x1000>; > + default_enable; > + clocks = <_ctrl HI6220_CS_ATB>; > + clock-names = "apb_pclk"; > + cpu = <>; > + }; > + > etm@0,f659c000 { > compatible = "arm,coresight-etm4x","arm,primecell"; > reg = <0 0xf659c000 0 0x1000>; > -- > 2.7.4 >
[PATCH RFC 3/3] arm64: dts: register Hi6220's coresight debug module
Bind coresight debug driver for Hi6220. Signed-off-by: Leo Yan--- .../boot/dts/hisilicon/hikey_6220_coresight.dtsi | 73 ++ 1 file changed, 73 insertions(+) diff --git a/arch/arm64/boot/dts/hisilicon/hikey_6220_coresight.dtsi b/arch/arm64/boot/dts/hisilicon/hikey_6220_coresight.dtsi index 77c2aab..e14d75c 100644 --- a/arch/arm64/boot/dts/hisilicon/hikey_6220_coresight.dtsi +++ b/arch/arm64/boot/dts/hisilicon/hikey_6220_coresight.dtsi @@ -15,6 +15,79 @@ #size-cells = <2>; compatible = "arm,amba-bus"; ranges; + + debug@0,f659 { + compatible = "arm,coresight-debug","arm,primecell"; + reg = <0 0xf659 0 0x1000>; + default_enable; + clocks = <_ctrl HI6220_CS_ATB>; + clock-names = "apb_pclk"; + cpu = <>; + }; + + debug@1,f6592000 { + compatible = "arm,coresight-debug","arm,primecell"; + reg = <0 0xf6592000 0 0x1000>; + default_enable; + clocks = <_ctrl HI6220_CS_ATB>; + clock-names = "apb_pclk"; + cpu = <>; + }; + + debug@2,f6594000 { + compatible = "arm,coresight-debug","arm,primecell"; + reg = <0 0xf6594000 0 0x1000>; + default_enable; + clocks = <_ctrl HI6220_CS_ATB>; + clock-names = "apb_pclk"; + cpu = <>; + }; + + debug@3,f6596000 { + compatible = "arm,coresight-debug","arm,primecell"; + reg = <0 0xf6596000 0 0x1000>; + default_enable; + clocks = <_ctrl HI6220_CS_ATB>; + clock-names = "apb_pclk"; + cpu = <>; + }; + + debug@4,f65d { + compatible = "arm,coresight-debug","arm,primecell"; + reg = <0 0xf65d 0 0x1000>; + default_enable; + clocks = <_ctrl HI6220_CS_ATB>; + clock-names = "apb_pclk"; + cpu = <>; + }; + + debug@5,f65d2000 { + compatible = "arm,coresight-debug","arm,primecell"; + reg = <0 0xf65d2000 0 0x1000>; + default_enable; + clocks = <_ctrl HI6220_CS_ATB>; + clock-names = "apb_pclk"; + cpu = <>; + }; + + debug@6,f65d4000 { + compatible = "arm,coresight-debug","arm,primecell"; + reg = <0 0xf65d4000 0 0x1000>; + default_enable; + clocks = <_ctrl HI6220_CS_ATB>; + clock-names = "apb_pclk"; + cpu = <>; + }; + + debug@7,f65d6000 { + compatible = "arm,coresight-debug","arm,primecell"; + reg = <0 0xf65d6000 0 0x1000>; + default_enable; + clocks = <_ctrl HI6220_CS_ATB>; + clock-names = "apb_pclk"; + cpu = <>; + }; + etm@0,f659c000 { compatible = "arm,coresight-etm4x","arm,primecell"; reg = <0 0xf659c000 0 0x1000>; -- 2.7.4
[PATCH RFC 3/3] arm64: dts: register Hi6220's coresight debug module
Bind coresight debug driver for Hi6220. Signed-off-by: Leo Yan --- .../boot/dts/hisilicon/hikey_6220_coresight.dtsi | 73 ++ 1 file changed, 73 insertions(+) diff --git a/arch/arm64/boot/dts/hisilicon/hikey_6220_coresight.dtsi b/arch/arm64/boot/dts/hisilicon/hikey_6220_coresight.dtsi index 77c2aab..e14d75c 100644 --- a/arch/arm64/boot/dts/hisilicon/hikey_6220_coresight.dtsi +++ b/arch/arm64/boot/dts/hisilicon/hikey_6220_coresight.dtsi @@ -15,6 +15,79 @@ #size-cells = <2>; compatible = "arm,amba-bus"; ranges; + + debug@0,f659 { + compatible = "arm,coresight-debug","arm,primecell"; + reg = <0 0xf659 0 0x1000>; + default_enable; + clocks = <_ctrl HI6220_CS_ATB>; + clock-names = "apb_pclk"; + cpu = <>; + }; + + debug@1,f6592000 { + compatible = "arm,coresight-debug","arm,primecell"; + reg = <0 0xf6592000 0 0x1000>; + default_enable; + clocks = <_ctrl HI6220_CS_ATB>; + clock-names = "apb_pclk"; + cpu = <>; + }; + + debug@2,f6594000 { + compatible = "arm,coresight-debug","arm,primecell"; + reg = <0 0xf6594000 0 0x1000>; + default_enable; + clocks = <_ctrl HI6220_CS_ATB>; + clock-names = "apb_pclk"; + cpu = <>; + }; + + debug@3,f6596000 { + compatible = "arm,coresight-debug","arm,primecell"; + reg = <0 0xf6596000 0 0x1000>; + default_enable; + clocks = <_ctrl HI6220_CS_ATB>; + clock-names = "apb_pclk"; + cpu = <>; + }; + + debug@4,f65d { + compatible = "arm,coresight-debug","arm,primecell"; + reg = <0 0xf65d 0 0x1000>; + default_enable; + clocks = <_ctrl HI6220_CS_ATB>; + clock-names = "apb_pclk"; + cpu = <>; + }; + + debug@5,f65d2000 { + compatible = "arm,coresight-debug","arm,primecell"; + reg = <0 0xf65d2000 0 0x1000>; + default_enable; + clocks = <_ctrl HI6220_CS_ATB>; + clock-names = "apb_pclk"; + cpu = <>; + }; + + debug@6,f65d4000 { + compatible = "arm,coresight-debug","arm,primecell"; + reg = <0 0xf65d4000 0 0x1000>; + default_enable; + clocks = <_ctrl HI6220_CS_ATB>; + clock-names = "apb_pclk"; + cpu = <>; + }; + + debug@7,f65d6000 { + compatible = "arm,coresight-debug","arm,primecell"; + reg = <0 0xf65d6000 0 0x1000>; + default_enable; + clocks = <_ctrl HI6220_CS_ATB>; + clock-names = "apb_pclk"; + cpu = <>; + }; + etm@0,f659c000 { compatible = "arm,coresight-etm4x","arm,primecell"; reg = <0 0xf659c000 0 0x1000>; -- 2.7.4