1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/dma/loongson,ls2x-apbdma.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Loongson LS2X APB DMA controller
10 The Loongson LS2X APB DMA controller is used for transferring data
11 between system memory and the peripherals on the APB bus.
14 - Binbin Zhou <zhoubinbin@loongson.cn>
17 - $ref: dma-controller.yaml#
22 - const: loongson,ls2k1000-apbdma
24 - const: loongson,ls2k0500-apbdma
25 - const: loongson,ls2k1000-apbdma
46 additionalProperties: false
50 #include <dt-bindings/interrupt-controller/irq.h>
51 #include <dt-bindings/clock/loongson,ls2k-clk.h>
53 dma-controller@1fe00c00 {
54 compatible = "loongson,ls2k1000-apbdma";
55 reg = <0x1fe00c00 0x8>;
56 interrupt-parent = <&liointc1>;
57 interrupts = <12 IRQ_TYPE_LEVEL_HIGH>;
58 clocks = <&clk LOONGSON2_APB_CLK>;