Skip to content

Commit be08d27

Browse files
author
Nicolas Saenz Julienne
committed
ARM: dts: bcm283x: Add cells encoding format to firmware bus
With the introduction of 55c7c06 ("ARM: dts: bcm283x: Fix vc4's firmware bus DMA limitations") the firmware bus has to comply with /soc's DMA limitations. Ultimately linking both buses to a same dma-ranges property. The patch (and author) missed the fact that a bus' #address-cells and #size-cells properties are not inherited, but set to a fixed value which, in this case, doesn't match /soc's. This, although not breaking Linux's DMA mapping functionality, generates ugly dtc warnings. Fix the issue by adding the correct address and size cells properties under the firmware bus. Fixes: 55c7c06 ("ARM: dts: bcm283x: Fix vc4's firmware bus DMA limitations") Signed-off-by: Nicolas Saenz Julienne <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 55c7c06 commit be08d27

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

arch/arm/boot/dts/bcm2835-rpi.dtsi

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@
1414
soc {
1515
firmware: firmware {
1616
compatible = "raspberrypi,bcm2835-firmware", "simple-bus";
17+
#address-cells = <1>;
18+
#size-cells = <1>;
19+
1720
mboxes = <&mailbox>;
1821
dma-ranges;
1922
};

0 commit comments

Comments
 (0)