Path: blob/master/Documentation/devicetree/bindings/dma/qcom,adm.yaml
26308 views
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)1%YAML 1.22---3$id: http://devicetree.org/schemas/dma/qcom,adm.yaml#4$schema: http://devicetree.org/meta-schemas/core.yaml#56title: Qualcomm ADM DMA Controller78maintainers:9- Christian Marangi <ansuelsmth@gmail.com>10- Bjorn Andersson <bjorn.andersson@linaro.org>1112description: |13QCOM ADM DMA controller provides DMA capabilities for14peripheral buses such as NAND and SPI.1516properties:17compatible:18const: qcom,adm1920reg:21maxItems: 12223interrupts:24maxItems: 12526"#dma-cells":27const: 12829clocks:30items:31- description: phandle to the core clock32- description: phandle to the iface clock3334clock-names:35items:36- const: core37- const: iface3839resets:40items:41- description: phandle to the clk reset42- description: phandle to the pbus reset43- description: phandle to the c0 reset44- description: phandle to the c1 reset45- description: phandle to the c2 reset4647reset-names:48items:49- const: clk50- const: pbus51- const: c052- const: c153- const: c25455qcom,ee:56$ref: /schemas/types.yaml#/definitions/uint3257description: indicates the security domain identifier used in the secure world.58minimum: 059maximum: 2556061required:62- compatible63- reg64- interrupts65- "#dma-cells"66- clocks67- clock-names68- resets69- reset-names70- qcom,ee7172additionalProperties: false7374examples:75- |76#include <dt-bindings/clock/qcom,gcc-ipq806x.h>77#include <dt-bindings/reset/qcom,gcc-ipq806x.h>7879adm_dma: dma-controller@18300000 {80compatible = "qcom,adm";81reg = <0x18300000 0x100000>;82interrupts = <0 170 0>;83#dma-cells = <1>;8485clocks = <&gcc ADM0_CLK>,86<&gcc ADM0_PBUS_CLK>;87clock-names = "core", "iface";8889resets = <&gcc ADM0_RESET>,90<&gcc ADM0_PBUS_RESET>,91<&gcc ADM0_C0_RESET>,92<&gcc ADM0_C1_RESET>,93<&gcc ADM0_C2_RESET>;94reset-names = "clk", "pbus", "c0", "c1", "c2";95qcom,ee = <0>;96};9798...99100101