Link: https://lore.kernel.org/r/20260217200002.683975158@linuxfoundation.org Tested-by: Florian Fainelli <florian.fainelli@broadcom.com> Tested-by: Takeshi Ogasawara <takeshi.ogasawara@futuring-girl.com> Tested-by: Peter Schneider <pschneider1968@googlemail.com> Tested-by: Jon Hunter <jonathanh@nvidia.com> Tested-by: Salvatore Bonaccorso <carnil@debian.org> Tested-by: Brett A C Sheffield <bacs@librecast.net> Tested-by: Mark Brown <broonie@kernel.org> Tested-by: Luna Jernberg <droidbittin@gmail.com> Tested-by: Ronald Warsow <rwarsow@gmx.de> Tested-by: Justin M. Forbes <jforbes@fedoraproject.org> Tested-by: Ron Economos <re@w6rz.net> Tested-by: Miguel Ojeda <ojeda@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
89 lines
1.8 KiB
YAML
89 lines
1.8 KiB
YAML
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/dma/xilinx/xlnx,zynqmp-dma-1.0.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: Xilinx ZynqMP DMA Engine
|
|
|
|
description: |
|
|
The Xilinx ZynqMP DMA engine supports memory to memory transfers,
|
|
memory to device and device to memory transfers. It also has flow
|
|
control and rate control support for slave/peripheral dma access.
|
|
|
|
maintainers:
|
|
- Michael Tretter <m.tretter@pengutronix.de>
|
|
- Harini Katakam <harini.katakam@amd.com>
|
|
- Radhey Shyam Pandey <radhey.shyam.pandey@amd.com>
|
|
|
|
allOf:
|
|
- $ref: ../dma-controller.yaml#
|
|
|
|
properties:
|
|
"#dma-cells":
|
|
const: 1
|
|
|
|
compatible:
|
|
enum:
|
|
- amd,versal2-dma-1.0
|
|
- xlnx,zynqmp-dma-1.0
|
|
|
|
reg:
|
|
description: memory map for gdma/adma module access
|
|
maxItems: 1
|
|
|
|
interrupts:
|
|
description: DMA channel interrupt
|
|
maxItems: 1
|
|
|
|
clocks:
|
|
description: input clocks
|
|
minItems: 2
|
|
maxItems: 2
|
|
|
|
clock-names:
|
|
items:
|
|
- const: clk_main
|
|
- const: clk_apb
|
|
|
|
xlnx,bus-width:
|
|
$ref: /schemas/types.yaml#/definitions/uint32
|
|
enum:
|
|
- 64
|
|
- 128
|
|
description: AXI bus width in bits
|
|
|
|
iommus:
|
|
maxItems: 1
|
|
|
|
power-domains:
|
|
maxItems: 1
|
|
|
|
dma-coherent: true
|
|
|
|
required:
|
|
- "#dma-cells"
|
|
- compatible
|
|
- reg
|
|
- interrupts
|
|
- clocks
|
|
- clock-names
|
|
- xlnx,bus-width
|
|
|
|
additionalProperties: false
|
|
|
|
examples:
|
|
- |
|
|
|
|
fpd_dma_chan1: dma-controller@fd500000 {
|
|
compatible = "xlnx,zynqmp-dma-1.0";
|
|
reg = <0xfd500000 0x1000>;
|
|
interrupt-parent = <&gic>;
|
|
interrupts = <0 117 0x4>;
|
|
#dma-cells = <1>;
|
|
clock-names = "clk_main", "clk_apb";
|
|
clocks = <&zynqmp_clk 19>, <&zynqmp_clk 31>;
|
|
xlnx,bus-width = <128>;
|
|
dma-coherent;
|
|
};
|