dtoverlays: Correct field sizes in pcie-32bit-dma
authorDave Stevenson <dave.stevenson@raspberrypi.com>
Thu, 3 Feb 2022 12:16:45 +0000 (12:16 +0000)
committerPhil Elwell <8911409+pelwell@users.noreply.github.com>
Thu, 3 Feb 2022 14:00:34 +0000 (14:00 +0000)
Adding the dma-ranges to the overlay missed setting the field sizes,
so the compiler rightly flagged a warning.

https://github.com/raspberrypi/linux/issues/4848

Fixes: ee6a81c85402 "dtoverlay: Reduce size of PCIE IB window in pcie-32-dma overlay"

Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
arch/arm/boot/dts/overlays/pcie-32bit-dma-overlay.dts

index e01c9ce..9557035 100644 (file)
@@ -28,6 +28,8 @@
                         * so the range ends up being 0-4GB, and the MSI vector
                         * gets pushed beyond 4GB.
                         */
+                       #address-cells = <3>;
+                       #size-cells = <2>;
                        dma-ranges = <0x02000000 0x0 0x00000000 0x0 0x00000000
                                      0x0 0x80000000>;
                };