130 lines · yaml
1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause2%YAML 1.23---4$id: http://devicetree.org/schemas/arm/arm,coresight-dynamic-replicator.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Arm Coresight Programmable Trace Bus Replicator8 9maintainers:10 - Mathieu Poirier <mathieu.poirier@linaro.org>11 - Mike Leach <mike.leach@linaro.org>12 - Leo Yan <leo.yan@linaro.org>13 - Suzuki K Poulose <suzuki.poulose@arm.com>14 15description: |16 CoreSight components are compliant with the ARM CoreSight architecture17 specification and can be connected in various topologies to suit a particular18 SoCs tracing needs. These trace components can generally be classified as19 sinks, links and sources. Trace data produced by one or more sources flows20 through the intermediate links connecting the source to the currently selected21 sink.22 23 The Coresight replicator splits a single trace stream into two trace streams24 for systems that have more than one trace sink component.25 26# Need a custom select here or 'arm,primecell' will match on lots of nodes27select:28 properties:29 compatible:30 contains:31 const: arm,coresight-dynamic-replicator32 required:33 - compatible34 35allOf:36 - $ref: /schemas/arm/primecell.yaml#37 38properties:39 compatible:40 items:41 - const: arm,coresight-dynamic-replicator42 - const: arm,primecell43 44 reg:45 maxItems: 146 47 clocks:48 minItems: 149 maxItems: 250 51 clock-names:52 minItems: 153 items:54 - const: apb_pclk55 - const: atclk56 57 power-domains:58 maxItems: 159 60 qcom,replicator-loses-context:61 type: boolean62 description:63 Indicates that the replicator will lose register context when AMBA clock64 is removed which is observed in some replicator designs.65 66 in-ports:67 $ref: /schemas/graph.yaml#/properties/ports68 additionalProperties: false69 70 properties:71 port:72 description: Input connection from CoreSight Trace bus73 $ref: /schemas/graph.yaml#/properties/port74 75 out-ports:76 $ref: /schemas/graph.yaml#/properties/ports77 78 patternProperties:79 '^port(@[01])?$':80 description: Output connections to CoreSight Trace bus81 $ref: /schemas/graph.yaml#/properties/port82 83required:84 - compatible85 - reg86 - clocks87 - clock-names88 - in-ports89 - out-ports90 91unevaluatedProperties: false92 93examples:94 - |95 replicator@20120000 {96 compatible = "arm,coresight-dynamic-replicator", "arm,primecell";97 reg = <0x20120000 0x1000>;98 99 clocks = <&soc_smc50mhz>;100 clock-names = "apb_pclk";101 102 out-ports {103 #address-cells = <1>;104 #size-cells = <0>;105 106 /* replicator output ports */107 port@0 {108 reg = <0>;109 replicator_out_port0: endpoint {110 remote-endpoint = <&tpiu_in_port>;111 };112 };113 114 port@1 {115 reg = <1>;116 replicator_out_port1: endpoint {117 remote-endpoint = <&etr_in_port>;118 };119 };120 };121 in-ports {122 port {123 replicator_in_port0: endpoint {124 remote-endpoint = <&csys2_funnel_out_port>;125 };126 };127 };128 };129...130