Qualcomm ADM DMA Controller

Schema identifier ($id): "http://devicetree.org/schemas/dma/qcom,adm.yaml#"

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

Maintainers (maintainers): "Christian Marangi <ansuelsmth@gmail.com>", "Bjorn Andersson <bjorn.andersson@linaro.org>"

QCOM ADM DMA controller provides DMA capabilities for peripheral buses such as NAND and SPI.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "qcom,adm"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

#dma-cells — required here #

Exact value (const): 1

clocks — required here #

Array item rules (items) #

Item 1

phandle to the core clock

Item 2

phandle to the iface clock

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "core"

Item 2

Exact value (const): "iface"

resets — required here #

Array item rules (items) #

Item 1

phandle to the clk reset

Item 2

phandle to the pbus reset

Item 3

phandle to the c0 reset

Item 4

phandle to the c1 reset

Item 5

phandle to the c2 reset

reset-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "clk"

Item 2

Exact value (const): "pbus"

Item 3

Exact value (const): "c0"

Item 4

Exact value (const): "c1"

Item 5

Exact value (const): "c2"

qcom,ee — required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

indicates the security domain identifier used in the secure world.

Minimum value (minimum): 0

Maximum value (maximum): 255

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

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,gcc-ipq806x.h>
#include <dt-bindings/reset/qcom,gcc-ipq806x.h>

adm_dma: dma-controller@18300000 {
    compatible = "qcom,adm";
    reg = <0x18300000 0x100000>;
    interrupts = <0 170 0>;
    #dma-cells = <1>;

    clocks = <&gcc ADM0_CLK>,
              <&gcc ADM0_PBUS_CLK>;
    clock-names = "core", "iface";

    resets = <&gcc ADM0_RESET>,
              <&gcc ADM0_PBUS_RESET>,
              <&gcc ADM0_C0_RESET>,
              <&gcc ADM0_C1_RESET>,
              <&gcc ADM0_C2_RESET>;
    reset-names = "clk", "pbus", "c0", "c1", "c2";
    qcom,ee = <0>;
};

Source notes #

Annotations retained from the schema source

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

Edit this page