Sophgo CV1800/SG200 Series DMA multiplexer

Schema identifier ($id): "http://devicetree.org/schemas/dma/sophgo,cv1800b-dmamux.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Inochi Amaoto <inochiama@gmail.com>"

The DMA multiplexer of CV1800 is a subdevice of the system controller. It support mapping 8 channels, but each channel can be mapped only once.

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): dma-router.yaml#

Properties and child nodes (properties) #

compatible — not listed as required here #

Exact value (const): "sophgo,cv1800b-dmamux"

reg — required here #

Array item rules (items) #

Item 1

DMA channal remapping register

Item 2

DMA channel interrupt mapping register

#dma-cells — required here #

Exact value (const): 2

The first cells is device id. The second one is the cpu id.

dma-masters — required here #

Maximum number of items (maxItems): 1

Required in this object (required): "reg", "#dma-cells", "dma-masters"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

dma-router@154 {
  compatible = "sophgo,cv1800b-dmamux";
  reg = <0x154 0x8>, <0x298 0x4>;
  #dma-cells = <2>;
  dma-masters = <&dmac>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Edit this page