ARM: dts: bcm283x: Fix vc4's firmware bus DMA limitations
authorNicolas Saenz Julienne <nsaenzjulienne@suse.de>
Thu, 19 Mar 2020 19:00:13 +0000 (20:00 +0100)
committerpopcornmix <popcornmix@gmail.com>
Wed, 1 Jul 2020 15:33:46 +0000 (16:33 +0100)
The bus is virtual and devices have to inherit their DMA constraints
from the underlying interconnect. So add an empty dma-ranges property to
the bus node, implying the firmware bus' DMA constraints are identical to
its parent's.

Fixes: 7dbe8c62ceeb ("ARM: dts: Add minimal Raspberry Pi 4 support")
Signed-off-by: Nicolas Saenz Julienne <nsaenzjulienne@suse.de>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
arch/arm/boot/dts/bcm2835-rpi.dtsi

index 394c8a7..fd2c766 100644 (file)
@@ -15,6 +15,7 @@
                firmware: firmware {
                        compatible = "raspberrypi,bcm2835-firmware", "simple-bus";
                        mboxes = <&mailbox>;
+                       dma-ranges;
                };
 
                power: power {