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>
64 lines
1.4 KiB
YAML
64 lines
1.4 KiB
YAML
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/dma/socionext,uniphier-mio-dmac.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: UniPhier Media IO DMA controller
|
|
|
|
description: |
|
|
This works as an external DMA engine for SD/eMMC controllers etc.
|
|
found in UniPhier LD4, Pro4, sLD8 SoCs.
|
|
|
|
maintainers:
|
|
- Masahiro Yamada <yamada.masahiro@socionext.com>
|
|
|
|
allOf:
|
|
- $ref: dma-controller.yaml#
|
|
|
|
properties:
|
|
compatible:
|
|
const: socionext,uniphier-mio-dmac
|
|
|
|
reg:
|
|
maxItems: 1
|
|
|
|
interrupts:
|
|
description: |
|
|
A list of interrupt specifiers associated with the DMA channels.
|
|
The number of interrupt lines is SoC-dependent.
|
|
|
|
clocks:
|
|
maxItems: 1
|
|
|
|
resets:
|
|
maxItems: 1
|
|
|
|
'#dma-cells':
|
|
description: The single cell represents the channel index.
|
|
const: 1
|
|
|
|
required:
|
|
- compatible
|
|
- reg
|
|
- interrupts
|
|
- clocks
|
|
- '#dma-cells'
|
|
|
|
additionalProperties: false
|
|
|
|
examples:
|
|
- |
|
|
// In the example below, "interrupts = <0 68 4>, <0 68 4>, ..." is not a
|
|
// typo. The first two channels share a single interrupt line.
|
|
|
|
dmac: dma-controller@5a000000 {
|
|
compatible = "socionext,uniphier-mio-dmac";
|
|
reg = <0x5a000000 0x1000>;
|
|
interrupts = <0 68 4>, <0 68 4>, <0 69 4>, <0 70 4>,
|
|
<0 71 4>, <0 72 4>, <0 73 4>, <0 74 4>;
|
|
clocks = <&mio_clk 7>;
|
|
resets = <&mio_rst 7>;
|
|
#dma-cells = <1>;
|
|
};
|