NVIDIA Tegra APB DMA Controller

Schema identifier ($id): "http://devicetree.org/schemas/dma/nvidia,tegra20-apbdma.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

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 (maintainers): "Jonathan Hunter <jonathanh@nvidia.com>"

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Allowed values (enum): "nvidia,tegra114-apbdma", "nvidia,tegra20-apbdma"

Rule 2

Array item rules (items)

Item 1

Exact value (const): "nvidia,tegra30-apbdma"

Item 2

Exact value (const): "nvidia,tegra20-apbdma"

Rule 3

Array item rules (items)

Item 1

Allowed values (enum): "nvidia,tegra124-apbdma", "nvidia,tegra210-apbdma"

Item 2

Exact value (const): "nvidia,tegra148-apbdma"

reg — required here #

Maximum number of items (maxItems): 1

#dma-cells — required here #

Exact value (const): 1

clocks — required here #

Maximum number of items (maxItems): 1

clock-names — not listed as required here #

Exact value (const): "dma"

interrupts — required here #

Should contain all of the per-channel DMA interrupts in ascending order with respect to the DMA channel index.

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 32

resets — required here #

Maximum number of items (maxItems): 1

reset-names — required here #

Exact value (const): "dma"

Required in this object (required): "compatible", "reg", "#dma-cells", "clocks", "interrupts", "resets", "reset-names"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): dma-controller.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (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>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Edit this page