1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/dma/brcm,bcm2835-dma.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: BCM2835 DMA controller
10 - Nicolas Saenz Julienne <nsaenz@kernel.org>
13 The BCM2835 DMA controller has 16 channels in total. Only the lower
14 13 channels have an associated IRQ. Some arbitrary channels are used by the
15 VideoCore firmware (1,3,6,7 in the current firmware version). The channels
16 0, 2 and 3 have special functionality and should not be used by the driver.
19 - $ref: dma-controller.yaml#
23 const: brcm,bcm2835-dma
30 Should contain the DMA interrupts associated to the DMA channels in
40 description: The single cell represents the DREQ number.
43 brcm,dma-channel-mask:
44 $ref: /schemas/types.yaml#/definitions/uint32
46 Bitmask of available DMA channels in ascending order that are
47 not reserved by firmware and are available to the
48 kernel. i.e. first channel corresponds to LSB.
50 unevaluatedProperties: false
57 - brcm,dma-channel-mask
61 dma-controller@7e007000 {
62 compatible = "brcm,bcm2835-dma";
63 reg = <0x7e007000 0xf00>;
75 /* dma channel 11-14 share one irq */
80 /* unused shared irq for all channels */
82 interrupt-names = "dma0",
99 brcm,dma-channel-mask = <0x7f35>;