ARM: dts: bcm283x: Drop unneeded properties in the bcm2835-firmware node
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Tue, 26 Mar 2024 19:58:07 +0000 (21:58 +0200)
committerFlorian Fainelli <florian.fainelli@broadcom.com>
Thu, 4 Apr 2024 16:49:28 +0000 (09:49 -0700)
The firmware node contains a "dma-ranges" property to enable usage of
the DMA mapping API with its child devices, along with "#address-cells"
and "#size-cells" properties to support the dma-ranges. This was needed
due to usage of the incorrect device to perform the DMA mapping in
drivers. Now that this has been fixed, drop the properties.

This effectively reverts commits be08d278eb09 ("ARM: dts: bcm283x: Add
cells encoding format to firmware bus") and 55c7c0621078 ("ARM: dts:
bcm283x: Fix vc4's firmware bus DMA limitations").

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Stefan Wahren <wahrenst@gmx.net>
Tested-by: Ivan T. Ivanov <iivanov@suse.de>
Link: https://lore.kernel.org/r/20240326195807.15163-4-laurent.pinchart@ideasonboard.com
Signed-off-by: Florian Fainelli <florian.fainelli@broadcom.com>
arch/arm/boot/dts/broadcom/bcm2835-rpi.dtsi

index f0acc9390f317c16d7fa148be4861a7eb2269d72..761a9da97bd0197fd00ef2e4cacb61f7f5fac22d 100644 (file)
@@ -4,11 +4,7 @@
        soc {
                firmware: firmware {
                        compatible = "raspberrypi,bcm2835-firmware", "simple-mfd";
-                       #address-cells = <1>;
-                       #size-cells = <1>;
-
                        mboxes = <&mailbox>;
-                       dma-ranges;
                };
 
                power: power {