ARM: dts: aspeed: rainier: Enable XDMA engine
authorEddie James <eajames@linux.ibm.com>
Mon, 17 Aug 2020 17:53:06 +0000 (12:53 -0500)
committerJoel Stanley <joel@jms.id.au>
Tue, 25 Aug 2020 05:18:22 +0000 (14:48 +0930)
Fix the VGA reserved memory node, and add the XDMA engine node,
enable it, and point it's memory region to the VGA memory.

Signed-off-by: Eddie James <eajames@linux.ibm.com>
Signed-off-by: Joel Stanley <joel@jms.id.au>
arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts

index b94421f..d64ff64 100644 (file)
                };
 
                vga_memory: region@bf000000 {
-                        no-map;
-                        reg = <0xbf000000 0x01000000>;  /* 16M */
-                };
+                       no-map;
+                       compatible = "shared-dma-pool";
+                       reg = <0xbf000000 0x01000000>;  /* 16M */
+               };
        };
 
        gpio-keys {
                spi-max-frequency = <100000000>;
        };
 };
+
+&xdma {
+       status = "okay";
+       memory-region = <&vga_memory>;
+};