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