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