mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-18 22:14:16 +00:00
91 lines
2.4 KiB
YAML
91 lines
2.4 KiB
YAML
![]() |
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
||
|
%YAML 1.2
|
||
|
---
|
||
|
$id: http://devicetree.org/schemas/dma/nvidia,tegra20-apbdma.yaml#
|
||
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
||
|
|
||
|
title: NVIDIA Tegra APB DMA Controller
|
||
|
|
||
|
description:
|
||
|
The NVIDIA Tegra APB DMA controller is a hardware component that
|
||
|
enables direct memory access (DMA) on Tegra systems. It facilitates
|
||
|
data transfer between I/O devices and main memory without constant
|
||
|
CPU intervention.
|
||
|
|
||
|
maintainers:
|
||
|
- Jonathan Hunter <jonathanh@nvidia.com>
|
||
|
|
||
|
properties:
|
||
|
compatible:
|
||
|
oneOf:
|
||
|
- const: nvidia,tegra20-apbdma
|
||
|
- items:
|
||
|
- const: nvidia,tegra30-apbdma
|
||
|
- const: nvidia,tegra20-apbdma
|
||
|
|
||
|
reg:
|
||
|
maxItems: 1
|
||
|
|
||
|
"#dma-cells":
|
||
|
const: 1
|
||
|
|
||
|
clocks:
|
||
|
maxItems: 1
|
||
|
|
||
|
interrupts:
|
||
|
description:
|
||
|
Should contain all of the per-channel DMA interrupts in
|
||
|
ascending order with respect to the DMA channel index.
|
||
|
minItems: 1
|
||
|
maxItems: 32
|
||
|
|
||
|
resets:
|
||
|
maxItems: 1
|
||
|
|
||
|
reset-names:
|
||
|
const: dma
|
||
|
|
||
|
required:
|
||
|
- compatible
|
||
|
- reg
|
||
|
- "#dma-cells"
|
||
|
- clocks
|
||
|
- interrupts
|
||
|
- resets
|
||
|
- reset-names
|
||
|
|
||
|
allOf:
|
||
|
- $ref: dma-controller.yaml#
|
||
|
|
||
|
unevaluatedProperties: false
|
||
|
|
||
|
examples:
|
||
|
- |
|
||
|
#include <dt-bindings/interrupt-controller/arm-gic.h>
|
||
|
#include <dt-bindings/reset/tegra186-reset.h>
|
||
|
dma-controller@6000a000 {
|
||
|
compatible = "nvidia,tegra30-apbdma", "nvidia,tegra20-apbdma";
|
||
|
reg = <0x6000a000 0x1200>;
|
||
|
interrupts = <GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH>,
|
||
|
<GIC_SPI 137 IRQ_TYPE_LEVEL_HIGH>,
|
||
|
<GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>,
|
||
|
<GIC_SPI 139 IRQ_TYPE_LEVEL_HIGH>,
|
||
|
<GIC_SPI 140 IRQ_TYPE_LEVEL_HIGH>,
|
||
|
<GIC_SPI 141 IRQ_TYPE_LEVEL_HIGH>,
|
||
|
<GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
|
||
|
<GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>,
|
||
|
<GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>,
|
||
|
<GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>,
|
||
|
<GIC_SPI 146 IRQ_TYPE_LEVEL_HIGH>,
|
||
|
<GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH>,
|
||
|
<GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>,
|
||
|
<GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH>,
|
||
|
<GIC_SPI 150 IRQ_TYPE_LEVEL_HIGH>,
|
||
|
<GIC_SPI 151 IRQ_TYPE_LEVEL_HIGH>;
|
||
|
clocks = <&tegra_car 34>;
|
||
|
resets = <&tegra_car 34>;
|
||
|
reset-names = "dma";
|
||
|
#dma-cells = <1>;
|
||
|
};
|
||
|
...
|