Documentation / devicetree / bindings / dma / sophgo,cv1800b-dmamux.yaml


Based on kernel version 6.17. Page generated on 2025-10-03 10:04 EST.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/dma/sophgo,cv1800b-dmamux.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Sophgo CV1800/SG200 Series DMA multiplexer

maintainers:
  - Inochi Amaoto <inochiama@gmail.com>

description:
  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.

allOf:
  - $ref: dma-router.yaml#

properties:
  compatible:
    const: sophgo,cv1800b-dmamux

  reg:
    items:
      - description: DMA channal remapping register
      - description: DMA channel interrupt mapping register
 
  '#dma-cells':
    const: 2
    description:
      The first cells is device id. The second one is the cpu id.

  dma-masters:
    maxItems: 1

required:
  - reg
  - '#dma-cells'
  - dma-masters

additionalProperties: false

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