123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382 |
- /*
- * dtsi file for Hisilicon Hi6220 coresight
- *
- * Copyright (C) 2017 Hisilicon Ltd.
- *
- * Author: Pengcheng Li <lipengcheng8@huawei.com>
- * Leo Yan <leo.yan@linaro.org>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * publishhed by the Free Software Foundation.
- *
- */
- / {
- soc {
- funnel@f6401000 {
- compatible = "arm,coresight-funnel", "arm,primecell";
- reg = <0 0xf6401000 0 0x1000>;
- clocks = <&acpu_sctrl HI6220_ACPU_SFT_AT_S>;
- clock-names = "apb_pclk";
- ports {
- #address-cells = <1>;
- #size-cells = <0>;
- port@0 {
- reg = <0>;
- soc_funnel_out: endpoint {
- remote-endpoint =
- <&etf_in>;
- };
- };
- port@1 {
- reg = <0>;
- soc_funnel_in: endpoint {
- slave-mode;
- remote-endpoint =
- <&acpu_funnel_out>;
- };
- };
- };
- };
- etf@f6402000 {
- compatible = "arm,coresight-tmc", "arm,primecell";
- reg = <0 0xf6402000 0 0x1000>;
- clocks = <&acpu_sctrl HI6220_ACPU_SFT_AT_S>;
- clock-names = "apb_pclk";
- ports {
- #address-cells = <1>;
- #size-cells = <0>;
- port@0 {
- reg = <0>;
- etf_in: endpoint {
- slave-mode;
- remote-endpoint =
- <&soc_funnel_out>;
- };
- };
- port@1 {
- reg = <0>;
- etf_out: endpoint {
- remote-endpoint =
- <&replicator_in>;
- };
- };
- };
- };
- replicator {
- compatible = "arm,coresight-replicator";
- clocks = <&acpu_sctrl HI6220_ACPU_SFT_AT_S>;
- clock-names = "apb_pclk";
- ports {
- #address-cells = <1>;
- #size-cells = <0>;
- port@0 {
- reg = <0>;
- replicator_in: endpoint {
- slave-mode;
- remote-endpoint =
- <&etf_out>;
- };
- };
- port@1 {
- reg = <0>;
- replicator_out0: endpoint {
- remote-endpoint =
- <&etr_in>;
- };
- };
- port@2 {
- reg = <1>;
- replicator_out1: endpoint {
- remote-endpoint =
- <&tpiu_in>;
- };
- };
- };
- };
- etr@f6404000 {
- compatible = "arm,coresight-tmc", "arm,primecell";
- reg = <0 0xf6404000 0 0x1000>;
- clocks = <&acpu_sctrl HI6220_ACPU_SFT_AT_S>;
- clock-names = "apb_pclk";
- ports {
- #address-cells = <1>;
- #size-cells = <0>;
- port@0 {
- reg = <0>;
- etr_in: endpoint {
- slave-mode;
- remote-endpoint =
- <&replicator_out0>;
- };
- };
- };
- };
- tpiu@f6405000 {
- compatible = "arm,coresight-tpiu", "arm,primecell";
- reg = <0 0xf6405000 0 0x1000>;
- clocks = <&acpu_sctrl HI6220_ACPU_SFT_AT_S>;
- clock-names = "apb_pclk";
- ports {
- #address-cells = <1>;
- #size-cells = <0>;
- port@0 {
- reg = <0>;
- tpiu_in: endpoint {
- slave-mode;
- remote-endpoint =
- <&replicator_out1>;
- };
- };
- };
- };
- funnel@f6501000 {
- compatible = "arm,coresight-funnel", "arm,primecell";
- reg = <0 0xf6501000 0 0x1000>;
- clocks = <&acpu_sctrl HI6220_ACPU_SFT_AT_S>;
- clock-names = "apb_pclk";
- ports {
- #address-cells = <1>;
- #size-cells = <0>;
- port@0 {
- reg = <0>;
- acpu_funnel_out: endpoint {
- remote-endpoint =
- <&soc_funnel_in>;
- };
- };
- port@1 {
- reg = <0>;
- acpu_funnel_in0: endpoint {
- slave-mode;
- remote-endpoint =
- <&etm0_out>;
- };
- };
- port@2 {
- reg = <1>;
- acpu_funnel_in1: endpoint {
- slave-mode;
- remote-endpoint =
- <&etm1_out>;
- };
- };
- port@3 {
- reg = <2>;
- acpu_funnel_in2: endpoint {
- slave-mode;
- remote-endpoint =
- <&etm2_out>;
- };
- };
- port@4 {
- reg = <3>;
- acpu_funnel_in3: endpoint {
- slave-mode;
- remote-endpoint =
- <&etm3_out>;
- };
- };
- port@5 {
- reg = <4>;
- acpu_funnel_in4: endpoint {
- slave-mode;
- remote-endpoint =
- <&etm4_out>;
- };
- };
- port@6 {
- reg = <5>;
- acpu_funnel_in5: endpoint {
- slave-mode;
- remote-endpoint =
- <&etm5_out>;
- };
- };
- port@7 {
- reg = <6>;
- acpu_funnel_in6: endpoint {
- slave-mode;
- remote-endpoint =
- <&etm6_out>;
- };
- };
- port@8 {
- reg = <7>;
- acpu_funnel_in7: endpoint {
- slave-mode;
- remote-endpoint =
- <&etm7_out>;
- };
- };
- };
- };
- etm@f659c000 {
- compatible = "arm,coresight-etm4x", "arm,primecell";
- reg = <0 0xf659c000 0 0x1000>;
- clocks = <&acpu_sctrl HI6220_ACPU_SFT_AT_S>;
- clock-names = "apb_pclk";
- cpu = <&cpu0>;
- port {
- etm0_out: endpoint {
- remote-endpoint =
- <&acpu_funnel_in0>;
- };
- };
- };
- etm@f659d000 {
- compatible = "arm,coresight-etm4x", "arm,primecell";
- reg = <0 0xf659d000 0 0x1000>;
- clocks = <&acpu_sctrl HI6220_ACPU_SFT_AT_S>;
- clock-names = "apb_pclk";
- cpu = <&cpu1>;
- port {
- etm1_out: endpoint {
- remote-endpoint =
- <&acpu_funnel_in1>;
- };
- };
- };
- etm@f659e000 {
- compatible = "arm,coresight-etm4x", "arm,primecell";
- reg = <0 0xf659e000 0 0x1000>;
- clocks = <&acpu_sctrl HI6220_ACPU_SFT_AT_S>;
- clock-names = "apb_pclk";
- cpu = <&cpu2>;
- port {
- etm2_out: endpoint {
- remote-endpoint =
- <&acpu_funnel_in2>;
- };
- };
- };
- etm@f659f000 {
- compatible = "arm,coresight-etm4x", "arm,primecell";
- reg = <0 0xf659f000 0 0x1000>;
- clocks = <&acpu_sctrl HI6220_ACPU_SFT_AT_S>;
- clock-names = "apb_pclk";
- cpu = <&cpu3>;
- port {
- etm3_out: endpoint {
- remote-endpoint =
- <&acpu_funnel_in3>;
- };
- };
- };
- etm@f65dc000 {
- compatible = "arm,coresight-etm4x", "arm,primecell";
- reg = <0 0xf65dc000 0 0x1000>;
- clocks = <&acpu_sctrl HI6220_ACPU_SFT_AT_S>;
- clock-names = "apb_pclk";
- cpu = <&cpu4>;
- port {
- etm4_out: endpoint {
- remote-endpoint =
- <&acpu_funnel_in4>;
- };
- };
- };
- etm@f65dd000 {
- compatible = "arm,coresight-etm4x", "arm,primecell";
- reg = <0 0xf65dd000 0 0x1000>;
- clocks = <&acpu_sctrl HI6220_ACPU_SFT_AT_S>;
- clock-names = "apb_pclk";
- cpu = <&cpu5>;
- port {
- etm5_out: endpoint {
- remote-endpoint =
- <&acpu_funnel_in5>;
- };
- };
- };
- etm@f65de000 {
- compatible = "arm,coresight-etm4x", "arm,primecell";
- reg = <0 0xf65de000 0 0x1000>;
- clocks = <&acpu_sctrl HI6220_ACPU_SFT_AT_S>;
- clock-names = "apb_pclk";
- cpu = <&cpu6>;
- port {
- etm6_out: endpoint {
- remote-endpoint =
- <&acpu_funnel_in6>;
- };
- };
- };
- etm@f65df000 {
- compatible = "arm,coresight-etm4x", "arm,primecell";
- reg = <0 0xf65df000 0 0x1000>;
- clocks = <&acpu_sctrl HI6220_ACPU_SFT_AT_S>;
- clock-names = "apb_pclk";
- cpu = <&cpu7>;
- port {
- etm7_out: endpoint {
- remote-endpoint =
- <&acpu_funnel_in7>;
- };
- };
- };
- };
- };
|