Path: blob/master/Documentation/devicetree/bindings/dma/loongson,ls2x-apbdma.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/loongson,ls2x-apbdma.yaml#4$schema: http://devicetree.org/meta-schemas/core.yaml#56title: Loongson LS2X APB DMA controller78description:9The Loongson LS2X APB DMA controller is used for transferring data10between system memory and the peripherals on the APB bus.1112maintainers:13- Binbin Zhou <zhoubinbin@loongson.cn>1415allOf:16- $ref: dma-controller.yaml#1718properties:19compatible:20oneOf:21- const: loongson,ls2k1000-apbdma22- items:23- const: loongson,ls2k0500-apbdma24- const: loongson,ls2k1000-apbdma2526reg:27maxItems: 12829interrupts:30maxItems: 13132clocks:33maxItems: 13435'#dma-cells':36const: 13738required:39- compatible40- reg41- interrupts42- clocks43- '#dma-cells'4445additionalProperties: false4647examples:48- |49#include <dt-bindings/interrupt-controller/irq.h>50#include <dt-bindings/clock/loongson,ls2k-clk.h>5152dma-controller@1fe00c00 {53compatible = "loongson,ls2k1000-apbdma";54reg = <0x1fe00c00 0x8>;55interrupt-parent = <&liointc1>;56interrupts = <12 IRQ_TYPE_LEVEL_HIGH>;57clocks = <&clk LOONGSON2_APB_CLK>;58#dma-cells = <1>;59};6061...626364