ARM: dts: sun8i: a33: Remove unnecessary reserved memory node
authorPaul Kocialkowski <paul.kocialkowski@bootlin.com>
Wed, 5 Dec 2018 09:24:31 +0000 (10:24 +0100)
committerMaxime Ripard <maxime.ripard@bootlin.com>
Wed, 5 Dec 2018 11:04:21 +0000 (12:04 +0100)
While we believed that the memory for the video engine had to be kept
in the first 256 MiBs of DRAM, this is no longer true starting with the
A33 and any address can be mapped.

As a result, remove the reserved memory node and let the kernel allocate
the CMA pool wherever it sees fit.

Signed-off-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
Acked-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
arch/arm/boot/dts/sun8i-a33.dtsi

index c2c10cd4a210c2d5dcf58f08378220290aa43797..9ac4fae6c10d1c06581c2dfefab4a4f6b24d3618 100644 (file)
                };
        };
 
-       reserved-memory {
-               #address-cells = <1>;
-               #size-cells = <1>;
-               ranges;
-
-               /* Address must be kept in the lower 256 MiBs of DRAM for VE. */
-               default-pool {
-                       compatible = "shared-dma-pool";
-                       size = <0x6000000>;
-                       alloc-ranges = <0x4a000000 0x6000000>;
-                       reusable;
-                       linux,cma-default;
-               };
-       };
-
        sound: sound {
                compatible = "simple-audio-card";
                simple-audio-card,name = "sun8i-a33-audio";