^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) # SPDX-License-Identifier: GPL-2.0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) %YAML 1.2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) ---
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) $id: http://devicetree.org/schemas/dma/dma-controller.yaml#
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) $schema: http://devicetree.org/meta-schemas/core.yaml#
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) title: DMA Controller Generic Binding
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) maintainers:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) - Vinod Koul <vkoul@kernel.org>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) allOf:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) - $ref: "dma-common.yaml#"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) # Everything else is described in the common file
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) properties:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) $nodename:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) pattern: "^dma-controller(@.*)?$"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) additionalProperties: true
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) examples:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) - |
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) dma: dma-controller@48000000 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) compatible = "ti,omap-sdma";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) reg = <0x48000000 0x1000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) interrupts = <0 12 0x4
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) 0 13 0x4
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) 0 14 0x4
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) 0 15 0x4>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) #dma-cells = <1>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) dma-channels = <32>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) dma-requests = <127>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) dma-channel-mask = <0xfffe>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) ...