Lines Matching +full:channel +full:- +full:3
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
5 ---
6 $id: http://devicetree.org/schemas/dma/ti/k3-bcdma.yaml#
7 $schema: http://devicetree.org/meta-schemas/core.yaml#
12 - Peter Ujfalusi <peter.ujfalusi@gmail.com>
16 mode channels of K3 UDMA-P.
20 optional triggers a block copy channel can service peripherals by accessing
23 Split channels can be used to service PSI-L based peripherals.
24 The peripherals can be PSI-L native or legacy, non PSI-L native peripherals
25 with PDMAs. PDMA is tasked to act as a bridge between the PSI-L fabric and the
28 PDMAs can be configured via BCDMA split channel's peer registers to match with
34 - ti,am62a-dmss-bcdma-csirx
35 - ti,am64-dmss-bcdma
36 - ti,j721s2-dmss-bcdma-csi
39 minItems: 3
42 reg-names:
43 minItems: 3
46 "#dma-cells":
47 const: 3
49 cell 1: type of the BCDMA channel to be used to service the peripheral:
50 0 - split channel
51 1 - block copy channel using global trigger 1
52 2 - block copy channel using global trigger 2
53 3 - block copy channel using local trigger
55 cell 2: parameter for the channel:
56 if cell 1 is 0 (split channel):
57 PSI-L thread ID of the remote (to BCDMA) end.
59 for source thread IDs (rx): 0 - 0x7fff
60 for destination thread IDs (tx): 0x8000 - 0xffff
62 Please refer to the device documentation for the PSI-L thread map and
63 also the PSI-L peripheral chapter for the correct thread ID.
64 if cell 1 is 1 or 2 (block copy channel using global trigger):
67 The trigger must be configured for the channel externally to BCDMA,
70 if cell 1 is 3 (block copy channel using local trigger):
71 bchan number of the locally triggered channel
73 cell 3: ASEL value for the channel
75 msi-parent: true
77 power-domains:
86 ti,sci-rm-range-bchan:
87 $ref: /schemas/types.yaml#/definitions/uint32-array
89 Array of BCDMA block-copy channel resource subtypes for resource
97 ti,sci-rm-range-tchan:
98 $ref: /schemas/types.yaml#/definitions/uint32-array
100 Array of BCDMA split tx channel resource subtypes for resource allocation
108 ti,sci-rm-range-rchan:
109 $ref: /schemas/types.yaml#/definitions/uint32-array
111 Array of BCDMA split rx channel resource subtypes for resource allocation
120 - compatible
121 - "#dma-cells"
122 - reg
123 - reg-names
124 - msi-parent
125 - ti,sci
126 - ti,sci-dev-id
127 - ti,sci-rm-range-rchan
130 - $ref: /schemas/dma/dma-controller.yaml#
131 - $ref: /schemas/arm/keystone/ti,k3-sci-common.yaml#
133 - if:
137 const: ti,am62a-dmss-bcdma-csirx
140 ti,sci-rm-range-bchan: false
141 ti,sci-rm-range-tchan: false
145 - description: BCDMA Control /Status Registers region
146 - description: RX Channel Realtime Registers region
147 - description: Ring Realtime Registers region
149 reg-names:
151 - const: gcfg
152 - const: rchanrt
153 - const: ringrt
156 - power-domains
158 - if:
162 const: ti,am64-dmss-bcdma
168 - description: BCDMA Control /Status Registers region
169 - description: Block Copy Channel Realtime Registers region
170 - description: RX Channel Realtime Registers region
171 - description: TX Channel Realtime Registers region
172 - description: Ring Realtime Registers region
173 - description: Ring Configuration Registers region
174 - description: TX Channel Configuration Registers region
175 - description: RX Channel Configuration Registers region
176 - description: Block Copy Channel Configuration Registers region
178 reg-names:
181 - const: gcfg
182 - const: bchanrt
183 - const: rchanrt
184 - const: tchanrt
185 - const: ringrt
186 - const: ring
187 - const: tchan
188 - const: rchan
189 - const: bchan
192 - ti,sci-rm-range-bchan
193 - ti,sci-rm-range-tchan
195 - if:
199 const: ti,j721s2-dmss-bcdma-csi
202 ti,sci-rm-range-bchan: false
206 - description: BCDMA Control /Status Registers region
207 - description: RX Channel Realtime Registers region
208 - description: TX Channel Realtime Registers region
209 - description: Ring Realtime Registers region
211 reg-names:
213 - const: gcfg
214 - const: rchanrt
215 - const: tchanrt
216 - const: ringrt
219 - ti,sci-rm-range-tchan
224 - |+
226 #address-cells = <2>;
227 #size-cells = <2>;
230 compatible = "simple-mfd";
231 #address-cells = <2>;
232 #size-cells = <2>;
233 dma-ranges;
236 ti,sci-dev-id = <25>;
238 main_bcdma: dma-controller@485c0100 {
239 compatible = "ti,am64-dmss-bcdma";
250 reg-names = "gcfg", "bchanrt", "rchanrt", "tchanrt", "ringrt",
252 msi-parent = <&inta_main_dmss>;
253 #dma-cells = <3>;
256 ti,sci-dev-id = <26>;
258 ti,sci-rm-range-bchan = <0x20>; /* BLOCK_COPY_CHAN */
259 ti,sci-rm-range-rchan = <0x21>; /* SPLIT_TR_RX_CHAN */
260 ti,sci-rm-range-tchan = <0x22>; /* SPLIT_TR_TX_CHAN */