Path: blob/master/Documentation/devicetree/bindings/dma/fsl,elo-dma.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/fsl,elo-dma.yaml#4$schema: http://devicetree.org/meta-schemas/core.yaml#56title: Freescale Elo DMA Controller78maintainers:9- J. Neuschäfer <j.ne@posteo.net>1011description:12This is a little-endian 4-channel DMA controller, used in Freescale mpc83xx13series chips such as mpc8315, mpc8349, mpc8379 etc.1415properties:16compatible:17items:18- enum:19- fsl,mpc8313-dma20- fsl,mpc8315-dma21- fsl,mpc8323-dma22- fsl,mpc8347-dma23- fsl,mpc8349-dma24- fsl,mpc8360-dma25- fsl,mpc8377-dma26- fsl,mpc8378-dma27- fsl,mpc8379-dma28- const: fsl,elo-dma2930reg:31items:32- description:33DMA General Status Register, i.e. DGSR which contains status for34all the 4 DMA channels.3536cell-index:37$ref: /schemas/types.yaml#/definitions/uint3238description: Controller index. 0 for controller @ 0x8100.3940ranges: true4142"#address-cells":43const: 14445"#size-cells":46const: 14748interrupts:49maxItems: 150description: Controller interrupt.5152required:53- compatible54- reg5556patternProperties:57"^dma-channel@[0-9a-f]+$":58type: object59additionalProperties: false6061properties:62compatible:63oneOf:64# native DMA channel65- items:66- enum:67- fsl,mpc8315-dma-channel68- fsl,mpc8323-dma-channel69- fsl,mpc8347-dma-channel70- fsl,mpc8349-dma-channel71- fsl,mpc8360-dma-channel72- fsl,mpc8377-dma-channel73- fsl,mpc8378-dma-channel74- fsl,mpc8379-dma-channel75- const: fsl,elo-dma-channel7677# audio DMA channel, see fsl,ssi.yaml78- const: fsl,ssi-dma-channel7980reg:81maxItems: 18283cell-index:84description: DMA channel index starts at 0.8586interrupts:87maxItems: 188description:89Per-channel interrupt. Only necessary if no controller interrupt has90been provided.9192additionalProperties: false9394examples:95- |96#include <dt-bindings/interrupt-controller/irq.h>9798dma@82a8 {99compatible = "fsl,mpc8349-dma", "fsl,elo-dma";100reg = <0x82a8 4>;101#address-cells = <1>;102#size-cells = <1>;103ranges = <0 0x8100 0x1a4>;104interrupts = <71 IRQ_TYPE_LEVEL_LOW>;105cell-index = <0>;106107dma-channel@0 {108compatible = "fsl,mpc8349-dma-channel", "fsl,elo-dma-channel";109reg = <0 0x80>;110cell-index = <0>;111interrupts = <71 IRQ_TYPE_LEVEL_LOW>;112};113114dma-channel@80 {115compatible = "fsl,mpc8349-dma-channel", "fsl,elo-dma-channel";116reg = <0x80 0x80>;117cell-index = <1>;118interrupts = <71 IRQ_TYPE_LEVEL_LOW>;119};120121dma-channel@100 {122compatible = "fsl,mpc8349-dma-channel", "fsl,elo-dma-channel";123reg = <0x100 0x80>;124cell-index = <2>;125interrupts = <71 IRQ_TYPE_LEVEL_LOW>;126};127128dma-channel@180 {129compatible = "fsl,mpc8349-dma-channel", "fsl,elo-dma-channel";130reg = <0x180 0x80>;131cell-index = <3>;132interrupts = <71 IRQ_TYPE_LEVEL_LOW>;133};134};135136...137138139