summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts
diff options
context:
space:
mode:
authorEddie James <eajames@linux.ibm.com>2020-05-05 19:58:24 +0300
committerJoel Stanley <joel@jms.id.au>2020-07-20 07:58:08 +0300
commit67268c28cc5f478e81022ebc37d6323dc68f7047 (patch)
tree524a7cb00680ffdaf3477326116613866c66bf3f /arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts
parent645afe73f9512ee2fc636b741cacd23a513eb8d6 (diff)
downloadlinux-67268c28cc5f478e81022ebc37d6323dc68f7047.tar.xz
ARM: dts: aspeed: witherspoon: Enable XDMA engine
Add a reserved memory node for the VGA memory. 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>
Diffstat (limited to 'arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts')
-rw-r--r--arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts11
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts b/arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts
index a0f99e34ac8e..85d58a63ae90 100644
--- a/arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts
+++ b/arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts
@@ -27,6 +27,12 @@
reg = <0x98000000 0x04000000>; /* 64M */
};
+ vga_memory: region@9f000000 {
+ no-map;
+ compatible = "shared-dma-pool";
+ reg = <0x9f000000 0x01000000>; /* 16M */
+ };
+
gfx_memory: framebuffer {
size = <0x01000000>;
alignment = <0x01000000>;
@@ -690,4 +696,9 @@
memory-region = <&video_engine_memory>;
};
+&xdma {
+ status = "okay";
+ memory-region = <&vga_memory>;
+};
+
#include "ibm-power9-dual.dtsi"