Path: blob/master/Documentation/devicetree/bindings/dma/cirrus,ep9301-dma-m2p.yaml
26308 views
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)1%YAML 1.22---3$id: http://devicetree.org/schemas/dma/cirrus,ep9301-dma-m2p.yaml#4$schema: http://devicetree.org/meta-schemas/core.yaml#56title: Cirrus Logic ep93xx SoC M2P DMA controller78maintainers:9- Alexander Sverdlin <alexander.sverdlin@gmail.com>10- Nikita Shubin <nikita.shubin@maquefel.me>1112allOf:13- $ref: dma-controller.yaml#1415properties:16compatible:17oneOf:18- const: cirrus,ep9301-dma-m2p19- items:20- enum:21- cirrus,ep9302-dma-m2p22- cirrus,ep9307-dma-m2p23- cirrus,ep9312-dma-m2p24- cirrus,ep9315-dma-m2p25- const: cirrus,ep9301-dma-m2p2627reg:28items:29- description: m2p0 channel registers30- description: m2p1 channel registers31- description: m2p2 channel registers32- description: m2p3 channel registers33- description: m2p4 channel registers34- description: m2p5 channel registers35- description: m2p6 channel registers36- description: m2p7 channel registers37- description: m2p8 channel registers38- description: m2p9 channel registers3940clocks:41items:42- description: m2p0 channel gate clock43- description: m2p1 channel gate clock44- description: m2p2 channel gate clock45- description: m2p3 channel gate clock46- description: m2p4 channel gate clock47- description: m2p5 channel gate clock48- description: m2p6 channel gate clock49- description: m2p7 channel gate clock50- description: m2p8 channel gate clock51- description: m2p9 channel gate clock5253clock-names:54items:55- const: m2p056- const: m2p157- const: m2p258- const: m2p359- const: m2p460- const: m2p561- const: m2p662- const: m2p763- const: m2p864- const: m2p96566interrupts:67items:68- description: m2p0 channel interrupt69- description: m2p1 channel interrupt70- description: m2p2 channel interrupt71- description: m2p3 channel interrupt72- description: m2p4 channel interrupt73- description: m2p5 channel interrupt74- description: m2p6 channel interrupt75- description: m2p7 channel interrupt76- description: m2p8 channel interrupt77- description: m2p9 channel interrupt7879'#dma-cells':80const: 281description: |82The first cell is the unique device channel number as indicated by this83table for ep93xx:84850: I2S channel 1861: I2S channel 2 (unused)872: AC97 channel 1 (unused)883: AC97 channel 2 (unused)894: AC97 channel 3 (unused)905: I2S channel 3 (unused)916: UART1 (unused)927: UART2 (unused)938: UART3 (unused)949: IRDA (unused)9596The second cell is the DMA direction line number:97981: Memory to device992: Device to memory100101required:102- compatible103- reg104- clocks105- clock-names106- interrupts107108additionalProperties: false109110examples:111- |112#include <dt-bindings/clock/cirrus,ep9301-syscon.h>113dma-controller@80000000 {114compatible = "cirrus,ep9301-dma-m2p";115reg = <0x80000000 0x0040>,116<0x80000040 0x0040>,117<0x80000080 0x0040>,118<0x800000c0 0x0040>,119<0x80000240 0x0040>,120<0x80000200 0x0040>,121<0x800002c0 0x0040>,122<0x80000280 0x0040>,123<0x80000340 0x0040>,124<0x80000300 0x0040>;125clocks = <&syscon EP93XX_CLK_M2P0>,126<&syscon EP93XX_CLK_M2P1>,127<&syscon EP93XX_CLK_M2P2>,128<&syscon EP93XX_CLK_M2P3>,129<&syscon EP93XX_CLK_M2P4>,130<&syscon EP93XX_CLK_M2P5>,131<&syscon EP93XX_CLK_M2P6>,132<&syscon EP93XX_CLK_M2P7>,133<&syscon EP93XX_CLK_M2P8>,134<&syscon EP93XX_CLK_M2P9>;135clock-names = "m2p0", "m2p1",136"m2p2", "m2p3",137"m2p4", "m2p5",138"m2p6", "m2p7",139"m2p8", "m2p9";140interrupt-parent = <&vic0>;141interrupts = <7>, <8>, <9>, <10>, <11>, <12>, <13>, <14>, <15>, <16>;142#dma-cells = <2>;143};144145146