Skip to contentSkip to conversation

ARM: dts: Aspeed: Rainier: Enable XDMA engine

PATCH New Eddie James 1 participant 1 message Aug 17, 2020

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: dts: Aspeed: Rainier: Enable XDMA engine

Fix the VGA reserved memory node, and add the XDMA engine node, enable it, and point it's memory region to the VGA memory.

---
 arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)
arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts +9 -3
index 4992cf87501d..cbc64a1d14d1 100644
@@ -52,9 +52,10 @@ flash_memory: region@B8000000 {
 		};
 
 		vga_memory: region@bf000000 {
-                        no-map;
-                        reg = <0xbf000000 0x01000000>;  /* 16M */
-                };
+			no-map;
+			compatible = "shared-dma-pool";
+			reg = <0xbf000000 0x01000000>;  /* 16M */
+		};
 	};
 
 	gpio-keys {
@@ -1228,3 +1229,8 @@ flash@0 {
 		spi-max-frequency = <100000000>;
 	};
 };
+
+&xdma {
+	status = "okay";
+	memory-region = <&vga_memory>;
+};
Signature · 1 line
2.26.2