| 1 |
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) |
| 2 |
%YAML 1.2 |
| 3 |
--- |
| 4 |
$id: http://devicetree.org/schemas/dma/sophgo,cv1800b-dmamux.yaml# |
| 5 |
$schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 |
|
| 7 |
title: Sophgo CV1800/SG200 Series DMA multiplexer |
| 8 |
|
| 9 |
maintainers: |
| 10 |
- Inochi Amaoto <[email protected]> |
| 11 |
|
| 12 |
description: |
| 13 |
The DMA multiplexer of CV1800 is a subdevice of the system |
| 14 |
controller. It support mapping 8 channels, but each channel |
| 15 |
can be mapped only once. |
| 16 |
|
| 17 |
allOf: |
| 18 |
- $ref: dma-router.yaml# |
| 19 |
|
| 20 |
properties: |
| 21 |
compatible: |
| 22 |
const: sophgo,cv1800b-dmamux |
| 23 |
|
| 24 |
reg: |
| 25 |
items: |
| 26 |
- description: DMA channal remapping register |
| 27 |
- description: DMA channel interrupt mapping register |
| 28 |
|
| 29 |
'#dma-cells': |
| 30 |
const: 2 |
| 31 |
description: |
| 32 |
The first cells is device id. The second one is the cpu id. |
| 33 |
|
| 34 |
dma-masters: |
| 35 |
maxItems: 1 |
| 36 |
|
| 37 |
required: |
| 38 |
- reg |
| 39 |
- '#dma-cells' |
| 40 |
- dma-masters |
| 41 |
|
| 42 |
additionalProperties: false |
| 43 |
|
| 44 |
examples: |
| 45 |
- | |
| 46 |
dma-router@154 { |
| 47 |
compatible = "sophgo,cv1800b-dmamux"; |
| 48 |
reg = <0x154 0x8>, <0x298 0x4>; |
| 49 |
#dma-cells = <2>; |
| 50 |
dma-masters = <&dmac>; |
| 51 |
}; |