summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/bcm2835-rpi.dtsi
diff options
context:
space:
mode:
authorNicolas Saenz Julienne <nsaenzjulienne@suse.de>2020-03-26 14:44:13 +0100
committerNicolas Saenz Julienne <nsaenzjulienne@suse.de>2020-03-27 21:36:17 +0100
commitbe08d278eb09210fefbad4c9b27d7843f1c096b2 (patch)
treecab46ab215cae59ebaa334d7a82938213e650d3b /arch/arm/boot/dts/bcm2835-rpi.dtsi
parent55c7c0621078bd73e9d4d2a11eb36e61bc6fe998 (diff)
downloadlinux-sh-be08d278eb09210fefbad4c9b27d7843f1c096b2.tar.gz
ARM: dts: bcm283x: Add cells encoding format to firmware bus
With the introduction of 55c7c0621078 ("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: 55c7c0621078 ("ARM: dts: bcm283x: Fix vc4's firmware bus DMA limitations") Signed-off-by: Nicolas Saenz Julienne <nsaenzjulienne@suse.de> Link: https://lore.kernel.org/r/20200326134413.12298-1-nsaenzjulienne@suse.de
Diffstat (limited to 'arch/arm/boot/dts/bcm2835-rpi.dtsi')
-rw-r--r--arch/arm/boot/dts/bcm2835-rpi.dtsi3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/bcm2835-rpi.dtsi b/arch/arm/boot/dts/bcm2835-rpi.dtsi
index fd2c766e0f71..f7ae5a4530b8 100644
--- a/arch/arm/boot/dts/bcm2835-rpi.dtsi
+++ b/arch/arm/boot/dts/bcm2835-rpi.dtsi
@@ -14,6 +14,9 @@
soc {
firmware: firmware {
compatible = "raspberrypi,bcm2835-firmware", "simple-bus";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
mboxes = <&mailbox>;
dma-ranges;
};