31840e5437d5e40c5e993ed18f4afccc9dbee135
[openwrt/staging/981213.git] /
1 From 142ad0b8433d6beb87070bd39a6b2d23ca9cae30 Mon Sep 17 00:00:00 2001
2 From: Nicolas Saenz Julienne <nsaenzjulienne@suse.de>
3 Date: Thu, 19 Mar 2020 20:00:13 +0100
4 Subject: [PATCH] ARM: dts: bcm283x: Fix vc4's firmware bus DMA
5 limitations
6
7 The bus is virtual and devices have to inherit their DMA constraints
8 from the underlying interconnect. So add an empty dma-ranges property to
9 the bus node, implying the firmware bus' DMA constraints are identical to
10 its parent's.
11
12 Fixes: 7dbe8c62ceeb ("ARM: dts: Add minimal Raspberry Pi 4 support")
13 Signed-off-by: Nicolas Saenz Julienne <nsaenzjulienne@suse.de>
14 Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
15 ---
16 arch/arm/boot/dts/bcm2835-rpi.dtsi | 1 +
17 1 file changed, 1 insertion(+)
18
19 --- a/arch/arm/boot/dts/bcm2835-rpi.dtsi
20 +++ b/arch/arm/boot/dts/bcm2835-rpi.dtsi
21 @@ -15,6 +15,7 @@
22 firmware: firmware {
23 compatible = "raspberrypi,bcm2835-firmware", "simple-bus";
24 mboxes = <&mailbox>;
25 + dma-ranges;
26 };
27
28 power: power {