Skip to content

Commit 3abdd3e

Browse files
Linus Walleijffainelli
authored andcommitted
ARM: dts: bcm6846: Add ARM PL081 DMA block
The ARM PL081 DMA controller can be found in the BCM6846 memory map, and it turns out to work. The block may be used as DMA engine for some of the peripherals (maybe the EMMC controller found in the same group of peripherals?) but it can always be used as a memcpy engine, which is a generic "blitter". I tested it with the dmatest module, and it copies lots of data very fast and fires hundreds of thousands of interrupts so it works just fine. Add it to the BCM6846 DTSI file. Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Link: https://lore.kernel.org/r/20241019-genexis-xg6846b-base-v3-6-8375a0e1f89f@linaro.org Signed-off-by: Florian Fainelli <florian.fainelli@broadcom.com>
1 parent 71449ff commit 3abdd3e

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

arch/arm/boot/dts/broadcom/bcm6846.dtsi

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,5 +240,18 @@
240240
#size-cells = <0>;
241241
status = "disabled";
242242
};
243+
244+
pl081_dma: dma-controller@59000 {
245+
compatible = "arm,pl081", "arm,primecell";
246+
// The magic B105F00D info is missing
247+
arm,primecell-periphid = <0x00041081>;
248+
reg = <0x59000 0x1000>;
249+
interrupts = <GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH>;
250+
memcpy-burst-size = <256>;
251+
memcpy-bus-width = <32>;
252+
clocks = <&periph_clk>;
253+
clock-names = "apb_pclk";
254+
#dma-cells = <2>;
255+
};
243256
};
244257
};

0 commit comments

Comments
 (0)