ARM: dts: sun8i: h3: Remove unnecessary reserved memory node
authorPaul Kocialkowski <paul.kocialkowski@bootlin.com>
Wed, 5 Dec 2018 09:24:32 +0000 (10:24 +0100)
committerMaxime Ripard <maxime.ripard@bootlin.com>
Wed, 5 Dec 2018 11:04:24 +0000 (12:04 +0100)
Just like on the A33, the video engine on the H3 can map any address in
memory, so there is no particular need to have reserved memory at a fixed
address.

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-h3.dtsi

index c2da3a3d373a9875ecb4229fb4b22ecb3f04661d..7e60317684012e5dab3034ef879a362722448449 100644 (file)
                             <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>;
        };
 
-       reserved-memory {
-               #address-cells = <1>;
-               #size-cells = <1>;
-               ranges;
-
-               default-pool {
-                       compatible = "shared-dma-pool";
-                       size = <0x6000000>;
-                       alloc-ranges = <0x4a000000 0x6000000>;
-                       reusable;
-                       linux,cma-default;
-               };
-       };
-
        soc {
                system-control@1c00000 {
                        compatible = "allwinner,sun8i-h3-system-control";